lance_encoding::decoder

Trait DecompressorStrategy

Source
pub trait DecompressorStrategy:
    Debug
    + Send
    + Sync {
    // Required methods
    fn create_miniblock_decompressor(
        &self,
        description: &ArrayEncoding,
    ) -> Result<Box<dyn MiniBlockDecompressor>>;
    fn create_per_value_decompressor(
        &self,
        description: &ArrayEncoding,
    ) -> Result<Box<dyn PerValueDecompressor>>;
    fn create_block_decompressor(
        &self,
        description: &ArrayEncoding,
    ) -> Result<Box<dyn BlockDecompressor>>;
}

Required Methods§

Implementors§