Struct gluesql_core::ast_builder::JoinNode
source · pub struct JoinNode { /* private fields */ }Implementations
sourceimpl JoinNode
impl JoinNode
pub fn new<N: Into<PrevNode>>(
prev_node: N,
name: String,
alias: Option<String>,
join_operator_type: JoinOperatorType
) -> Self
pub fn on<T: Into<ExprNode>>(self, expr: T) -> JoinConstraintNode
pub fn join(self, table_name: &str) -> JoinNode
pub fn join_as(self, table_name: &str, alias: &str) -> JoinNode
pub fn left_join(self, table_name: &str) -> JoinNode
pub fn left_join_as(self, table_name: &str, alias: &str) -> JoinNode
pub fn hash_executor<T: Into<ExprNode>, U: Into<ExprNode>>(
self,
key_expr: T,
value_expr: U
) -> HashJoinNode
pub fn project<T: Into<SelectItemList>>(self, select_items: T) -> ProjectNode
pub fn group_by<T: Into<ExprList>>(self, expr_list: T) -> GroupByNode
pub fn offset<T: Into<ExprNode>>(self, expr: T) -> OffsetNode
pub fn limit<T: Into<ExprNode>>(self, expr: T) -> LimitNode
pub fn filter<T: Into<ExprNode>>(self, expr: T) -> FilterNode
pub fn order_by<T: Into<OrderByExprList>>(self, order_by_exprs: T) -> OrderByNode
pub fn prebuild_for_constraint(self) -> Result<JoinConstraintData>
pub fn prebuild_for_hash_join(
self
) -> Result<(NodeData, TableFactor, JoinOperator)>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for JoinNode
impl Send for JoinNode
impl Sync for JoinNode
impl Unpin for JoinNode
impl UnwindSafe for JoinNode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more