[][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> !Send for DictDecoder<T>

impl<T> !Sync for DictDecoder<T>

Blanket Implementations

impl<T> From for T
[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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