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(double value) |
boolean |
isValid(float value) |
boolean |
isValid(long value) |
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) |
byte[] |
readString() |
byte[] |
readString(int id) |
Timestamp |
readTimestamp() |
Timestamp |
readTimestamp(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 dataIOExceptionint readValueDictionaryId()
long readLong()
long readInteger()
float readFloat()
boolean readBoolean()
byte[] readString()
byte[] readVarchar()
byte[] readChar()
byte[] readBytes()
byte[] readDecimal()
double readDouble()
Timestamp readTimestamp()
boolean isValid(long value)
value - data to be checked for validityboolean isValid(float value)
boolean isValid(double value)
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 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 © 2019 The Apache Software Foundation. All Rights Reserved.