pub enum Source {
Sketch,
Quantile,
Sample,
Zone,
Dictionary,
Synopsis,
Propagation,
Observation,
Constant,
}Expand description
Where an estimate came from.
Printed by EXPLAIN, so these are the words a person reads when a plan went wrong.
Variants§
Sketch
A distinct-count sketch, outside the regime where it is exact.
Quantile
A quantile summary, read without its certificate.
Sample
The stored sample.
Zone
A minimum and a maximum, interpolated between.
Dictionary
A dictionary’s size standing in for a distinct count.
Synopsis
A frequency synopsis.
Propagation
A propagation rule over another operator’s statistics.
Observation
Something a previous execution measured, from the observation log.
Constant
A constant in the source. The weakest answer that is not Unknown, and the one worth
finding in an EXPLAIN because it means nobody had a number here at all.
Implementations§
Trait Implementations§
impl Copy for Source
impl Eq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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