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 . |
Constructor and Description |
---|
NestedPrimitiveColumnReader(org.apache.parquet.column.ColumnDescriptor descriptor,
org.apache.parquet.column.page.PageReader pageReader,
boolean isUtcTimestamp,
org.apache.parquet.schema.Type parquetType,
DataType dataType,
boolean readRowField,
boolean readMapKey) |
Modifier and Type | Method and Description |
---|---|
LevelDelegation |
getLevelDelegation() |
WritableColumnVector |
readAndNewVector(int readNumber,
WritableColumnVector vector) |
protected void |
readPage() |
void |
readToVector(int readNumber,
WritableColumnVector vector) |
public NestedPrimitiveColumnReader(org.apache.parquet.column.ColumnDescriptor descriptor, org.apache.parquet.column.page.PageReader pageReader, boolean isUtcTimestamp, org.apache.parquet.schema.Type parquetType, DataType dataType, boolean readRowField, boolean readMapKey) 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 void readPage()
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.