public class VectorizedDeltaBinaryPackedReader extends VectorizedReaderBase
DELTA_BINARY_PACKED is the default encoding for integer and long columns in Parquet V2.
Supported Types: INT32, INT64
VectorizedValuesReader.ByteBufferOutputWriter, VectorizedValuesReader.IntegerOutputWriter
Constructor and Description |
---|
VectorizedDeltaBinaryPackedReader() |
Modifier and Type | Method and Description |
---|---|
void |
initFromPage(int valueCount,
org.apache.parquet.bytes.ByteBufferInputStream in) |
byte |
readByte() |
void |
readBytes(int total,
WritableByteVector c,
int rowId) |
int |
readInteger() |
void |
readIntegers(int total,
WritableIntVector c,
int rowId) |
long |
readLong() |
void |
readLongs(int total,
WritableLongVector c,
int rowId) |
short |
readShort() |
void |
readShorts(int total,
WritableShortVector c,
int rowId) |
void |
skipBytes(int total) |
void |
skipIntegers(int total) |
void |
skipLongs(int total) |
void |
skipShorts(int total) |
readBinary, readBinary, readBooleans, readDoubles, readFloats, skip, skipBinary, skipBooleans, skipDoubles, skipFixedLenByteArray, skipFloats
getNextOffset, initFromPage, initFromPage, readBoolean, readBytes, readDouble, readFloat, readValueDictionaryId, skip, updateNextOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
readBoolean, readDouble, readFloat
public void initFromPage(int valueCount, org.apache.parquet.bytes.ByteBufferInputStream in) throws IOException
initFromPage
in class org.apache.parquet.column.values.ValuesReader
IOException
public byte readByte()
readByte
in interface VectorizedValuesReader
readByte
in class VectorizedReaderBase
public short readShort()
readShort
in interface VectorizedValuesReader
readShort
in class VectorizedReaderBase
public int readInteger()
readInteger
in interface VectorizedValuesReader
readInteger
in class org.apache.parquet.column.values.ValuesReader
public long readLong()
readLong
in interface VectorizedValuesReader
readLong
in class org.apache.parquet.column.values.ValuesReader
public void readBytes(int total, WritableByteVector c, int rowId)
readBytes
in interface VectorizedValuesReader
readBytes
in class VectorizedReaderBase
public void readShorts(int total, WritableShortVector c, int rowId)
readShorts
in interface VectorizedValuesReader
readShorts
in class VectorizedReaderBase
public void readIntegers(int total, WritableIntVector c, int rowId)
readIntegers
in interface VectorizedValuesReader
readIntegers
in class VectorizedReaderBase
public void readLongs(int total, WritableLongVector c, int rowId)
readLongs
in interface VectorizedValuesReader
readLongs
in class VectorizedReaderBase
public void skipBytes(int total)
skipBytes
in interface VectorizedValuesReader
skipBytes
in class VectorizedReaderBase
public void skipShorts(int total)
skipShorts
in interface VectorizedValuesReader
skipShorts
in class VectorizedReaderBase
public void skipIntegers(int total)
skipIntegers
in interface VectorizedValuesReader
skipIntegers
in class VectorizedReaderBase
public void skipLongs(int total)
skipLongs
in interface VectorizedValuesReader
skipLongs
in class VectorizedReaderBase
Copyright © 2023–2025 The Apache Software Foundation. All rights reserved.