pub struct SegmentStatistics {
pub num_rows: u64,
pub column_stats: Vec<ColumnStatistics>,
}Expand description
Statistics for an entire segment.
Fields§
§num_rows: u64Total number of rows in the segment.
column_stats: Vec<ColumnStatistics>Statistics for each column.
Implementations§
Source§impl SegmentStatistics
impl SegmentStatistics
Sourcepub fn add_column_stats(&mut self, stats: ColumnStatistics)
pub fn add_column_stats(&mut self, stats: ColumnStatistics)
Add column statistics to the segment.
Trait Implementations§
Source§impl Clone for SegmentStatistics
impl Clone for SegmentStatistics
Source§fn clone(&self) -> SegmentStatistics
fn clone(&self) -> SegmentStatistics
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 SegmentStatistics
impl Debug for SegmentStatistics
Source§impl<'de> Deserialize<'de> for SegmentStatistics
impl<'de> Deserialize<'de> for SegmentStatistics
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 SegmentStatistics
impl RefUnwindSafe for SegmentStatistics
impl Send for SegmentStatistics
impl Sync for SegmentStatistics
impl Unpin for SegmentStatistics
impl UnsafeUnpin for SegmentStatistics
impl UnwindSafe for SegmentStatistics
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