public class BaseVectorizedParquetValuesReader
extends org.apache.parquet.column.values.ValuesReader
Writes batches of values retrieved to Arrow vectors. If all pages of a column within the row group are not dictionary encoded, then dictionary ids are eagerly decoded into actual values before writing them to the Arrow vectors
Constructor and Description |
---|
BaseVectorizedParquetValuesReader(int maxDefLevel,
boolean setValidityVector) |
BaseVectorizedParquetValuesReader(int bitWidth,
int maxDefLevel,
boolean setValidityVector) |
Modifier and Type | Method and Description |
---|---|
void |
initFromPage(int valueCount,
org.apache.parquet.bytes.ByteBufferInputStream in) |
boolean |
readBoolean() |
int |
readInteger() |
int |
readValueDictionaryId() |
void |
skip() |
public BaseVectorizedParquetValuesReader(int maxDefLevel, boolean setValidityVector)
public BaseVectorizedParquetValuesReader(int bitWidth, int maxDefLevel, boolean setValidityVector)
public void initFromPage(int valueCount, org.apache.parquet.bytes.ByteBufferInputStream in) throws java.io.IOException
initFromPage
in class org.apache.parquet.column.values.ValuesReader
java.io.IOException
public boolean readBoolean()
readBoolean
in class org.apache.parquet.column.values.ValuesReader
public void skip()
skip
in class org.apache.parquet.column.values.ValuesReader
public int readValueDictionaryId()
readValueDictionaryId
in class org.apache.parquet.column.values.ValuesReader
public int readInteger()
readInteger
in class org.apache.parquet.column.values.ValuesReader