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