public class NestedPrimitiveColumnReader extends Object implements ColumnReader<WritableColumnVector>
Modifier and Type | Class and Description |
---|---|
protected static class |
NestedPrimitiveColumnReader.NullIntIterator
Reading zero always.
|
protected static class |
NestedPrimitiveColumnReader.RLEIntIterator
Reading int from
RunLengthBitPackingHybridDecoder . |
protected static class |
NestedPrimitiveColumnReader.ValuesReaderIntIterator
Reading int from
ValuesReader . |
Modifier and Type | Field and Description |
---|---|
protected ParquetReadState |
readState
Helper struct to track intermediate states while reading Parquet pages in the column chunk.
|
Constructor and Description |
---|
NestedPrimitiveColumnReader(org.apache.parquet.column.ColumnDescriptor descriptor,
org.apache.parquet.column.page.PageReadStore pageReadStore,
boolean isUtcTimestamp,
org.apache.parquet.schema.Type parquetType,
DataType dataType) |
Modifier and Type | Method and Description |
---|---|
LevelDelegation |
getLevelDelegation() |
WritableColumnVector |
readAndNewVector(int readNumber,
WritableColumnVector vector) |
protected int |
readPage() |
void |
readToVector(int readNumber,
WritableColumnVector vector) |
protected final ParquetReadState readState
public NestedPrimitiveColumnReader(org.apache.parquet.column.ColumnDescriptor descriptor, org.apache.parquet.column.page.PageReadStore pageReadStore, boolean isUtcTimestamp, org.apache.parquet.schema.Type parquetType, DataType dataType) throws IOException
IOException
public void readToVector(int readNumber, WritableColumnVector vector) throws IOException
readToVector
in interface ColumnReader<WritableColumnVector>
readNumber
- number to read.vector
- vector to write.IOException
public WritableColumnVector readAndNewVector(int readNumber, WritableColumnVector vector) throws IOException
IOException
public LevelDelegation getLevelDelegation()
protected int readPage()
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.