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
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for DefLevelsDecoder<'a>
impl<'a> RefUnwindSafe for DefLevelsDecoder<'a>
impl<'a> Send for DefLevelsDecoder<'a>
impl<'a> Sync for DefLevelsDecoder<'a>
impl<'a> Unpin for DefLevelsDecoder<'a>
impl<'a> UnwindSafe for DefLevelsDecoder<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more