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 |
isValid() |
boolean |
readBoolean() |
boolean |
readBoolean(int id) |
byte[] |
readBytes() |
byte[] |
readBytes(int id) |
byte[] |
readChar() |
byte[] |
readChar(int id) |
byte[] |
readDecimal() |
byte[] |
readDecimal(int id) |
double |
readDouble() |
double |
readDouble(int id) |
float |
readFloat() |
float |
readFloat(int id) |
long |
readInteger() |
long |
readInteger(int id) |
long |
readLong() |
long |
readLong(int id) |
long |
readSmallInt() |
long |
readSmallInt(int id) |
byte[] |
readString() |
byte[] |
readString(int id) |
Timestamp |
readTimestamp() |
Timestamp |
readTimestamp(int id) |
long |
readTinyInt() |
long |
readTinyInt(int id) |
int |
readValueDictionaryId() |
byte[] |
readVarchar() |
byte[] |
readVarchar(int id) |
void initFromPage(int valueCount, org.apache.parquet.bytes.ByteBufferInputStream in) throws IOException
valueCount
- value countin
- page dataIOException
int readValueDictionaryId()
long readLong()
long readInteger()
long readSmallInt()
long readTinyInt()
float readFloat()
boolean readBoolean()
byte[] readString()
byte[] readVarchar()
byte[] readChar()
byte[] readBytes()
byte[] readDecimal()
double readDouble()
Timestamp readTimestamp()
boolean isValid()
org.apache.parquet.column.Dictionary getDictionary()
byte[] readBytes(int id)
id
- in dictionaryfloat readFloat(int id)
id
- in dictionarydouble readDouble(int id)
id
- in dictionarylong readInteger(int id)
id
- in dictionarylong readLong(int id)
id
- in dictionarylong readSmallInt(int id)
id
- in dictionarylong readTinyInt(int id)
id
- in dictionaryboolean readBoolean(int id)
id
- in dictionarybyte[] readDecimal(int id)
id
- in dictionaryTimestamp readTimestamp(int id)
id
- in dictionarybyte[] readString(int id)
id
- in dictionarybyte[] readVarchar(int id)
id
- in dictionarybyte[] readChar(int id)
id
- in dictionaryCopyright © 2022 The Apache Software Foundation. All rights reserved.