pub struct JoinPredicate {
pub left_column: ColumnRef,
pub right_column: ColumnRef,
pub eval_type: EvalType,
pub join_type: JoinType,
}Expand description
A join predicate compares columns from two tables.
Fields§
§left_column: ColumnRef§right_column: ColumnRef§eval_type: EvalType§join_type: JoinTypeImplementations§
Source§impl JoinPredicate
impl JoinPredicate
pub fn new( left_column: ColumnRef, right_column: ColumnRef, eval_type: EvalType, join_type: JoinType, ) -> Self
pub fn inner( left_column: ColumnRef, right_column: ColumnRef, eval_type: EvalType, ) -> Self
pub fn left_outer( left_column: ColumnRef, right_column: ColumnRef, eval_type: EvalType, ) -> Self
Sourcepub fn is_equi_join(&self) -> bool
pub fn is_equi_join(&self) -> bool
Checks if this is an equi-join (equality comparison).
Trait Implementations§
Source§impl Clone for JoinPredicate
impl Clone for JoinPredicate
Source§fn clone(&self) -> JoinPredicate
fn clone(&self) -> JoinPredicate
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JoinPredicate
impl Debug for JoinPredicate
Auto Trait Implementations§
impl Freeze for JoinPredicate
impl RefUnwindSafe for JoinPredicate
impl Send for JoinPredicate
impl Sync for JoinPredicate
impl Unpin for JoinPredicate
impl UnwindSafe for JoinPredicate
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