Struct datafusion_common::stats::ColumnStatistics
source · pub struct ColumnStatistics {
pub null_count: Option<usize>,
pub max_value: Option<ScalarValue>,
pub min_value: Option<ScalarValue>,
pub distinct_count: Option<usize>,
}
Expand description
Statistics for a column within a relation
Fields§
§null_count: Option<usize>
Number of null values on column
max_value: Option<ScalarValue>
Maximum value of column
min_value: Option<ScalarValue>
Minimum value of column
distinct_count: Option<usize>
Number of distinct values
Trait Implementations§
source§impl Clone for ColumnStatistics
impl Clone for ColumnStatistics
source§fn clone(&self) -> ColumnStatistics
fn clone(&self) -> ColumnStatistics
Returns a copy 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 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
source§impl PartialEq<ColumnStatistics> for ColumnStatistics
impl PartialEq<ColumnStatistics> for ColumnStatistics
source§fn eq(&self, other: &ColumnStatistics) -> bool
fn eq(&self, other: &ColumnStatistics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ColumnStatistics
impl StructuralEq for ColumnStatistics
impl StructuralPartialEq for ColumnStatistics
Auto Trait Implementations§
impl RefUnwindSafe for ColumnStatistics
impl Send for ColumnStatistics
impl Sync for ColumnStatistics
impl Unpin 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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.