Enum sql_ops::join::HashingScheme
source · [−]pub enum HashingScheme {
Perfect,
LinearProbing,
BucketChaining,
}
Expand description
Specifies the hashing scheme using in hash table insert and probe operations.
Variants
Perfect
Perfect hashing scheme.
Perfect hashing assumes that build-side join keys are unique and in a contiguous range, i.e., k \in [0,N-1]. Probe-side keys are allowed to be non-unique and outside of the range.
LinearProbing
Linear probing scheme.
Linear probing makes no assumptions about the join key distribution.
BucketChaining
Bucket chaining scheme.
Bucket chaining makes no assumptions about the join key distribution.
Optimizations
- vectorized loads
- static hash table entry assignment per thread
- key compression (not implemented)
- materialization using coalesced writes (not implemented)
Trait Implementations
sourceimpl Clone for HashingScheme
impl Clone for HashingScheme
sourcefn clone(&self) -> HashingScheme
fn clone(&self) -> HashingScheme
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for HashingScheme
impl Debug for HashingScheme
sourceimpl Default for HashingScheme
impl Default for HashingScheme
impl Copy for HashingScheme
Auto Trait Implementations
impl RefUnwindSafe for HashingScheme
impl Send for HashingScheme
impl Sync for HashingScheme
impl Unpin for HashingScheme
impl UnwindSafe for HashingScheme
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more