pub trait DictEncoder: Send { // Required methods fn encode(&mut self, array: &dyn Array) -> ArrayRef; fn reset(&mut self) -> ArrayRef; }
Assign dictionary codes to the given input array.
Clear the encoder state to make it ready for a new round of decoding.