pub struct Binder<'a, T: Transaction> { /* private fields */ }
Implementations§
source§impl<'a, T: Transaction> Binder<'a, T>
impl<'a, T: Transaction> Binder<'a, T>
pub fn bind_aggregate( &mut self, children: LogicalPlan, agg_calls: Vec<ScalarExpression>, groupby_exprs: Vec<ScalarExpression> ) -> LogicalPlan
pub fn extract_select_aggregate( &mut self, select_items: &mut [ScalarExpression] ) -> Result<(), BindError>
pub fn extract_group_by_aggregate( &mut self, select_list: &mut [ScalarExpression], groupby: &[Expr] ) -> Result<(), BindError>
pub fn extract_having_orderby_aggregate( &mut self, having: &Option<Expr>, orderbys: &[OrderByExpr] ) -> Result<(Option<ScalarExpression>, Option<Vec<SortField>>), BindError>
sourcepub fn validate_having_orderby(
&self,
expr: &ScalarExpression
) -> Result<(), BindError>
pub fn validate_having_orderby( &self, expr: &ScalarExpression ) -> Result<(), BindError>
Validate having or orderby clause is valid, if SQL has group by clause.
source§impl<'a, T: Transaction> Binder<'a, T>
impl<'a, T: Transaction> Binder<'a, T>
pub fn bind_column( &mut self, column_def: &ColumnDef ) -> Result<ColumnCatalog, BindError>
source§impl<'a, T: Transaction> Binder<'a, T>
impl<'a, T: Transaction> Binder<'a, T>
pub fn bind_distinct( &mut self, children: LogicalPlan, select_list: Vec<ScalarExpression> ) -> LogicalPlan
source§impl<'a, T: Transaction> Binder<'a, T>
impl<'a, T: Transaction> Binder<'a, T>
source§impl<'a, T: Transaction> Binder<'a, T>
impl<'a, T: Transaction> Binder<'a, T>
pub fn extract_select_join(&mut self, select_items: &mut [ScalarExpression])
source§impl<'a, T: Transaction> Binder<'a, T>
impl<'a, T: Transaction> Binder<'a, T>
pub fn new(context: BinderContext<'a, T>) -> Self
pub fn bind(self, stmt: &Statement) -> Result<LogicalPlan, BindError>
Auto Trait Implementations§
impl<'a, T> RefUnwindSafe for Binder<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for Binder<'a, T>
impl<'a, T> Sync for Binder<'a, T>
impl<'a, T> Unpin for Binder<'a, T>
impl<'a, T> UnwindSafe for Binder<'a, T>where
T: RefUnwindSafe,
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