Trait mz_persist_types::stats2::ColumnarStatsBuilder

source ·
pub trait ColumnarStatsBuilder<T>: Debug + DynStats {
    type ArrowColumn: Array + 'static;

    // Required method
    fn from_column(col: &Self::ArrowColumn) -> Self
       where Self: Sized;
}
Expand description

A type that can incrementally collect stats from a sequence of values.

Required Associated Types§

source

type ArrowColumn: Array + 'static

Type of arrow column these statistics can be derived from.

Required Methods§

source

fn from_column(col: &Self::ArrowColumn) -> Self
where Self: Sized,

Derive statistics from a column of data.

Implementors§