public interface ParquetDataColumnReader
Modifier and Type | Method and Description |
---|---|
org.apache.parquet.column.Dictionary |
getDictionary() |
void |
initFromPage(int valueCount,
org.apache.parquet.bytes.ByteBufferInputStream in)
Initialize the reader by page data.
|
boolean |
readBoolean() |
boolean |
readBoolean(int id) |
byte[] |
readBytes() |
byte[] |
readBytes(int id) |
double |
readDouble() |
double |
readDouble(int id) |
float |
readFloat() |
float |
readFloat(int id) |
int |
readInteger() |
int |
readInteger(int id) |
long |
readLong() |
long |
readLong(int id) |
Timestamp |
readMicrosTimestamp() |
Timestamp |
readMicrosTimestamp(int id) |
Timestamp |
readMillsTimestamp() |
Timestamp |
readMillsTimestamp(int id) |
Timestamp |
readNanosTimestamp() |
Timestamp |
readNanosTimestamp(int id) |
int |
readSmallInt() |
int |
readSmallInt(int id) |
int |
readTinyInt() |
int |
readTinyInt(int id) |
int |
readValueDictionaryId() |
void initFromPage(int valueCount, org.apache.parquet.bytes.ByteBufferInputStream in) throws IOException
valueCount
- value countin
- page dataIOException
- the io exceptionint readValueDictionaryId()
boolean readBoolean()
int readTinyInt()
int readSmallInt()
int readInteger()
long readLong()
float readFloat()
double readDouble()
byte[] readBytes()
Timestamp readMillsTimestamp()
Timestamp readMicrosTimestamp()
Timestamp readNanosTimestamp()
org.apache.parquet.column.Dictionary getDictionary()
boolean readBoolean(int id)
id
- in dictionaryint readTinyInt(int id)
id
- in dictionaryint readSmallInt(int id)
id
- in dictionaryint readInteger(int id)
id
- in dictionarylong readLong(int id)
id
- in dictionaryfloat readFloat(int id)
id
- in dictionarydouble readDouble(int id)
id
- in dictionarybyte[] readBytes(int id)
id
- in dictionaryTimestamp readMillsTimestamp(int id)
id
- in dictionaryTimestamp readMicrosTimestamp(int id)
id
- in dictionaryTimestamp readNanosTimestamp(int id)
id
- in dictionaryCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.