pub struct RuntimeJoinDecision {
pub algorithm: RuntimeJoinAlgorithm,
pub swap_sides: bool,
pub explanation: String,
}Expand description
Runtime join decision produced by the planner and consumed by physical JOIN.
Fields§
§algorithm: RuntimeJoinAlgorithmSelected join algorithm.
swap_sides: boolWhether physical execution should swap the two inputs.
explanation: StringHuman-readable decision evidence.
Implementations§
Source§impl RuntimeJoinDecision
impl RuntimeJoinDecision
Sourcepub fn use_hash_join(&self) -> bool
pub fn use_hash_join(&self) -> bool
Check if hash join was selected.
Sourcepub fn use_merge_join(&self) -> bool
pub fn use_merge_join(&self) -> bool
Check if merge join was selected.
Sourcepub fn use_nested_loop(&self) -> bool
pub fn use_nested_loop(&self) -> bool
Check if nested loop was selected.
Trait Implementations§
Source§impl Clone for RuntimeJoinDecision
impl Clone for RuntimeJoinDecision
Source§fn clone(&self) -> RuntimeJoinDecision
fn clone(&self) -> RuntimeJoinDecision
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 moreAuto Trait Implementations§
impl Freeze for RuntimeJoinDecision
impl RefUnwindSafe for RuntimeJoinDecision
impl Send for RuntimeJoinDecision
impl Sync for RuntimeJoinDecision
impl Unpin for RuntimeJoinDecision
impl UnsafeUnpin for RuntimeJoinDecision
impl UnwindSafe for RuntimeJoinDecision
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