pub enum JoinAlgoHint {
HashJoin,
MergeJoin,
NestedLoop,
}Expand description
Physical join algorithm hint assigned by JoinAlgorithmPass.
The hint is stored in LogicalPlan::Join::algo_hint after the optimizer
pass runs. Downstream physical planners can inspect it to select the best
join implementation.
Variants§
HashJoin
Hash-join: build a hash table on one side and probe with the other. Suitable for equi-joins.
MergeJoin
Merge-join: requires both sides already sorted on the join key.
NestedLoop
Nested-loop join: the fallback for cross-joins and non-equi predicates.
Trait Implementations§
Source§impl Clone for JoinAlgoHint
impl Clone for JoinAlgoHint
Source§impl Debug for JoinAlgoHint
impl Debug for JoinAlgoHint
Source§impl PartialEq for JoinAlgoHint
impl PartialEq for JoinAlgoHint
impl StructuralPartialEq for JoinAlgoHint
Auto Trait Implementations§
impl Freeze for JoinAlgoHint
impl RefUnwindSafe for JoinAlgoHint
impl Send for JoinAlgoHint
impl Sync for JoinAlgoHint
impl Unpin for JoinAlgoHint
impl UnsafeUnpin for JoinAlgoHint
impl UnwindSafe for JoinAlgoHint
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