lance_encoding::statistics

Trait GetStat

Source
pub trait GetStat: Debug {
    // Required method
    fn get_stat(&self, stat: Stat) -> Option<Arc<dyn Array>>;

    // Provided methods
    fn expect_stat(&self, stat: Stat) -> Arc<dyn Array> { ... }
    fn expect_single_stat<T: ArrowPrimitiveType>(&self, stat: Stat) -> T::Native { ... }
}

Required Methods§

Source

fn get_stat(&self, stat: Stat) -> Option<Arc<dyn Array>>

Provided Methods§

Source

fn expect_stat(&self, stat: Stat) -> Arc<dyn Array>

Source

fn expect_single_stat<T: ArrowPrimitiveType>(&self, stat: Stat) -> T::Native

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§