Enum parquet2::deserialize::DefLevelsDecoder
source · pub enum DefLevelsDecoder<'a> {
Bitmap(HybridDecoderBitmapIter<'a>),
Levels(HybridRleDecoder<'a>, u32),
}
Expand description
Decoder of definition levels.
Variants§
Bitmap(HybridDecoderBitmapIter<'a>)
When the maximum definition level is 1, the definition levels are RLE-encoded and
the bitpacked runs are bitmaps. This variant contains HybridDecoderBitmapIter
that decodes the runs, but not the individual values
Levels(HybridRleDecoder<'a>, u32)
When the maximum definition level is larger than 1