Struct gluesql_core::ast_builder::HashJoinNode
source · 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<'_>
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 copy 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> 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