#[non_exhaustive]pub struct DecodedColumnStats { /* private fields */ }Expand description
Typed adapter view of the supported sketches for one column.
Implementations§
Source§impl DecodedColumnStats
impl DecodedColumnStats
pub const fn field_id(&self) -> i32
Sourcepub const fn column_stats(&self) -> &ColumnStats
pub const fn column_stats(&self) -> &ColumnStats
Canonical scalar statistics suitable for native planner adapters.
The HLL contributes distinct_count. A histogram remains available
through Self::histogram but does not imply a full table row count.
pub const fn hll(&self) -> Option<&HllSketch>
pub const fn histogram(&self) -> Option<&EquiDepthHistogram>
Trait Implementations§
Source§impl Clone for DecodedColumnStats
impl Clone for DecodedColumnStats
Source§fn clone(&self) -> DecodedColumnStats
fn clone(&self) -> DecodedColumnStats
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 moreAuto Trait Implementations§
impl Freeze for DecodedColumnStats
impl RefUnwindSafe for DecodedColumnStats
impl Send for DecodedColumnStats
impl Sync for DecodedColumnStats
impl Unpin for DecodedColumnStats
impl UnsafeUnpin for DecodedColumnStats
impl UnwindSafe for DecodedColumnStats
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