Skip to main content

KeyEncoder

Trait KeyEncoder 

Source
pub trait KeyEncoder: Send + Sync {
    // Required method
    fn encode_key(&mut self, row: &dyn InternalRow) -> Result<Bytes>;
}
Expand description

An interface for encoding key of row into bytes.

Required Methods§

Source

fn encode_key(&mut self, row: &dyn InternalRow) -> Result<Bytes>

Implementors§