T
- type of the vector to updatepublic interface ParquetVectorUpdater<T extends WritableColumnVector>
Modifier and Type | Method and Description |
---|---|
default void |
decodeDictionaryIds(int total,
int offset,
T values,
WritableIntVector dictionaryIds,
org.apache.parquet.column.Dictionary dictionary)
Process a batch of `total` values starting from `offset` in `values`, whose null slots should
have already been filled, and fills the non-null slots using dictionary IDs from
`dictionaryIds`, together with Parquet `dictionary`.
|
void |
decodeSingleDictionaryId(int offset,
T values,
WritableIntVector dictionaryIds,
org.apache.parquet.column.Dictionary dictionary)
Decode a single dictionary ID from `dictionaryIds` into `values` at `offset`, using
`dictionary`.
|
void |
readValue(int offset,
T values,
VectorizedValuesReader valuesReader)
Read a single value from `valuesReader` into `values`, at `offset`.
|
void |
readValues(int total,
int offset,
T values,
VectorizedValuesReader valuesReader)
Read a batch of `total` values from `valuesReader` into `values`, starting from `offset`.
|
void |
skipValues(int total,
VectorizedValuesReader valuesReader)
Skip a batch of `total` values from `valuesReader`.
|
void readValues(int total, int offset, T values, VectorizedValuesReader valuesReader)
total
- total number of values to readoffset
- starting offset in `values`values
- destination values vectorvaluesReader
- reader to read values fromvoid skipValues(int total, VectorizedValuesReader valuesReader)
total
- total number of values to skipvaluesReader
- reader to skip values fromvoid readValue(int offset, T values, VectorizedValuesReader valuesReader)
offset
- offset in `values` to put the new valuevalues
- destination value vectorvaluesReader
- reader to read values fromdefault void decodeDictionaryIds(int total, int offset, T values, WritableIntVector dictionaryIds, org.apache.parquet.column.Dictionary dictionary)
total
- total number slots to process in `values`offset
- starting offset in `values`values
- destination value vectordictionaryIds
- vector storing the dictionary IDsdictionary
- Parquet dictionary used to decode a dictionary ID to its valuevoid decodeSingleDictionaryId(int offset, T values, WritableIntVector dictionaryIds, org.apache.parquet.column.Dictionary dictionary)
offset
- offset in `values` to put the decoded valuevalues
- destination value vectordictionaryIds
- vector storing the dictionary IDsdictionary
- Parquet dictionary used to decode a dictionary ID to its valueCopyright © 2023–2025 The Apache Software Foundation. All rights reserved.