pub enum JoinType {
Inner,
Left,
Right,
Full,
Cross,
LeftSemi,
LeftAnti,
}Expand description
Join algorithm / semantic type.
Variants§
Inner
INNER JOIN — only matching rows.
Left
LEFT [OUTER] JOIN — all rows from the left side.
Right
RIGHT [OUTER] JOIN — all rows from the right side.
Full
FULL [OUTER] JOIN — all rows from both sides.
Cross
CROSS JOIN — cartesian product.
LeftSemi
Semi-join: return each left row that has at least one matching right row.
Used internally by the decorrelation pass (e.g. EXISTS rewrites).
LeftAnti
Anti-join: return each left row that has no matching right row.
Used internally by the decorrelation pass (e.g. NOT EXISTS rewrites).
Trait Implementations§
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 UnsafeUnpin 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§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.