Enum parquet2::deserialize::NativePageState
source · pub enum NativePageState<'a, T, P>where
T: NativeType,{
Optional(DefLevelsDecoder<'a>, Casted<'a, T>),
Required(Casted<'a, T>),
RequiredDictionary(Dictionary<'a, P>),
OptionalDictionary(DefLevelsDecoder<'a>, Dictionary<'a, P>),
}
Expand description
The deserialization state of a DataPage
of Primitive
parquet primitive type
Variants§
Optional(DefLevelsDecoder<'a>, Casted<'a, T>)
A page of optional values
Required(Casted<'a, T>)
A page of required values
RequiredDictionary(Dictionary<'a, P>)
A page of required, dictionary-encoded values
OptionalDictionary(DefLevelsDecoder<'a>, Dictionary<'a, P>)
A page of optional, dictionary-encoded values
Implementations§
source§impl<'a, T: NativeType, P> NativePageState<'a, T, P>
impl<'a, T: NativeType, P> NativePageState<'a, T, P>
Trait Implementations§
Auto Trait Implementations§
impl<'a, T, P> Freeze for NativePageState<'a, T, P>where
P: Freeze,
impl<'a, T, P> RefUnwindSafe for NativePageState<'a, T, P>where
P: RefUnwindSafe,
impl<'a, T, P> Send for NativePageState<'a, T, P>where
P: Send,
impl<'a, T, P> Sync for NativePageState<'a, T, P>where
P: Sync,
impl<'a, T, P> Unpin for NativePageState<'a, T, P>where
P: Unpin,
impl<'a, T, P> UnwindSafe for NativePageState<'a, T, P>where
P: UnwindSafe,
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