pub enum NdvFallback {
Max,
Sum,
}Expand description
Fallback to use when NDV overlap can not be estimated from column bounds.
Variants§
Max
Use the larger input NDV. This is the conservative default for related fragments such as files from the same table.
Sum
Sum the input NDVs. This is a conservative upper bound for
independent inputs such as UNION ALL.
Trait Implementations§
Source§impl Clone for NdvFallback
impl Clone for NdvFallback
Source§fn clone(&self) -> NdvFallback
fn clone(&self) -> NdvFallback
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 moreimpl Copy for NdvFallback
Source§impl Debug for NdvFallback
impl Debug for NdvFallback
Source§impl Default for NdvFallback
impl Default for NdvFallback
Source§fn default() -> NdvFallback
fn default() -> NdvFallback
Returns the “default value” for a type. Read more
impl Eq for NdvFallback
Source§impl PartialEq for NdvFallback
impl PartialEq for NdvFallback
Source§fn eq(&self, other: &NdvFallback) -> bool
fn eq(&self, other: &NdvFallback) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NdvFallback
Auto Trait Implementations§
impl Freeze for NdvFallback
impl RefUnwindSafe for NdvFallback
impl Send for NdvFallback
impl Sync for NdvFallback
impl Unpin for NdvFallback
impl UnsafeUnpin for NdvFallback
impl UnwindSafe for NdvFallback
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.