Class FixedLenBytesColumnReader<VECTOR extends org.apache.flink.table.data.columnar.vector.writable.WritableColumnVector>
java.lang.Object
org.apache.flink.formats.parquet.vector.reader.AbstractColumnReader<VECTOR>
org.apache.flink.formats.parquet.vector.reader.FixedLenBytesColumnReader<VECTOR>
- All Implemented Interfaces:
ColumnReader<VECTOR>
public class FixedLenBytesColumnReader<VECTOR extends org.apache.flink.table.data.columnar.vector.writable.WritableColumnVector>
extends AbstractColumnReader<VECTOR>
Fixed length bytes
ColumnReader, just for decimal.-
Field Summary
Fields inherited from class org.apache.flink.formats.parquet.vector.reader.AbstractColumnReader
descriptor, dictionary, maxDefLevel, runLenDecoder -
Constructor Summary
ConstructorsConstructorDescriptionFixedLenBytesColumnReader(org.apache.parquet.column.ColumnDescriptor descriptor, org.apache.parquet.column.page.PageReader pageReader, int precision) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidRead batch fromAbstractColumnReader.runLenDecoderandAbstractColumnReader.dataInputStream.protected voidreadBatchFromDictionaryIds(int rowId, int num, VECTOR column, org.apache.flink.table.data.columnar.vector.writable.WritableIntVector dictionaryIds) Decode dictionary ids to data.Methods inherited from class org.apache.flink.formats.parquet.vector.reader.AbstractColumnReader
afterReadPage, checkTypeName, readToVector, supportLazyDecode
-
Constructor Details
-
FixedLenBytesColumnReader
public FixedLenBytesColumnReader(org.apache.parquet.column.ColumnDescriptor descriptor, org.apache.parquet.column.page.PageReader pageReader, int precision) throws IOException - Throws:
IOException
-
-
Method Details
-
readBatch
Description copied from class:AbstractColumnReaderRead batch fromAbstractColumnReader.runLenDecoderandAbstractColumnReader.dataInputStream.- Specified by:
readBatchin classAbstractColumnReader<VECTOR extends org.apache.flink.table.data.columnar.vector.writable.WritableColumnVector>
-
readBatchFromDictionaryIds
protected void readBatchFromDictionaryIds(int rowId, int num, VECTOR column, org.apache.flink.table.data.columnar.vector.writable.WritableIntVector dictionaryIds) Description copied from class:AbstractColumnReaderDecode dictionary ids to data. FromAbstractColumnReader.runLenDecoderandAbstractColumnReader.dictionaryIdsDecoder.- Specified by:
readBatchFromDictionaryIdsin classAbstractColumnReader<VECTOR extends org.apache.flink.table.data.columnar.vector.writable.WritableColumnVector>
-