pub struct ColumnStats {
pub min_i64: Option<i64>,
pub max_i64: Option<i64>,
pub min_f64: Option<f64>,
pub max_f64: Option<f64>,
pub distinct_count: u64,
pub null_count: u64,
pub row_count: u64,
}Expand description
Column statistics for predicate pushdown
Fields§
§min_i64: Option<i64>Minimum value (for numeric columns)
max_i64: Option<i64>§min_f64: Option<f64>§max_f64: Option<f64>§distinct_count: u64Number of distinct values (approximate)
null_count: u64Number of null values
row_count: u64Total number of values
Implementations§
Source§impl ColumnStats
impl ColumnStats
Sourcepub fn update_i64(&mut self, value: i64)
pub fn update_i64(&mut self, value: i64)
Update stats with a new i64 value
Sourcepub fn update_f64(&mut self, value: f64)
pub fn update_f64(&mut self, value: f64)
Update stats with a new f64 value
Sourcepub fn update_null(&mut self)
pub fn update_null(&mut self)
Update null count
Trait Implementations§
Source§impl Clone for ColumnStats
impl Clone for ColumnStats
Source§fn clone(&self) -> ColumnStats
fn clone(&self) -> ColumnStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ColumnStats
impl Debug for ColumnStats
Source§impl Default for ColumnStats
impl Default for ColumnStats
Source§fn default() -> ColumnStats
fn default() -> ColumnStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ColumnStats
impl RefUnwindSafe for ColumnStats
impl Send for ColumnStats
impl Sync for ColumnStats
impl Unpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more