[][src]Struct parquet::decoding::DictDecoder

pub struct DictDecoder<T: DataType> { /* fields omitted */ }

Dictionary decoder. The dictionary encoding builds a dictionary of values encountered in a given column. The dictionary is be stored in a dictionary page per column chunk. See DictEncoder for more information.

Methods

impl<T: DataType> DictDecoder<T>[src]

pub fn new() -> Self[src]

Creates new dictionary decoder.

pub fn set_dict(&mut self, decoder: Box<dyn Decoder<T>>) -> Result<()>[src]

Decodes and sets values for dictionary using decoder decoder.

Trait Implementations

impl<T: DataType> Decoder<T> for DictDecoder<T>[src]

fn values_left(&self) -> usize[src]

Number of values left in this decoder stream

Auto Trait Implementations

impl<T> !RefUnwindSafe for DictDecoder<T>

impl<T> !Send for DictDecoder<T>

impl<T> !Sync for DictDecoder<T>

impl<T> Unpin for DictDecoder<T> where
    <T as DataType>::T: Unpin

impl<T> !UnwindSafe for DictDecoder<T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 

impl<T> From<T> for T[src]

impl<T> FromCast<T> for T

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err