pub struct ColumnStatistics {
pub null_count: u64,
pub non_null_count: u64,
pub min: Option<ScalarValue>,
pub max: Option<ScalarValue>,
/* private fields */
}Fields§
§null_count: u64§non_null_count: u64§min: Option<ScalarValue>§max: Option<ScalarValue>Implementations§
Source§impl ColumnStatistics
impl ColumnStatistics
pub fn record_value(&mut self, value: &ScalarValue)
pub fn total_count(&self) -> u64
pub fn estimated_distinct_count(&self) -> Option<f64>
pub fn selectivity_for_op( &self, op: BinaryOp, literal: &ScalarValue, ) -> Option<f64>
Trait Implementations§
Source§impl Clone for ColumnStatistics
impl Clone for ColumnStatistics
Source§fn clone(&self) -> ColumnStatistics
fn clone(&self) -> ColumnStatistics
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ColumnStatistics
impl Debug for ColumnStatistics
Source§impl Default for ColumnStatistics
impl Default for ColumnStatistics
Source§fn default() -> ColumnStatistics
fn default() -> ColumnStatistics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ColumnStatistics
impl RefUnwindSafe for ColumnStatistics
impl Send for ColumnStatistics
impl Sync for ColumnStatistics
impl Unpin for ColumnStatistics
impl UnsafeUnpin for ColumnStatistics
impl UnwindSafe for ColumnStatistics
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