pub struct HashJoin { /* private fields */ }Expand description
Hash Join executor.
Implements the classic hash join algorithm:
- Build phase: Create a hash table from the smaller relation
- Probe phase: Scan the larger relation and probe the hash table
Implementations§
Source§impl HashJoin
impl HashJoin
Sourcepub fn new(
left_key_index: usize,
right_key_index: usize,
is_outer_join: bool,
) -> Self
pub fn new( left_key_index: usize, right_key_index: usize, is_outer_join: bool, ) -> Self
Creates a new hash join executor.
Sourcepub fn inner(left_key_index: usize, right_key_index: usize) -> Self
pub fn inner(left_key_index: usize, right_key_index: usize) -> Self
Creates an inner hash join.
Sourcepub fn left_outer(left_key_index: usize, right_key_index: usize) -> Self
pub fn left_outer(left_key_index: usize, right_key_index: usize) -> Self
Creates a left outer hash join.
Auto Trait Implementations§
impl Freeze for HashJoin
impl RefUnwindSafe for HashJoin
impl Send for HashJoin
impl Sync for HashJoin
impl Unpin for HashJoin
impl UnwindSafe for HashJoin
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