Re-exportsยง
use bytes::Bytes;๐use crate::basic::Encoding;๐use crate::basic::EncodingMask;๐use crate::basic::Type;๐use crate::data_type::DataType;๐use crate::encodings::decoding::Decoder;๐use crate::encodings::decoding::DictDecoder;๐use crate::encodings::decoding::PlainDecoder;๐use crate::encodings::decoding::get_decoder;๐use crate::encodings::rle::RleDecoder;๐use crate::errors::ParquetError;๐use crate::errors::Result;๐use crate::schema::types::ColumnDescPtr;๐use crate::util::bit_util::BitReader;๐use crate::util::bit_util::num_required_bits;๐
Structsยง
- Column
Value Decoder Impl - An implementation of
ColumnValueDecoderfor[T::T] - Definition
Level Decoder Impl - An implementation of
DefinitionLevelDecoderfor[i16] - Prepared
Fixed ๐LenByte Array Page - A value section ready for its ordinary decoder. When
validate_countis set, account for its physical values during normal level decoding. - Repetition
Level Decoder Impl - An implementation of
RepetitionLevelDecoderfor[i16]
Enumsยง
- Level
Decoder ๐
Constantsยง
- ENCODING_
SLOTS ๐ - Bucket-based storage for decoder instances keyed by
Encoding. - REPETITION_
LEVELS_ ๐BATCH_ SIZE
Traitsยง
- Column
Level Decoder - Decodes level data
- Column
Value Decoder - Decodes value data
- Definition
Level Decoder - Repetition
Level Decoder
Functionsยง
- count_
levels_ ๐eq - Returns the number of levels equal to
level. - fixed_
len_ ๐byte_ array_ payload_ size - normalize_
fixed_ ๐len_ byte_ array_ data - Prepare a complete FLBA data-page value section after extracting the levels. PLAIN requires exact size validation; other compliant encodings are unchanged.
- normalize_
fixed_ ๐len_ byte_ array_ payload - Validate a complete decompressed PLAIN FLBA value section, excluding levels.
num_valuesmust count physical non-null values, not rows or requested values. Canonical payloads are returned unchanged, even if values resemble prefixes. - prepare_
v1_ ๐fixed_ len_ byte_ array - Prepare V1 FLBA values without teaching the column reader historical layouts.
definition_levelscontains the maximum level, encoding and encoded levels; absent levels mean that the pageโs physical count is already known.