pub struct ColumnStatistics {
pub min: Option<ScalarValue>,
pub max: Option<ScalarValue>,
pub null_count: u64,
pub distinct_count: Option<u64>,
}Expand description
Statistics for a single column.
Fields§
§min: Option<ScalarValue>Minimum value in the column (None if all values are null).
max: Option<ScalarValue>Maximum value in the column (None if all values are null).
null_count: u64Number of null values.
distinct_count: Option<u64>Estimated number of distinct values (None if not computed).
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
Source§impl<'de> Deserialize<'de> for ColumnStatistics
impl<'de> Deserialize<'de> for ColumnStatistics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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