DictEncoder

Trait DictEncoder 

Source
pub trait DictEncoder: Send {
    // Required methods
    fn encode(&mut self, array: &dyn Array) -> ArrayRef;
    fn reset(&mut self) -> ArrayRef;
}

Required Methods§

Source

fn encode(&mut self, array: &dyn Array) -> ArrayRef

Assign dictionary codes to the given input array.

Source

fn reset(&mut self) -> ArrayRef

Clear the encoder state to make it ready for a new round of decoding.

Implementors§