Class VectorizedDeltaEncodedValuesReader
java.lang.Object
org.apache.parquet.column.values.ValuesReader
org.apache.iceberg.arrow.vectorized.parquet.VectorizedDeltaEncodedValuesReader
public class VectorizedDeltaEncodedValuesReader
extends org.apache.parquet.column.values.ValuesReader
A 
VectorizedValuesReader implementation for the encoding type DELTA_BINARY_PACKED. This
 is adapted from Spark's VectorizedDeltaBinaryPackedReader.- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidinitFromPage(int valueCount, org.apache.parquet.bytes.ByteBufferInputStream in) org.apache.parquet.io.api.BinaryreadBinary(int len) DELTA_BINARY_PACKED only supports INT32 and INT64booleanRead a single booleanbytereadByte()DELTA_BINARY_PACKED only supports INT32 and INT64doubleRead a single doublevoidreadDoubles(int total, org.apache.arrow.vector.FieldVector vec, int rowId) DELTA_BINARY_PACKED only supports INT32 and INT64floatRead a single floatvoidreadFloats(int total, org.apache.arrow.vector.FieldVector vec, int rowId) DELTA_BINARY_PACKED only supports INT32 and INT64intvoidreadIntegers(int total, org.apache.arrow.vector.FieldVector vec, int rowId) longreadLong()voidreadLongs(int total, org.apache.arrow.vector.FieldVector vec, int rowId) shortDELTA_BINARY_PACKED only supports INT32 and INT64voidskip()The Iceberg reader currently does not do skippingMethods inherited from class org.apache.parquet.column.values.ValuesReadergetNextOffset, initFromPage, initFromPage, readBoolean, readBytes, readDouble, readFloat, readValueDictionaryId, skip, updateNextOffset
- 
Field Details- 
INT_SIZEstatic final int INT_SIZE- See Also:
 
- 
LONG_SIZEstatic final int LONG_SIZE- See Also:
 
- 
FLOAT_SIZEstatic final int FLOAT_SIZE- See Also:
 
- 
DOUBLE_SIZEstatic final int DOUBLE_SIZE- See Also:
 
 
- 
- 
Constructor Details- 
VectorizedDeltaEncodedValuesReaderpublic VectorizedDeltaEncodedValuesReader()
 
- 
- 
Method Details- 
initFromPagepublic void initFromPage(int valueCount, org.apache.parquet.bytes.ByteBufferInputStream in) throws IOException - Overrides:
- initFromPagein class- org.apache.parquet.column.values.ValuesReader
- Throws:
- IOException
 
- 
readBytepublic byte readByte()DELTA_BINARY_PACKED only supports INT32 and INT64
- 
readShortpublic short readShort()DELTA_BINARY_PACKED only supports INT32 and INT64
- 
readIntegerpublic int readInteger()- Overrides:
- readIntegerin class- org.apache.parquet.column.values.ValuesReader
 
- 
readLongpublic long readLong()- Overrides:
- readLongin class- org.apache.parquet.column.values.ValuesReader
 
- 
skippublic void skip()The Iceberg reader currently does not do skipping- Specified by:
- skipin class- org.apache.parquet.column.values.ValuesReader
 
- 
readBinarypublic org.apache.parquet.io.api.Binary readBinary(int len) DELTA_BINARY_PACKED only supports INT32 and INT64
- 
readIntegerspublic void readIntegers(int total, org.apache.arrow.vector.FieldVector vec, int rowId) 
- 
readLongspublic void readLongs(int total, org.apache.arrow.vector.FieldVector vec, int rowId) 
- 
readFloatspublic void readFloats(int total, org.apache.arrow.vector.FieldVector vec, int rowId) DELTA_BINARY_PACKED only supports INT32 and INT64
- 
readDoublespublic void readDoubles(int total, org.apache.arrow.vector.FieldVector vec, int rowId) DELTA_BINARY_PACKED only supports INT32 and INT64
- 
readBooleanboolean readBoolean()Read a single boolean
- 
readFloatfloat readFloat()Read a single float
- 
readDoubledouble readDouble()Read a single double
 
-