public class FixedLenBytesColumnReader<VECTOR extends WritableColumnVector> extends AbstractColumnReader<VECTOR>
ColumnReader
, just for decimal.descriptor, dictionary, maxDefLevel, runLenDecoder
Constructor and Description |
---|
FixedLenBytesColumnReader(org.apache.parquet.column.ColumnDescriptor descriptor,
org.apache.parquet.column.page.PageReader pageReader,
int precision) |
Modifier and Type | Method and Description |
---|---|
protected void |
readBatch(int rowId,
int num,
VECTOR column)
Read batch from
AbstractColumnReader.runLenDecoder and AbstractColumnReader.dataInputStream . |
protected void |
readBatchFromDictionaryIds(int rowId,
int num,
VECTOR column,
WritableIntVector dictionaryIds)
Decode dictionary ids to data.
|
afterReadPage, checkTypeName, readToVector, supportLazyDecode
public FixedLenBytesColumnReader(org.apache.parquet.column.ColumnDescriptor descriptor, org.apache.parquet.column.page.PageReader pageReader, int precision) throws IOException
IOException
protected void readBatch(int rowId, int num, VECTOR column)
AbstractColumnReader
AbstractColumnReader.runLenDecoder
and AbstractColumnReader.dataInputStream
.readBatch
in class AbstractColumnReader<VECTOR extends WritableColumnVector>
protected void readBatchFromDictionaryIds(int rowId, int num, VECTOR column, WritableIntVector dictionaryIds)
AbstractColumnReader
AbstractColumnReader.runLenDecoder
and AbstractColumnReader.dictionaryIdsDecoder
.readBatchFromDictionaryIds
in class AbstractColumnReader<VECTOR extends WritableColumnVector>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.