pub struct HistogramBucket {
pub lower_bound: f64,
pub upper_bound: f64,
pub frequency: u64,
pub distinct_count: u64,
}Expand description
A bucket in an equi-depth histogram.
Each bucket represents a range of values and the frequency of rows falling within that range. In an equi-depth histogram, all buckets contain approximately the same number of rows.
Fields§
§lower_bound: f64Lower bound of the bucket (inclusive).
upper_bound: f64Upper bound of the bucket (exclusive, except for the last bucket).
frequency: u64Number of rows in this bucket.
distinct_count: u64Number of distinct values in this bucket.
Implementations§
Trait Implementations§
Source§impl Clone for HistogramBucket
impl Clone for HistogramBucket
Source§fn clone(&self) -> HistogramBucket
fn clone(&self) -> HistogramBucket
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for HistogramBucket
impl RefUnwindSafe for HistogramBucket
impl Send for HistogramBucket
impl Sync for HistogramBucket
impl Unpin for HistogramBucket
impl UnwindSafe for HistogramBucket
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