Struct mz_sql::ast::transform::QueryIdentAgg
source · struct QueryIdentAgg<'a> {
name: &'a Ident,
qualifiers: BTreeMap<Ident, BTreeSet<Ident>>,
min_qual_depth: usize,
fail_on: Option<Ident>,
err: Option<String>,
}
Fields§
§name: &'a Ident
The name whose usage you want to assess.
qualifiers: BTreeMap<Ident, BTreeSet<Ident>>
Tracks all second-level qualifiers used on name
in a BTreeMap
, as
well as any third-level qualifiers used on those second-level qualifiers
in a BTreeSet
.
min_qual_depth: usize
Tracks the least qualified instance of name
seen.
fail_on: Option<Ident>
Provides an option to fail the visit if encounters a specified Ident
.
err: Option<String>
Implementations§
source§impl<'a> QueryIdentAgg<'a>
impl<'a> QueryIdentAgg<'a>
sourcefn determine_qual_depth(
name: &Ident,
fail_on: Option<Ident>,
query: &Query<Raw>,
) -> Result<usize, String>
fn determine_qual_depth( name: &Ident, fail_on: Option<Ident>, query: &Query<Raw>, ) -> Result<usize, String>
Determines the depth of qualification needed to unambiguously reference
catalog items in a Query
.
Includes an option to fail if a given Ident
is encountered.
Result
s of Ok(usize)
indicate that name
can be unambiguously
referred to with usize
parts, e.g. 2 requires schema and item name
qualification.
Result
s of Err
indicate that we cannot unambiguously reference
name
or encountered fail_on
, if it’s provided.
fn check_failure(&mut self, v: &[Ident])
Trait Implementations§
source§impl<'a, 'ast> Visit<'ast, Raw> for QueryIdentAgg<'a>
impl<'a, 'ast> Visit<'ast, Raw> for QueryIdentAgg<'a>
fn visit_expr(&mut self, e: &'ast Expr<Raw>)
fn visit_ident(&mut self, ident: &'ast Ident)
fn visit_unresolved_item_name( &mut self, unresolved_item_name: &'ast UnresolvedItemName, )
fn visit_item_name(&mut self, item_name: &'ast <Raw as AstInfo>::ItemName)
fn visit_abbreviated_grant_or_revoke_statement( &mut self, node: &'ast AbbreviatedGrantOrRevokeStatement<T>, )
fn visit_abbreviated_grant_statement( &mut self, node: &'ast AbbreviatedGrantStatement<T>, )
fn visit_abbreviated_revoke_statement( &mut self, node: &'ast AbbreviatedRevokeStatement<T>, )
fn visit_alter_cluster_action(&mut self, node: &'ast AlterClusterAction<T>)
fn visit_alter_cluster_statement( &mut self, node: &'ast AlterClusterStatement<T>, )
fn visit_alter_connection_action( &mut self, node: &'ast AlterConnectionAction<T>, )
fn visit_alter_connection_option( &mut self, node: &'ast AlterConnectionOption<T>, )
fn visit_alter_connection_option_name( &mut self, node: &'ast AlterConnectionOptionName, )
fn visit_alter_connection_statement( &mut self, node: &'ast AlterConnectionStatement<T>, )
fn visit_alter_default_privileges_statement( &mut self, node: &'ast AlterDefaultPrivilegesStatement<T>, )
fn visit_alter_index_action(&mut self, node: &'ast AlterIndexAction<T>)
fn visit_alter_index_statement(&mut self, node: &'ast AlterIndexStatement<T>)
fn visit_alter_object_rename_statement( &mut self, node: &'ast AlterObjectRenameStatement, )
fn visit_alter_object_swap_statement( &mut self, node: &'ast AlterObjectSwapStatement, )
fn visit_alter_owner_statement(&mut self, node: &'ast AlterOwnerStatement<T>)
fn visit_alter_retain_history_statement( &mut self, node: &'ast AlterRetainHistoryStatement<T>, )
fn visit_alter_role_option(&mut self, node: &'ast AlterRoleOption)
fn visit_alter_role_statement(&mut self, node: &'ast AlterRoleStatement<T>)
fn visit_alter_secret_statement(&mut self, node: &'ast AlterSecretStatement<T>)
fn visit_alter_set_cluster_statement( &mut self, node: &'ast AlterSetClusterStatement<T>, )
fn visit_alter_sink_action(&mut self, node: &'ast AlterSinkAction<T>)
fn visit_alter_sink_statement(&mut self, node: &'ast AlterSinkStatement<T>)
fn visit_alter_source_action(&mut self, node: &'ast AlterSourceAction<T>)
fn visit_alter_source_add_subsource_option( &mut self, node: &'ast AlterSourceAddSubsourceOption<T>, )
fn visit_alter_source_add_subsource_option_name( &mut self, node: &'ast AlterSourceAddSubsourceOptionName, )
fn visit_alter_source_statement(&mut self, node: &'ast AlterSourceStatement<T>)
fn visit_alter_system_reset_all_statement( &mut self, node: &'ast AlterSystemResetAllStatement, )
fn visit_alter_system_reset_statement( &mut self, node: &'ast AlterSystemResetStatement, )
fn visit_alter_system_set_statement( &mut self, node: &'ast AlterSystemSetStatement, )
fn visit_alter_table_add_column_statement( &mut self, node: &'ast AlterTableAddColumnStatement<T>, )
fn visit_as_of(&mut self, node: &'ast AsOf<T>)
fn visit_assignment(&mut self, node: &'ast Assignment<T>)
fn visit_avro_doc_on(&mut self, node: &'ast AvroDocOn<T>)
fn visit_avro_schema(&mut self, node: &'ast AvroSchema<T>)
fn visit_avro_schema_option(&mut self, node: &'ast AvroSchemaOption<T>)
fn visit_avro_schema_option_name(&mut self, node: &'ast AvroSchemaOptionName)
fn visit_catalog_name(&mut self, node: &'ast CatalogName)
fn visit_close_statement(&mut self, node: &'ast CloseStatement)
fn visit_cluster_alter_option(&mut self, node: &'ast ClusterAlterOption<T>)
fn visit_cluster_alter_option_name( &mut self, node: &'ast ClusterAlterOptionName, )
fn visit_cluster_alter_option_value( &mut self, node: &'ast ClusterAlterOptionValue<T>, )
fn visit_cluster_alter_until_ready_option( &mut self, node: &'ast ClusterAlterUntilReadyOption<T>, )
fn visit_cluster_alter_until_ready_option_name( &mut self, node: &'ast ClusterAlterUntilReadyOptionName, )
fn visit_cluster_feature(&mut self, node: &'ast ClusterFeature<T>)
fn visit_cluster_feature_name(&mut self, node: &'ast ClusterFeatureName)
fn visit_cluster_option(&mut self, node: &'ast ClusterOption<T>)
fn visit_cluster_option_name(&mut self, node: &'ast ClusterOptionName)
fn visit_cluster_schedule_option_value( &mut self, node: &'ast ClusterScheduleOptionValue, )
fn visit_column_def(&mut self, node: &'ast ColumnDef<T>)
fn visit_column_name(&mut self, node: &'ast ColumnName<T>)
fn visit_column_option(&mut self, node: &'ast ColumnOption<T>)
fn visit_column_option_def(&mut self, node: &'ast ColumnOptionDef<T>)
fn visit_comment_object_type(&mut self, node: &'ast CommentObjectType<T>)
fn visit_comment_statement(&mut self, node: &'ast CommentStatement<T>)
fn visit_commit_statement(&mut self, node: &'ast CommitStatement)
fn visit_connection_default_aws_privatelink( &mut self, node: &'ast ConnectionDefaultAwsPrivatelink<T>, )
fn visit_connection_option(&mut self, node: &'ast ConnectionOption<T>)
fn visit_connection_option_name(&mut self, node: &'ast ConnectionOptionName)
fn visit_copy_direction(&mut self, node: &'ast CopyDirection)
fn visit_copy_option(&mut self, node: &'ast CopyOption<T>)
fn visit_copy_option_name(&mut self, node: &'ast CopyOptionName)
fn visit_copy_relation(&mut self, node: &'ast CopyRelation<T>)
fn visit_copy_statement(&mut self, node: &'ast CopyStatement<T>)
fn visit_copy_target(&mut self, node: &'ast CopyTarget<T>)
fn visit_create_cluster_replica_statement( &mut self, node: &'ast CreateClusterReplicaStatement<T>, )
fn visit_create_cluster_statement( &mut self, node: &'ast CreateClusterStatement<T>, )
fn visit_create_connection_option( &mut self, node: &'ast CreateConnectionOption<T>, )
fn visit_create_connection_option_name( &mut self, node: &'ast CreateConnectionOptionName, )
fn visit_create_connection_statement( &mut self, node: &'ast CreateConnectionStatement<T>, )
fn visit_create_connection_type(&mut self, node: &'ast CreateConnectionType)
fn visit_create_database_statement( &mut self, node: &'ast CreateDatabaseStatement, )
fn visit_create_index_statement(&mut self, node: &'ast CreateIndexStatement<T>)
fn visit_create_materialized_view_statement( &mut self, node: &'ast CreateMaterializedViewStatement<T>, )
fn visit_create_role_statement(&mut self, node: &'ast CreateRoleStatement)
fn visit_create_schema_statement(&mut self, node: &'ast CreateSchemaStatement)
fn visit_create_secret_statement( &mut self, node: &'ast CreateSecretStatement<T>, )
fn visit_create_sink_connection(&mut self, node: &'ast CreateSinkConnection<T>)
fn visit_create_sink_option(&mut self, node: &'ast CreateSinkOption<T>)
fn visit_create_sink_option_name(&mut self, node: &'ast CreateSinkOptionName)
fn visit_create_sink_statement(&mut self, node: &'ast CreateSinkStatement<T>)
fn visit_create_source_connection( &mut self, node: &'ast CreateSourceConnection<T>, )
fn visit_create_source_option(&mut self, node: &'ast CreateSourceOption<T>)
fn visit_create_source_option_name( &mut self, node: &'ast CreateSourceOptionName, )
fn visit_create_source_statement( &mut self, node: &'ast CreateSourceStatement<T>, )
fn visit_create_subsource_option( &mut self, node: &'ast CreateSubsourceOption<T>, )
fn visit_create_subsource_option_name( &mut self, node: &'ast CreateSubsourceOptionName, )
fn visit_create_subsource_statement( &mut self, node: &'ast CreateSubsourceStatement<T>, )
fn visit_create_table_from_source_statement( &mut self, node: &'ast CreateTableFromSourceStatement<T>, )
fn visit_create_table_statement(&mut self, node: &'ast CreateTableStatement<T>)
fn visit_create_type_as(&mut self, node: &'ast CreateTypeAs<T>)
fn visit_create_type_list_option(&mut self, node: &'ast CreateTypeListOption<T>)
fn visit_create_type_list_option_name( &mut self, node: &'ast CreateTypeListOptionName, )
fn visit_create_type_map_option(&mut self, node: &'ast CreateTypeMapOption<T>)
fn visit_create_type_map_option_name( &mut self, node: &'ast CreateTypeMapOptionName, )
fn visit_create_type_statement(&mut self, node: &'ast CreateTypeStatement<T>)
fn visit_create_view_statement(&mut self, node: &'ast CreateViewStatement<T>)
fn visit_create_webhook_source_body( &mut self, node: &'ast CreateWebhookSourceBody, )
fn visit_create_webhook_source_check( &mut self, node: &'ast CreateWebhookSourceCheck<T>, )
fn visit_create_webhook_source_check_options( &mut self, node: &'ast CreateWebhookSourceCheckOptions<T>, )
fn visit_create_webhook_source_filter_header( &mut self, node: &'ast CreateWebhookSourceFilterHeader, )
fn visit_create_webhook_source_header( &mut self, node: &'ast CreateWebhookSourceHeader, )
fn visit_create_webhook_source_include_headers( &mut self, node: &'ast CreateWebhookSourceIncludeHeaders, )
fn visit_create_webhook_source_map_header( &mut self, node: &'ast CreateWebhookSourceMapHeader, )
fn visit_create_webhook_source_secret( &mut self, node: &'ast CreateWebhookSourceSecret<T>, )
fn visit_create_webhook_source_statement( &mut self, node: &'ast CreateWebhookSourceStatement<T>, )
fn visit_csr_config_option(&mut self, node: &'ast CsrConfigOption<T>)
fn visit_csr_config_option_name(&mut self, node: &'ast CsrConfigOptionName<T>)
fn visit_csr_connection(&mut self, node: &'ast CsrConnection<T>)
fn visit_csr_connection_avro(&mut self, node: &'ast CsrConnectionAvro<T>)
fn visit_csr_connection_protobuf( &mut self, node: &'ast CsrConnectionProtobuf<T>, )
fn visit_csr_seed_avro(&mut self, node: &'ast CsrSeedAvro)
fn visit_csr_seed_protobuf(&mut self, node: &'ast CsrSeedProtobuf)
fn visit_csr_seed_protobuf_schema(&mut self, node: &'ast CsrSeedProtobufSchema)
fn visit_csv_columns(&mut self, node: &'ast CsvColumns)
fn visit_cte(&mut self, node: &'ast Cte<T>)
fn visit_cte_block(&mut self, node: &'ast CteBlock<T>)
fn visit_cte_mut_rec(&mut self, node: &'ast CteMutRec<T>)
fn visit_cte_mut_rec_column_def(&mut self, node: &'ast CteMutRecColumnDef<T>)
fn visit_date_time_field(&mut self, node: &'ast DateTimeField)
fn visit_deallocate_statement(&mut self, node: &'ast DeallocateStatement)
fn visit_declare_statement(&mut self, node: &'ast DeclareStatement<T>)
fn visit_deferred_item_name(&mut self, node: &'ast DeferredItemName<T>)
fn visit_delete_statement(&mut self, node: &'ast DeleteStatement<T>)
fn visit_discard_statement(&mut self, node: &'ast DiscardStatement)
fn visit_discard_target(&mut self, node: &'ast DiscardTarget)
fn visit_distinct(&mut self, node: &'ast Distinct<T>)
fn visit_doc_on_identifier(&mut self, node: &'ast DocOnIdentifier<T>)
fn visit_doc_on_schema(&mut self, node: &'ast DocOnSchema)
fn visit_drop_objects_statement(&mut self, node: &'ast DropObjectsStatement)
fn visit_drop_owned_statement(&mut self, node: &'ast DropOwnedStatement<T>)
fn visit_execute_statement(&mut self, node: &'ast ExecuteStatement<T>)
fn visit_explain_format(&mut self, node: &'ast ExplainFormat)
fn visit_explain_plan_option(&mut self, node: &'ast ExplainPlanOption<T>)
fn visit_explain_plan_option_name(&mut self, node: &'ast ExplainPlanOptionName)
fn visit_explain_plan_statement(&mut self, node: &'ast ExplainPlanStatement<T>)
fn visit_explain_pushdown_statement( &mut self, node: &'ast ExplainPushdownStatement<T>, )
fn visit_explain_sink_schema_for(&mut self, node: &'ast ExplainSinkSchemaFor)
fn visit_explain_sink_schema_statement( &mut self, node: &'ast ExplainSinkSchemaStatement<T>, )
fn visit_explain_stage(&mut self, node: &'ast ExplainStage)
fn visit_explain_timestamp_statement( &mut self, node: &'ast ExplainTimestampStatement<T>, )
fn visit_explainee(&mut self, node: &'ast Explainee<T>)
fn visit_external_reference_export( &mut self, node: &'ast ExternalReferenceExport, )
fn visit_external_references(&mut self, node: &'ast ExternalReferences)
fn visit_fetch_direction(&mut self, node: &'ast FetchDirection)
fn visit_fetch_option(&mut self, node: &'ast FetchOption<T>)
fn visit_fetch_option_name(&mut self, node: &'ast FetchOptionName)
fn visit_fetch_statement(&mut self, node: &'ast FetchStatement<T>)
fn visit_format(&mut self, node: &'ast Format<T>)
fn visit_format_specifier(&mut self, node: &'ast FormatSpecifier<T>)
fn visit_function(&mut self, node: &'ast Function<T>)
fn visit_function_args(&mut self, node: &'ast FunctionArgs<T>)
fn visit_grant_privileges_statement( &mut self, node: &'ast GrantPrivilegesStatement<T>, )
fn visit_grant_role_statement(&mut self, node: &'ast GrantRoleStatement<T>)
fn visit_grant_target_all_specification( &mut self, node: &'ast GrantTargetAllSpecification<T>, )
fn visit_grant_target_specification( &mut self, node: &'ast GrantTargetSpecification<T>, )
fn visit_grant_target_specification_inner( &mut self, node: &'ast GrantTargetSpecificationInner<T>, )
fn visit_homogenizing_function(&mut self, node: &'ast HomogenizingFunction)
fn visit_ident_error(&mut self, node: &'ast IdentError)
fn visit_if_exists_behavior(&mut self, node: &'ast IfExistsBehavior)
fn visit_index_option(&mut self, node: &'ast IndexOption<T>)
fn visit_index_option_name(&mut self, node: &'ast IndexOptionName)
fn visit_insert_source(&mut self, node: &'ast InsertSource<T>)
fn visit_insert_statement(&mut self, node: &'ast InsertStatement<T>)
fn visit_inspect_shard_statement(&mut self, node: &'ast InspectShardStatement)
fn visit_interval_value(&mut self, node: &'ast IntervalValue)
fn visit_is_expr_construct(&mut self, node: &'ast IsExprConstruct<T>)
fn visit_join(&mut self, node: &'ast Join<T>)
fn visit_join_constraint(&mut self, node: &'ast JoinConstraint<T>)
fn visit_join_operator(&mut self, node: &'ast JoinOperator<T>)
fn visit_kafka_broker(&mut self, node: &'ast KafkaBroker<T>)
fn visit_kafka_broker_aws_privatelink( &mut self, node: &'ast KafkaBrokerAwsPrivatelink<T>, )
fn visit_kafka_broker_aws_privatelink_option( &mut self, node: &'ast KafkaBrokerAwsPrivatelinkOption<T>, )
fn visit_kafka_broker_aws_privatelink_option_name( &mut self, node: &'ast KafkaBrokerAwsPrivatelinkOptionName, )
fn visit_kafka_broker_tunnel(&mut self, node: &'ast KafkaBrokerTunnel<T>)
fn visit_kafka_sink_config_option( &mut self, node: &'ast KafkaSinkConfigOption<T>, )
fn visit_kafka_sink_config_option_name( &mut self, node: &'ast KafkaSinkConfigOptionName, )
fn visit_kafka_sink_key(&mut self, node: &'ast KafkaSinkKey)
fn visit_kafka_source_config_option( &mut self, node: &'ast KafkaSourceConfigOption<T>, )
fn visit_kafka_source_config_option_name( &mut self, node: &'ast KafkaSourceConfigOptionName, )
fn visit_key_constraint(&mut self, node: &'ast KeyConstraint)
fn visit_limit(&mut self, node: &'ast Limit<T>)
fn visit_load_generator(&mut self, node: &'ast LoadGenerator)
fn visit_load_generator_option(&mut self, node: &'ast LoadGeneratorOption<T>)
fn visit_load_generator_option_name( &mut self, node: &'ast LoadGeneratorOptionName, )
fn visit_map_entry(&mut self, node: &'ast MapEntry<T>)
fn visit_materialized_view_option( &mut self, node: &'ast MaterializedViewOption<T>, )
fn visit_materialized_view_option_name( &mut self, node: &'ast MaterializedViewOptionName, )
fn visit_mut_rec_block(&mut self, node: &'ast MutRecBlock<T>)
fn visit_mut_rec_block_option(&mut self, node: &'ast MutRecBlockOption<T>)
fn visit_mut_rec_block_option_name(&mut self, node: &'ast MutRecBlockOptionName)
fn visit_my_sql_config_option(&mut self, node: &'ast MySqlConfigOption<T>)
fn visit_my_sql_config_option_name(&mut self, node: &'ast MySqlConfigOptionName)
fn visit_named_plan(&mut self, node: &'ast NamedPlan)
fn visit_notice_severity(&mut self, node: &'ast NoticeSeverity)
fn visit_object_type(&mut self, node: &'ast ObjectType)
fn visit_op(&mut self, node: &'ast Op)
fn visit_order_by_expr(&mut self, node: &'ast OrderByExpr<T>)
fn visit_pg_config_option(&mut self, node: &'ast PgConfigOption<T>)
fn visit_pg_config_option_name(&mut self, node: &'ast PgConfigOptionName)
fn visit_prepare_statement(&mut self, node: &'ast PrepareStatement<T>)
fn visit_privilege(&mut self, node: &'ast Privilege)
fn visit_privilege_specification(&mut self, node: &'ast PrivilegeSpecification)
fn visit_protobuf_schema(&mut self, node: &'ast ProtobufSchema<T>)
fn visit_qualified_replica(&mut self, node: &'ast QualifiedReplica)
fn visit_query(&mut self, node: &'ast Query<T>)
fn visit_raise_statement(&mut self, node: &'ast RaiseStatement)
fn visit_reader_schema_selection_strategy( &mut self, node: &'ast ReaderSchemaSelectionStrategy, )
fn visit_reassign_owned_statement( &mut self, node: &'ast ReassignOwnedStatement<T>, )
fn visit_refresh_at_option_value(&mut self, node: &'ast RefreshAtOptionValue<T>)
fn visit_refresh_every_option_value( &mut self, node: &'ast RefreshEveryOptionValue<T>, )
fn visit_refresh_option_value(&mut self, node: &'ast RefreshOptionValue<T>)
fn visit_replica_definition(&mut self, node: &'ast ReplicaDefinition<T>)
fn visit_replica_option(&mut self, node: &'ast ReplicaOption<T>)
fn visit_replica_option_name(&mut self, node: &'ast ReplicaOptionName)
fn visit_reset_variable_statement(&mut self, node: &'ast ResetVariableStatement)
fn visit_revoke_privileges_statement( &mut self, node: &'ast RevokePrivilegesStatement<T>, )
fn visit_revoke_role_statement(&mut self, node: &'ast RevokeRoleStatement<T>)
fn visit_role_attribute(&mut self, node: &'ast RoleAttribute)
fn visit_rollback_statement(&mut self, node: &'ast RollbackStatement)
fn visit_schema(&mut self, node: &'ast Schema)
fn visit_select(&mut self, node: &'ast Select<T>)
fn visit_select_item(&mut self, node: &'ast SelectItem<T>)
fn visit_select_option(&mut self, node: &'ast SelectOption<T>)
fn visit_select_option_name(&mut self, node: &'ast SelectOptionName)
fn visit_select_statement(&mut self, node: &'ast SelectStatement<T>)
fn visit_set_expr(&mut self, node: &'ast SetExpr<T>)
fn visit_set_operator(&mut self, node: &'ast SetOperator)
fn visit_set_role_var(&mut self, node: &'ast SetRoleVar)
fn visit_set_transaction_statement( &mut self, node: &'ast SetTransactionStatement, )
fn visit_set_variable_statement(&mut self, node: &'ast SetVariableStatement)
fn visit_set_variable_to(&mut self, node: &'ast SetVariableTo)
fn visit_set_variable_value(&mut self, node: &'ast SetVariableValue)
fn visit_show_columns_statement(&mut self, node: &'ast ShowColumnsStatement<T>)
fn visit_show_create_cluster_statement( &mut self, node: &'ast ShowCreateClusterStatement<T>, )
fn visit_show_create_connection_statement( &mut self, node: &'ast ShowCreateConnectionStatement<T>, )
fn visit_show_create_index_statement( &mut self, node: &'ast ShowCreateIndexStatement<T>, )
fn visit_show_create_materialized_view_statement( &mut self, node: &'ast ShowCreateMaterializedViewStatement<T>, )
fn visit_show_create_sink_statement( &mut self, node: &'ast ShowCreateSinkStatement<T>, )
fn visit_show_create_source_statement( &mut self, node: &'ast ShowCreateSourceStatement<T>, )
fn visit_show_create_table_statement( &mut self, node: &'ast ShowCreateTableStatement<T>, )
fn visit_show_create_view_statement( &mut self, node: &'ast ShowCreateViewStatement<T>, )
fn visit_show_object_type(&mut self, node: &'ast ShowObjectType<T>)
fn visit_show_objects_statement(&mut self, node: &'ast ShowObjectsStatement<T>)
fn visit_show_statement(&mut self, node: &'ast ShowStatement<T>)
fn visit_show_statement_filter(&mut self, node: &'ast ShowStatementFilter<T>)
fn visit_show_variable_statement(&mut self, node: &'ast ShowVariableStatement)
fn visit_sink_envelope(&mut self, node: &'ast SinkEnvelope)
fn visit_source_envelope(&mut self, node: &'ast SourceEnvelope)
fn visit_source_error_policy(&mut self, node: &'ast SourceErrorPolicy)
fn visit_source_include_metadata(&mut self, node: &'ast SourceIncludeMetadata)
fn visit_start_transaction_statement( &mut self, node: &'ast StartTransactionStatement, )
fn visit_statement(&mut self, node: &'ast Statement<T>)
fn visit_subscribe_option(&mut self, node: &'ast SubscribeOption<T>)
fn visit_subscribe_option_name(&mut self, node: &'ast SubscribeOptionName)
fn visit_subscribe_output(&mut self, node: &'ast SubscribeOutput<T>)
fn visit_subscribe_relation(&mut self, node: &'ast SubscribeRelation<T>)
fn visit_subscribe_statement(&mut self, node: &'ast SubscribeStatement<T>)
fn visit_subscript_position(&mut self, node: &'ast SubscriptPosition<T>)
fn visit_system_object_type(&mut self, node: &'ast SystemObjectType)
fn visit_cluster_name(&mut self, node: &'ast <T as AstInfo>::ClusterName)
fn visit_column_reference( &mut self, node: &'ast <T as AstInfo>::ColumnReference, )
fn visit_cte_id(&mut self, node: &'ast <T as AstInfo>::CteId)
fn visit_data_type(&mut self, node: &'ast <T as AstInfo>::DataType)
fn visit_database_name(&mut self, node: &'ast <T as AstInfo>::DatabaseName)
fn visit_nested_statement( &mut self, node: &'ast <T as AstInfo>::NestedStatement, )
fn visit_object_name(&mut self, node: &'ast <T as AstInfo>::ObjectName)
fn visit_role_name(&mut self, node: &'ast <T as AstInfo>::RoleName)
fn visit_schema_name(&mut self, node: &'ast <T as AstInfo>::SchemaName)
fn visit_table_alias(&mut self, node: &'ast TableAlias)
fn visit_table_constraint(&mut self, node: &'ast TableConstraint<T>)
fn visit_table_factor(&mut self, node: &'ast TableFactor<T>)
fn visit_table_from_source_option( &mut self, node: &'ast TableFromSourceOption<T>, )
fn visit_table_from_source_option_name( &mut self, node: &'ast TableFromSourceOptionName, )
fn visit_table_option(&mut self, node: &'ast TableOption<T>)
fn visit_table_option_name(&mut self, node: &'ast TableOptionName)
fn visit_table_with_joins(&mut self, node: &'ast TableWithJoins<T>)
fn visit_target_role_specification( &mut self, node: &'ast TargetRoleSpecification<T>, )
fn visit_transaction_access_mode(&mut self, node: &'ast TransactionAccessMode)
fn visit_transaction_isolation_level( &mut self, node: &'ast TransactionIsolationLevel, )
fn visit_transaction_mode(&mut self, node: &'ast TransactionMode)
fn visit_unresolved_database_name(&mut self, node: &'ast UnresolvedDatabaseName)
fn visit_unresolved_object_name(&mut self, node: &'ast UnresolvedObjectName)
fn visit_unresolved_schema_name(&mut self, node: &'ast UnresolvedSchemaName)
fn visit_update_statement(&mut self, node: &'ast UpdateStatement<T>)
fn visit_validate_connection_statement( &mut self, node: &'ast ValidateConnectionStatement<T>, )
fn visit_value(&mut self, node: &'ast Value)
fn visit_value_error(&mut self, node: &'ast ValueError)
fn visit_values(&mut self, node: &'ast Values<T>)
fn visit_view_definition(&mut self, node: &'ast ViewDefinition<T>)
fn visit_window_frame(&mut self, node: &'ast WindowFrame)
fn visit_window_frame_bound(&mut self, node: &'ast WindowFrameBound)
fn visit_window_frame_units(&mut self, node: &'ast WindowFrameUnits)
fn visit_window_spec(&mut self, node: &'ast WindowSpec<T>)
fn visit_with_option_value(&mut self, node: &'ast WithOptionValue<T>)
Auto Trait Implementations§
impl<'a> Freeze for QueryIdentAgg<'a>
impl<'a> RefUnwindSafe for QueryIdentAgg<'a>
impl<'a> Send for QueryIdentAgg<'a>
impl<'a> Sync for QueryIdentAgg<'a>
impl<'a> Unpin for QueryIdentAgg<'a>
impl<'a> UnwindSafe for QueryIdentAgg<'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
source§impl<T> FmtForward for T
impl<T> FmtForward for T
source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
Causes
self
to use its Binary
implementation when Debug
-formatted.source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
Causes
self
to use its Display
implementation when
Debug
-formatted.source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
Causes
self
to use its LowerExp
implementation when
Debug
-formatted.source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
Causes
self
to use its LowerHex
implementation when
Debug
-formatted.source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
Causes
self
to use its Octal
implementation when Debug
-formatted.source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
Causes
self
to use its Pointer
implementation when
Debug
-formatted.source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
Causes
self
to use its UpperExp
implementation when
Debug
-formatted.source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
Causes
self
to use its UpperHex
implementation when
Debug
-formatted.source§impl<T> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request
Creates a shared type from an unshared type.
source§impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
impl<T, U> OverrideFrom<Option<&T>> for Uwhere
U: OverrideFrom<T>,
source§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Pipes by value. This is generally the method you want to use. Read more
source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
Borrows
self
and passes that borrow into the pipe function. Read moresource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
Mutably borrows
self
and passes that borrow into the pipe function. Read moresource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
Borrows
self
, then passes self.as_ref()
into the pipe function.source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
Mutably borrows
self
, then passes self.as_mut()
into the pipe
function.source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
Borrows
self
, then passes self.deref()
into the pipe function.source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
impl<P, R> ProtoType<R> for Pwhere
R: RustType<P>,
source§fn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
See
RustType::from_proto
.source§fn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
See
RustType::into_proto
.source§impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
impl<'a, S, T> Semigroup<&'a S> for Twhere
T: Semigroup<S>,
source§fn plus_equals(&mut self, rhs: &&'a S)
fn plus_equals(&mut self, rhs: &&'a S)
The method of
std::ops::AddAssign
, for types that do not implement AddAssign
.source§impl<T> Tap for T
impl<T> Tap for T
source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Immutable access to the
Borrow<B>
of a value. Read moresource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
Mutable access to the
BorrowMut<B>
of a value. Read moresource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
Immutable access to the
AsRef<R>
view of a value. Read moresource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
Mutable access to the
AsMut<R>
view of a value. Read moresource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Immutable access to the
Deref::Target
of a value. Read moresource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Mutable access to the
Deref::Target
of a value. Read moresource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
Calls
.tap()
only in debug builds, and is erased in release builds.source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
Calls
.tap_mut()
only in debug builds, and is erased in release
builds.source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
Calls
.tap_borrow()
only in debug builds, and is erased in release
builds.source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
Calls
.tap_borrow_mut()
only in debug builds, and is erased in release
builds.source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
Calls
.tap_ref()
only in debug builds, and is erased in release
builds.source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
Calls
.tap_ref_mut()
only in debug builds, and is erased in release
builds.source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
Calls
.tap_deref()
only in debug builds, and is erased in release
builds.