Struct sql::plan::query::AggregateTableFuncVisitor [−][src]
struct AggregateTableFuncVisitor<'a> {
scx: &'a StatementContext<'a>,
aggs: Vec<Function<Aug>>,
within_aggregate: bool,
tables: HashMap<TableFunction<Aug>, String>,
table_disallowed_context: Vec<&'static str>,
in_select_item: bool,
err: Option<PlanError>,
}
Expand description
This is used to collect aggregates and table functions from within an Expr
.
See the explanation of aggregate handling at the top of the file for more details.
Fields
scx: &'a StatementContext<'a>
aggs: Vec<Function<Aug>>
within_aggregate: bool
tables: HashMap<TableFunction<Aug>, String>
table_disallowed_context: Vec<&'static str>
in_select_item: bool
err: Option<PlanError>
Implementations
Trait Implementations
fn visit_alter_object_rename_statement_mut(
&mut self,
node: &'ast mut AlterObjectRenameStatement
)
fn visit_show_create_source_statement_mut(
&mut self,
node: &'ast mut ShowCreateSourceStatement
)
fn visit_source_include_metadata_type_mut(
&mut self,
node: &'ast mut SourceIncludeMetadataType
)
fn visit_start_transaction_statement_mut(
&mut self,
node: &'ast mut StartTransactionStatement
)
fn visit_transaction_isolation_level_mut(
&mut self,
node: &'ast mut TransactionIsolationLevel
)
Auto Trait Implementations
impl<'a> !RefUnwindSafe for AggregateTableFuncVisitor<'a>
impl<'a> !Send for AggregateTableFuncVisitor<'a>
impl<'a> !Sync for AggregateTableFuncVisitor<'a>
impl<'a> Unpin for AggregateTableFuncVisitor<'a>
impl<'a> !UnwindSafe for AggregateTableFuncVisitor<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more