pub struct HashJoinNode<'a> { /* private fields */ }
Implementations§
Source§impl<'a> HashJoinNode<'a>
impl<'a> HashJoinNode<'a>
pub fn new<T: Into<ExprNode<'a>>, U: Into<ExprNode<'a>>>( join_node: JoinNode<'a>, key_expr: T, value_expr: U, ) -> Self
pub fn hash_filter<T: Into<ExprNode<'a>>>(self, expr: T) -> Self
pub fn on<T: Into<ExprNode<'a>>>(self, expr: T) -> JoinConstraintNode<'a>
pub fn join(self, table_name: &str) -> JoinNode<'a>
pub fn join_as(self, table_name: &str, alias: &str) -> JoinNode<'a>
pub fn left_join(self, table_name: &str) -> JoinNode<'a>
pub fn left_join_as(self, table_name: &str, alias: &str) -> JoinNode<'a>
pub fn project<T: Into<SelectItemList<'a>>>( self, select_items: T, ) -> ProjectNode<'a>
pub fn group_by<T: Into<ExprList<'a>>>(self, expr_list: T) -> GroupByNode<'a>
pub fn offset<T: Into<ExprNode<'a>>>(self, expr: T) -> OffsetNode<'a>
pub fn limit<T: Into<ExprNode<'a>>>(self, expr: T) -> LimitNode<'a>
pub fn filter<T: Into<ExprNode<'a>>>(self, expr: T) -> FilterNode<'a>
pub fn order_by<T: Into<OrderByExprList<'a>>>( self, order_by_exprs: T, ) -> OrderByNode<'a>
pub fn prebuild_for_constraint(self) -> Result<JoinConstraintData>
pub fn alias_as(self, table_alias: &'a str) -> TableFactorNode<'a>
Trait Implementations§
Source§impl<'a> Clone for HashJoinNode<'a>
impl<'a> Clone for HashJoinNode<'a>
Source§fn clone(&self) -> HashJoinNode<'a>
fn clone(&self) -> HashJoinNode<'a>
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<'a> Debug for HashJoinNode<'a>
impl<'a> Debug for HashJoinNode<'a>
Source§impl<'a> From<HashJoinNode<'a>> for QueryNode<'a>
impl<'a> From<HashJoinNode<'a>> for QueryNode<'a>
Source§fn from(node: HashJoinNode<'a>) -> Self
fn from(node: HashJoinNode<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for HashJoinNode<'a>
impl<'a> RefUnwindSafe for HashJoinNode<'a>
impl<'a> Send for HashJoinNode<'a>
impl<'a> Sync for HashJoinNode<'a>
impl<'a> Unpin for HashJoinNode<'a>
impl<'a> UnwindSafe for HashJoinNode<'a>
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more