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§
sourcetype ArrowColumn: Array + 'static
type ArrowColumn: Array + 'static
Type of arrow
column these statistics can be derived from.
Required Methods§
sourcefn from_column(col: &Self::ArrowColumn) -> Selfwhere
Self: Sized,
fn from_column(col: &Self::ArrowColumn) -> Selfwhere
Self: Sized,
Derive statistics from a column of data.