pub enum NativePageState<'a, T> where
    T: NativeType
{ Optional(DefLevelsDecoder<'a>, Casted<'a, T>), Required(Casted<'a, T>), RequiredDictionary(Dictionary<'a, T>), OptionalDictionary(DefLevelsDecoder<'a>, Dictionary<'a, T>), }
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, T>)

A page of required, dictionary-encoded values

OptionalDictionary(DefLevelsDecoder<'a>, Dictionary<'a, T>)

A page of optional, dictionary-encoded values

Implementations

Tries to create NativePageState

Error

Errors iff the page is not a NativePageState

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.