pub struct ColumnStats {
pub ndv: u64,
pub null_fraction: f64,
pub min: Option<f64>,
pub max: Option<f64>,
}Expand description
Per-column statistics for selectivity estimation.
Fields§
§ndv: u64Number of distinct values in the column.
null_fraction: f64Fraction of rows containing NULL in [0, 1].
min: Option<f64>Minimum observed value (numeric approximation).
max: Option<f64>Maximum observed value (numeric approximation).
Trait Implementations§
Source§impl Clone for ColumnStats
impl Clone for ColumnStats
Source§impl Debug for ColumnStats
impl Debug for ColumnStats
Auto Trait Implementations§
impl Freeze for ColumnStats
impl RefUnwindSafe for ColumnStats
impl Send for ColumnStats
impl Sync for ColumnStats
impl Unpin for ColumnStats
impl UnsafeUnpin for ColumnStats
impl UnwindSafe for ColumnStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more