pub enum JoinType {
Inner,
Left,
Right,
Full,
LeftSemi,
RightSemi,
LeftAnti,
RightAnti,
LeftMark,
}
Expand description
Join type
Variants§
Inner
Inner Join
Left
Left Join
Right
Right Join
Full
Full Join
LeftSemi
Left Semi Join
RightSemi
Right Semi Join
LeftAnti
Left Anti Join
RightAnti
Right Anti Join
LeftMark
Left Mark join
Returns one record for each record from the left input. The output contains an additional column “mark” which is true if there is at least one match in the right input where the join condition evaluates to true. Otherwise, the mark column is false. For more details see 1. This join type is used to decorrelate EXISTS subqueries used inside disjunctive predicates.
Note: This we currently do not implement the full null semantics for the mark join described in 1 which will be needed if we and ANY subqueries. In our version the mark column will only be true for had a match and false when no match was found, never null.
Implementations§
Trait Implementations§
Source§impl PartialOrd for JoinType
impl PartialOrd for JoinType
impl Copy for JoinType
impl Eq for JoinType
impl StructuralPartialEq for JoinType
Auto Trait Implementations§
impl Freeze for JoinType
impl RefUnwindSafe for JoinType
impl Send for JoinType
impl Sync for JoinType
impl Unpin for JoinType
impl UnwindSafe for JoinType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.