public static class ParquetDataColumnReaderFactory.DefaultParquetDataColumnReader extends Object implements ParquetDataColumnReader
| 限定符和类型 | 字段和说明 |
|---|---|
protected org.apache.parquet.column.Dictionary |
dict |
protected org.apache.parquet.column.values.ValuesReader |
valuesReader |
| 构造器和说明 |
|---|
DefaultParquetDataColumnReader(org.apache.parquet.column.Dictionary dict) |
DefaultParquetDataColumnReader(org.apache.parquet.column.values.ValuesReader valuesReader) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.parquet.column.Dictionary |
getDictionary() |
void |
initFromPage(int i,
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) |
org.apache.paimon.data.Timestamp |
readMicrosTimestamp() |
org.apache.paimon.data.Timestamp |
readMillsTimestamp() |
int |
readSmallInt() |
int |
readSmallInt(int id) |
org.apache.paimon.data.Timestamp |
readTimestamp(int id) |
int |
readTinyInt() |
int |
readTinyInt(int id) |
int |
readValueDictionaryId() |
void |
skip() |
protected final org.apache.parquet.column.values.ValuesReader valuesReader
protected final 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 在接口中 ParquetDataColumnReaderi - value countin - page dataIOException - the io exceptionpublic boolean readBoolean()
readBoolean 在接口中 ParquetDataColumnReaderpublic boolean readBoolean(int id)
readBoolean 在接口中 ParquetDataColumnReaderid - in dictionarypublic byte[] readBytes()
readBytes 在接口中 ParquetDataColumnReaderpublic byte[] readBytes(int id)
readBytes 在接口中 ParquetDataColumnReaderid - in dictionarypublic float readFloat()
readFloat 在接口中 ParquetDataColumnReaderpublic float readFloat(int id)
readFloat 在接口中 ParquetDataColumnReaderid - in dictionarypublic double readDouble()
readDouble 在接口中 ParquetDataColumnReaderpublic double readDouble(int id)
readDouble 在接口中 ParquetDataColumnReaderid - in dictionarypublic org.apache.paimon.data.Timestamp readMillsTimestamp()
readMillsTimestamp 在接口中 ParquetDataColumnReaderpublic org.apache.paimon.data.Timestamp readMicrosTimestamp()
readMicrosTimestamp 在接口中 ParquetDataColumnReaderpublic org.apache.paimon.data.Timestamp readTimestamp(int id)
readTimestamp 在接口中 ParquetDataColumnReaderid - in dictionarypublic int readInteger()
readInteger 在接口中 ParquetDataColumnReaderpublic int readInteger(int id)
readInteger 在接口中 ParquetDataColumnReaderid - in dictionarypublic long readLong(int id)
readLong 在接口中 ParquetDataColumnReaderid - in dictionarypublic long readLong()
readLong 在接口中 ParquetDataColumnReaderpublic int readSmallInt()
readSmallInt 在接口中 ParquetDataColumnReaderpublic int readSmallInt(int id)
readSmallInt 在接口中 ParquetDataColumnReaderid - in dictionarypublic int readTinyInt()
readTinyInt 在接口中 ParquetDataColumnReaderpublic int readTinyInt(int id)
readTinyInt 在接口中 ParquetDataColumnReaderid - in dictionarypublic int readValueDictionaryId()
readValueDictionaryId 在接口中 ParquetDataColumnReaderpublic void skip()
public org.apache.parquet.column.Dictionary getDictionary()
getDictionary 在接口中 ParquetDataColumnReaderCopyright © 2023 The Apache Software Foundation. All rights reserved.