public static class ParquetDataColumnReaderFactory.DefaultParquetDataColumnReader extends Object implements ParquetDataColumnReader
ParquetDataColumnReader.| Modifier and Type | Field and Description |
|---|---|
protected org.apache.parquet.column.Dictionary |
dict |
protected org.apache.parquet.column.values.ValuesReader |
valuesReader |
| Constructor and Description |
|---|
DefaultParquetDataColumnReader(org.apache.parquet.column.Dictionary dict) |
DefaultParquetDataColumnReader(org.apache.parquet.column.values.ValuesReader valuesReader) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.parquet.column.Dictionary |
getDictionary() |
void |
initFromPage(int i,
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) |
int |
readInteger() |
int |
readInteger(int id) |
long |
readLong() |
long |
readLong(int id) |
int |
readSmallInt() |
int |
readSmallInt(int id) |
byte[] |
readString() |
byte[] |
readString(int id) |
org.apache.flink.table.data.TimestampData |
readTimestamp() |
org.apache.flink.table.data.TimestampData |
readTimestamp(int id) |
int |
readTinyInt() |
int |
readTinyInt(int id) |
int |
readValueDictionaryId() |
byte[] |
readVarchar() |
byte[] |
readVarchar(int id) |
void |
skip() |
protected org.apache.parquet.column.values.ValuesReader valuesReader
protected org.apache.parquet.column.Dictionary dict
public DefaultParquetDataColumnReader(org.apache.parquet.column.values.ValuesReader valuesReader)
public DefaultParquetDataColumnReader(org.apache.parquet.column.Dictionary dict)
public void initFromPage(int i,
org.apache.parquet.bytes.ByteBufferInputStream in)
throws IOException
ParquetDataColumnReaderinitFromPage in interface ParquetDataColumnReaderi - value countin - page dataIOExceptionpublic boolean readBoolean()
readBoolean in interface ParquetDataColumnReaderpublic boolean readBoolean(int id)
readBoolean in interface ParquetDataColumnReaderid - in dictionarypublic byte[] readString(int id)
readString in interface ParquetDataColumnReaderid - in dictionarypublic byte[] readString()
readString in interface ParquetDataColumnReaderpublic byte[] readVarchar()
readVarchar in interface ParquetDataColumnReaderpublic byte[] readVarchar(int id)
readVarchar in interface ParquetDataColumnReaderid - in dictionarypublic byte[] readChar()
readChar in interface ParquetDataColumnReaderpublic byte[] readChar(int id)
readChar in interface ParquetDataColumnReaderid - in dictionarypublic byte[] readBytes()
readBytes in interface ParquetDataColumnReaderpublic byte[] readBytes(int id)
readBytes in interface ParquetDataColumnReaderid - in dictionarypublic byte[] readDecimal()
readDecimal in interface ParquetDataColumnReaderpublic byte[] readDecimal(int id)
readDecimal in interface ParquetDataColumnReaderid - in dictionarypublic float readFloat()
readFloat in interface ParquetDataColumnReaderpublic float readFloat(int id)
readFloat in interface ParquetDataColumnReaderid - in dictionarypublic double readDouble()
readDouble in interface ParquetDataColumnReaderpublic double readDouble(int id)
readDouble in interface ParquetDataColumnReaderid - in dictionarypublic org.apache.flink.table.data.TimestampData readTimestamp()
readTimestamp in interface ParquetDataColumnReaderpublic org.apache.flink.table.data.TimestampData readTimestamp(int id)
readTimestamp in interface ParquetDataColumnReaderid - in dictionarypublic int readInteger()
readInteger in interface ParquetDataColumnReaderpublic int readInteger(int id)
readInteger in interface ParquetDataColumnReaderid - in dictionarypublic boolean isValid()
isValid in interface ParquetDataColumnReaderpublic long readLong(int id)
readLong in interface ParquetDataColumnReaderid - in dictionarypublic long readLong()
readLong in interface ParquetDataColumnReaderpublic int readSmallInt()
readSmallInt in interface ParquetDataColumnReaderpublic int readSmallInt(int id)
readSmallInt in interface ParquetDataColumnReaderid - in dictionarypublic int readTinyInt()
readTinyInt in interface ParquetDataColumnReaderpublic int readTinyInt(int id)
readTinyInt in interface ParquetDataColumnReaderid - in dictionarypublic int readValueDictionaryId()
readValueDictionaryId in interface ParquetDataColumnReaderpublic void skip()
public org.apache.parquet.column.Dictionary getDictionary()
getDictionary in interface ParquetDataColumnReaderCopyright © 2023 The Apache Software Foundation. All rights reserved.