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 bytesColumnReader, just for decimal.
-
-
Field Summary
-
Fields inherited from class org.apache.flink.formats.parquet.vector.reader.AbstractColumnReader
descriptor, dictionary, maxDefLevel, runLenDecoder
-
-
Constructor Summary
Constructors Constructor Description FixedLenBytesColumnReader(org.apache.parquet.column.ColumnDescriptor descriptor, org.apache.parquet.column.page.PageReader pageReader, int precision)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidreadBatch(int rowId, int num, VECTOR column)Read 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 Detail
-
FixedLenBytesColumnReader
public FixedLenBytesColumnReader(org.apache.parquet.column.ColumnDescriptor descriptor, org.apache.parquet.column.page.PageReader pageReader, int precision) throws IOException- Throws:
IOException
-
-
Method Detail
-
readBatch
protected void readBatch(int rowId, int num, VECTOR column)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>
-
-