Struct gluesql::core::ast_builder::JoinNode
source · pub struct JoinNode<'a> { /* private fields */ }
Implementations§
source§impl<'a> JoinNode<'a>
impl<'a> JoinNode<'a>
pub fn new<N>( prev_node: N, name: String, alias: Option<String>, join_operator_type: JoinOperatorType ) -> JoinNode<'a>where N: Into<PrevNode<'a>>,
pub fn on<T>(self, expr: T) -> JoinConstraintNode<'a>where T: Into<ExprNode<'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 hash_executor<T, U>(self, key_expr: T, value_expr: U) -> HashJoinNode<'a>where T: Into<ExprNode<'a>>, U: Into<ExprNode<'a>>,
pub fn project<T>(self, select_items: T) -> ProjectNode<'a>where T: Into<SelectItemList<'a>>,
pub fn group_by<T>(self, expr_list: T) -> GroupByNode<'a>where T: Into<ExprList<'a>>,
pub fn offset<T>(self, expr: T) -> OffsetNode<'a>where T: Into<ExprNode<'a>>,
pub fn limit<T>(self, expr: T) -> LimitNode<'a>where T: Into<ExprNode<'a>>,
pub fn filter<T>(self, expr: T) -> FilterNode<'a>where T: Into<ExprNode<'a>>,
pub fn order_by<T>(self, order_by_exprs: T) -> OrderByNode<'a>where T: Into<OrderByExprList<'a>>,
pub fn alias_as(self, table_alias: &'a str) -> TableFactorNode<'a>
pub fn prebuild_for_constraint(self) -> Result<JoinConstraintData, Error>
pub fn prebuild_for_hash_join( self ) -> Result<(Select, TableFactor, JoinOperator), Error>
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for JoinNode<'a>
impl<'a> Send for JoinNode<'a>
impl<'a> Sync for JoinNode<'a>
impl<'a> Unpin for JoinNode<'a>
impl<'a> UnwindSafe for JoinNode<'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