Struct mz_sql::plan::transform_ast::Desugarer
source · struct Desugarer<'a> {
scx: &'a StatementContext<'a>,
status: Result<(), PlanError>,
recursion_guard: RecursionGuard,
}
Expand description
Removes syntax sugar to simplify the planner.
For example, <expr> NOT IN (<subquery>)
is rewritten to expr <> ALL (<subquery>)
.
Fields§
§scx: &'a StatementContext<'a>
§status: Result<(), PlanError>
§recursion_guard: RecursionGuard
Implementations§
Trait Implementations§
source§impl<'a> CheckedRecursion for Desugarer<'a>
impl<'a> CheckedRecursion for Desugarer<'a>
source§fn recursion_guard(&self) -> &RecursionGuard
fn recursion_guard(&self) -> &RecursionGuard
Extracts a reference to the recursion guard embedded within the type.
source§fn checked_recur<F, T, E>(&self, f: F) -> Result<T, E>
fn checked_recur<F, T, E>(&self, f: F) -> Result<T, E>
Checks whether it is safe to recur and calls
f
if so. Read moresource§fn checked_recur_mut<F, T, E>(&mut self, f: F) -> Result<T, E>
fn checked_recur_mut<F, T, E>(&mut self, f: F) -> Result<T, E>
Like
CheckedRecursion::checked_recur
, but operates on a mutable
reference to Self
.source§impl<'a, 'ast> VisitMut<'ast, Aug> for Desugarer<'a>
impl<'a, 'ast> VisitMut<'ast, Aug> for Desugarer<'a>
fn visit_expr_mut(&mut self, expr: &'ast mut Expr<Aug>)
fn visit_abbreviated_grant_or_revoke_statement_mut( &mut self, node: &'ast mut AbbreviatedGrantOrRevokeStatement<T>, )
fn visit_abbreviated_grant_statement_mut( &mut self, node: &'ast mut AbbreviatedGrantStatement<T>, )
fn visit_abbreviated_revoke_statement_mut( &mut self, node: &'ast mut AbbreviatedRevokeStatement<T>, )
fn visit_alter_cluster_action_mut( &mut self, node: &'ast mut AlterClusterAction<T>, )
fn visit_alter_cluster_statement_mut( &mut self, node: &'ast mut AlterClusterStatement<T>, )
fn visit_alter_connection_action_mut( &mut self, node: &'ast mut AlterConnectionAction<T>, )
fn visit_alter_connection_option_mut( &mut self, node: &'ast mut AlterConnectionOption<T>, )
fn visit_alter_connection_option_name_mut( &mut self, node: &'ast mut AlterConnectionOptionName, )
fn visit_alter_connection_statement_mut( &mut self, node: &'ast mut AlterConnectionStatement<T>, )
fn visit_alter_default_privileges_statement_mut( &mut self, node: &'ast mut AlterDefaultPrivilegesStatement<T>, )
fn visit_alter_index_action_mut(&mut self, node: &'ast mut AlterIndexAction<T>)
fn visit_alter_index_statement_mut( &mut self, node: &'ast mut AlterIndexStatement<T>, )
fn visit_alter_network_policy_statement_mut( &mut self, node: &'ast mut AlterNetworkPolicyStatement<T>, )
fn visit_alter_object_rename_statement_mut( &mut self, node: &'ast mut AlterObjectRenameStatement, )
fn visit_alter_object_swap_statement_mut( &mut self, node: &'ast mut AlterObjectSwapStatement, )
fn visit_alter_owner_statement_mut( &mut self, node: &'ast mut AlterOwnerStatement<T>, )
fn visit_alter_retain_history_statement_mut( &mut self, node: &'ast mut AlterRetainHistoryStatement<T>, )
fn visit_alter_role_option_mut(&mut self, node: &'ast mut AlterRoleOption)
fn visit_alter_role_statement_mut( &mut self, node: &'ast mut AlterRoleStatement<T>, )
fn visit_alter_secret_statement_mut( &mut self, node: &'ast mut AlterSecretStatement<T>, )
fn visit_alter_set_cluster_statement_mut( &mut self, node: &'ast mut AlterSetClusterStatement<T>, )
fn visit_alter_sink_action_mut(&mut self, node: &'ast mut AlterSinkAction<T>)
fn visit_alter_sink_statement_mut( &mut self, node: &'ast mut AlterSinkStatement<T>, )
fn visit_alter_source_action_mut( &mut self, node: &'ast mut AlterSourceAction<T>, )
fn visit_alter_source_add_subsource_option_mut( &mut self, node: &'ast mut AlterSourceAddSubsourceOption<T>, )
fn visit_alter_source_add_subsource_option_name_mut( &mut self, node: &'ast mut AlterSourceAddSubsourceOptionName, )
fn visit_alter_source_statement_mut( &mut self, node: &'ast mut AlterSourceStatement<T>, )
fn visit_alter_system_reset_all_statement_mut( &mut self, node: &'ast mut AlterSystemResetAllStatement, )
fn visit_alter_system_reset_statement_mut( &mut self, node: &'ast mut AlterSystemResetStatement, )
fn visit_alter_system_set_statement_mut( &mut self, node: &'ast mut AlterSystemSetStatement, )
fn visit_alter_table_add_column_statement_mut( &mut self, node: &'ast mut AlterTableAddColumnStatement<T>, )
fn visit_as_of_mut(&mut self, node: &'ast mut AsOf<T>)
fn visit_assignment_mut(&mut self, node: &'ast mut Assignment<T>)
fn visit_avro_doc_on_mut(&mut self, node: &'ast mut AvroDocOn<T>)
fn visit_avro_schema_mut(&mut self, node: &'ast mut AvroSchema<T>)
fn visit_avro_schema_option_mut(&mut self, node: &'ast mut AvroSchemaOption<T>)
fn visit_avro_schema_option_name_mut( &mut self, node: &'ast mut AvroSchemaOptionName, )
fn visit_catalog_name_mut(&mut self, node: &'ast mut CatalogName)
fn visit_close_statement_mut(&mut self, node: &'ast mut CloseStatement)
fn visit_cluster_alter_option_mut( &mut self, node: &'ast mut ClusterAlterOption<T>, )
fn visit_cluster_alter_option_name_mut( &mut self, node: &'ast mut ClusterAlterOptionName, )
fn visit_cluster_alter_option_value_mut( &mut self, node: &'ast mut ClusterAlterOptionValue<T>, )
fn visit_cluster_alter_until_ready_option_mut( &mut self, node: &'ast mut ClusterAlterUntilReadyOption<T>, )
fn visit_cluster_alter_until_ready_option_name_mut( &mut self, node: &'ast mut ClusterAlterUntilReadyOptionName, )
fn visit_cluster_feature_mut(&mut self, node: &'ast mut ClusterFeature<T>)
fn visit_cluster_feature_name_mut(&mut self, node: &'ast mut ClusterFeatureName)
fn visit_cluster_option_mut(&mut self, node: &'ast mut ClusterOption<T>)
fn visit_cluster_option_name_mut(&mut self, node: &'ast mut ClusterOptionName)
fn visit_cluster_schedule_option_value_mut( &mut self, node: &'ast mut ClusterScheduleOptionValue, )
fn visit_column_def_mut(&mut self, node: &'ast mut ColumnDef<T>)
fn visit_column_name_mut(&mut self, node: &'ast mut ColumnName<T>)
fn visit_column_option_mut(&mut self, node: &'ast mut ColumnOption<T>)
fn visit_column_option_def_mut(&mut self, node: &'ast mut ColumnOptionDef<T>)
fn visit_column_versioned_mut(&mut self, node: &'ast mut ColumnVersioned)
fn visit_comment_object_type_mut( &mut self, node: &'ast mut CommentObjectType<T>, )
fn visit_comment_statement_mut(&mut self, node: &'ast mut CommentStatement<T>)
fn visit_commit_statement_mut(&mut self, node: &'ast mut CommitStatement)
fn visit_connection_default_aws_privatelink_mut( &mut self, node: &'ast mut ConnectionDefaultAwsPrivatelink<T>, )
fn visit_connection_option_mut(&mut self, node: &'ast mut ConnectionOption<T>)
fn visit_connection_option_name_mut( &mut self, node: &'ast mut ConnectionOptionName, )
fn visit_continual_task_option_mut( &mut self, node: &'ast mut ContinualTaskOption<T>, )
fn visit_continual_task_option_name_mut( &mut self, node: &'ast mut ContinualTaskOptionName, )
fn visit_continual_task_stmt_mut( &mut self, node: &'ast mut ContinualTaskStmt<T>, )
fn visit_copy_direction_mut(&mut self, node: &'ast mut CopyDirection)
fn visit_copy_option_mut(&mut self, node: &'ast mut CopyOption<T>)
fn visit_copy_option_name_mut(&mut self, node: &'ast mut CopyOptionName)
fn visit_copy_relation_mut(&mut self, node: &'ast mut CopyRelation<T>)
fn visit_copy_statement_mut(&mut self, node: &'ast mut CopyStatement<T>)
fn visit_copy_target_mut(&mut self, node: &'ast mut CopyTarget<T>)
fn visit_create_cluster_replica_statement_mut( &mut self, node: &'ast mut CreateClusterReplicaStatement<T>, )
fn visit_create_cluster_statement_mut( &mut self, node: &'ast mut CreateClusterStatement<T>, )
fn visit_create_connection_option_mut( &mut self, node: &'ast mut CreateConnectionOption<T>, )
fn visit_create_connection_option_name_mut( &mut self, node: &'ast mut CreateConnectionOptionName, )
fn visit_create_connection_statement_mut( &mut self, node: &'ast mut CreateConnectionStatement<T>, )
fn visit_create_connection_type_mut( &mut self, node: &'ast mut CreateConnectionType, )
fn visit_create_continual_task_statement_mut( &mut self, node: &'ast mut CreateContinualTaskStatement<T>, )
fn visit_create_continual_task_sugar_mut( &mut self, node: &'ast mut CreateContinualTaskSugar<T>, )
fn visit_create_database_statement_mut( &mut self, node: &'ast mut CreateDatabaseStatement, )
fn visit_create_index_statement_mut( &mut self, node: &'ast mut CreateIndexStatement<T>, )
fn visit_create_materialized_view_statement_mut( &mut self, node: &'ast mut CreateMaterializedViewStatement<T>, )
fn visit_create_network_policy_statement_mut( &mut self, node: &'ast mut CreateNetworkPolicyStatement<T>, )
fn visit_create_role_statement_mut( &mut self, node: &'ast mut CreateRoleStatement, )
fn visit_create_schema_statement_mut( &mut self, node: &'ast mut CreateSchemaStatement, )
fn visit_create_secret_statement_mut( &mut self, node: &'ast mut CreateSecretStatement<T>, )
fn visit_create_sink_connection_mut( &mut self, node: &'ast mut CreateSinkConnection<T>, )
fn visit_create_sink_option_mut(&mut self, node: &'ast mut CreateSinkOption<T>)
fn visit_create_sink_option_name_mut( &mut self, node: &'ast mut CreateSinkOptionName, )
fn visit_create_sink_statement_mut( &mut self, node: &'ast mut CreateSinkStatement<T>, )
fn visit_create_source_connection_mut( &mut self, node: &'ast mut CreateSourceConnection<T>, )
fn visit_create_source_option_mut( &mut self, node: &'ast mut CreateSourceOption<T>, )
fn visit_create_source_option_name_mut( &mut self, node: &'ast mut CreateSourceOptionName, )
fn visit_create_source_statement_mut( &mut self, node: &'ast mut CreateSourceStatement<T>, )
fn visit_create_subsource_option_mut( &mut self, node: &'ast mut CreateSubsourceOption<T>, )
fn visit_create_subsource_option_name_mut( &mut self, node: &'ast mut CreateSubsourceOptionName, )
fn visit_create_subsource_statement_mut( &mut self, node: &'ast mut CreateSubsourceStatement<T>, )
fn visit_create_table_from_source_statement_mut( &mut self, node: &'ast mut CreateTableFromSourceStatement<T>, )
fn visit_create_table_statement_mut( &mut self, node: &'ast mut CreateTableStatement<T>, )
fn visit_create_type_as_mut(&mut self, node: &'ast mut CreateTypeAs<T>)
fn visit_create_type_list_option_mut( &mut self, node: &'ast mut CreateTypeListOption<T>, )
fn visit_create_type_list_option_name_mut( &mut self, node: &'ast mut CreateTypeListOptionName, )
fn visit_create_type_map_option_mut( &mut self, node: &'ast mut CreateTypeMapOption<T>, )
fn visit_create_type_map_option_name_mut( &mut self, node: &'ast mut CreateTypeMapOptionName, )
fn visit_create_type_statement_mut( &mut self, node: &'ast mut CreateTypeStatement<T>, )
fn visit_create_view_statement_mut( &mut self, node: &'ast mut CreateViewStatement<T>, )
fn visit_create_webhook_source_body_mut( &mut self, node: &'ast mut CreateWebhookSourceBody, )
fn visit_create_webhook_source_check_mut( &mut self, node: &'ast mut CreateWebhookSourceCheck<T>, )
fn visit_create_webhook_source_check_options_mut( &mut self, node: &'ast mut CreateWebhookSourceCheckOptions<T>, )
fn visit_create_webhook_source_filter_header_mut( &mut self, node: &'ast mut CreateWebhookSourceFilterHeader, )
fn visit_create_webhook_source_header_mut( &mut self, node: &'ast mut CreateWebhookSourceHeader, )
fn visit_create_webhook_source_include_headers_mut( &mut self, node: &'ast mut CreateWebhookSourceIncludeHeaders, )
fn visit_create_webhook_source_map_header_mut( &mut self, node: &'ast mut CreateWebhookSourceMapHeader, )
fn visit_create_webhook_source_secret_mut( &mut self, node: &'ast mut CreateWebhookSourceSecret<T>, )
fn visit_create_webhook_source_statement_mut( &mut self, node: &'ast mut CreateWebhookSourceStatement<T>, )
fn visit_csr_config_option_mut(&mut self, node: &'ast mut CsrConfigOption<T>)
fn visit_csr_config_option_name_mut( &mut self, node: &'ast mut CsrConfigOptionName<T>, )
fn visit_csr_connection_mut(&mut self, node: &'ast mut CsrConnection<T>)
fn visit_csr_connection_avro_mut( &mut self, node: &'ast mut CsrConnectionAvro<T>, )
fn visit_csr_connection_protobuf_mut( &mut self, node: &'ast mut CsrConnectionProtobuf<T>, )
fn visit_csr_seed_avro_mut(&mut self, node: &'ast mut CsrSeedAvro)
fn visit_csr_seed_protobuf_mut(&mut self, node: &'ast mut CsrSeedProtobuf)
fn visit_csr_seed_protobuf_schema_mut( &mut self, node: &'ast mut CsrSeedProtobufSchema, )
fn visit_csv_columns_mut(&mut self, node: &'ast mut CsvColumns)
fn visit_cte_mut(&mut self, node: &'ast mut Cte<T>)
fn visit_cte_block_mut(&mut self, node: &'ast mut CteBlock<T>)
fn visit_cte_mut_rec_mut(&mut self, node: &'ast mut CteMutRec<T>)
fn visit_cte_mut_rec_column_def_mut( &mut self, node: &'ast mut CteMutRecColumnDef<T>, )
fn visit_date_time_field_mut(&mut self, node: &'ast mut DateTimeField)
fn visit_deallocate_statement_mut( &mut self, node: &'ast mut DeallocateStatement, )
fn visit_declare_statement_mut(&mut self, node: &'ast mut DeclareStatement<T>)
fn visit_deferred_item_name_mut(&mut self, node: &'ast mut DeferredItemName<T>)
fn visit_delete_statement_mut(&mut self, node: &'ast mut DeleteStatement<T>)
fn visit_discard_statement_mut(&mut self, node: &'ast mut DiscardStatement)
fn visit_discard_target_mut(&mut self, node: &'ast mut DiscardTarget)
fn visit_distinct_mut(&mut self, node: &'ast mut Distinct<T>)
fn visit_doc_on_identifier_mut(&mut self, node: &'ast mut DocOnIdentifier<T>)
fn visit_doc_on_schema_mut(&mut self, node: &'ast mut DocOnSchema)
fn visit_drop_objects_statement_mut( &mut self, node: &'ast mut DropObjectsStatement, )
fn visit_drop_owned_statement_mut( &mut self, node: &'ast mut DropOwnedStatement<T>, )
fn visit_execute_statement_mut(&mut self, node: &'ast mut ExecuteStatement<T>)
fn visit_explain_format_mut(&mut self, node: &'ast mut ExplainFormat)
fn visit_explain_plan_option_mut( &mut self, node: &'ast mut ExplainPlanOption<T>, )
fn visit_explain_plan_option_name_mut( &mut self, node: &'ast mut ExplainPlanOptionName, )
fn visit_explain_plan_statement_mut( &mut self, node: &'ast mut ExplainPlanStatement<T>, )
fn visit_explain_pushdown_statement_mut( &mut self, node: &'ast mut ExplainPushdownStatement<T>, )
fn visit_explain_sink_schema_for_mut( &mut self, node: &'ast mut ExplainSinkSchemaFor, )
fn visit_explain_sink_schema_statement_mut( &mut self, node: &'ast mut ExplainSinkSchemaStatement<T>, )
fn visit_explain_stage_mut(&mut self, node: &'ast mut ExplainStage)
fn visit_explain_timestamp_statement_mut( &mut self, node: &'ast mut ExplainTimestampStatement<T>, )
fn visit_explainee_mut(&mut self, node: &'ast mut Explainee<T>)
fn visit_external_reference_export_mut( &mut self, node: &'ast mut ExternalReferenceExport, )
fn visit_external_references_mut(&mut self, node: &'ast mut ExternalReferences)
fn visit_fetch_direction_mut(&mut self, node: &'ast mut FetchDirection)
fn visit_fetch_option_mut(&mut self, node: &'ast mut FetchOption<T>)
fn visit_fetch_option_name_mut(&mut self, node: &'ast mut FetchOptionName)
fn visit_fetch_statement_mut(&mut self, node: &'ast mut FetchStatement<T>)
fn visit_format_mut(&mut self, node: &'ast mut Format<T>)
fn visit_format_specifier_mut(&mut self, node: &'ast mut FormatSpecifier<T>)
fn visit_function_mut(&mut self, node: &'ast mut Function<T>)
fn visit_function_args_mut(&mut self, node: &'ast mut FunctionArgs<T>)
fn visit_grant_privileges_statement_mut( &mut self, node: &'ast mut GrantPrivilegesStatement<T>, )
fn visit_grant_role_statement_mut( &mut self, node: &'ast mut GrantRoleStatement<T>, )
fn visit_grant_target_all_specification_mut( &mut self, node: &'ast mut GrantTargetAllSpecification<T>, )
fn visit_grant_target_specification_mut( &mut self, node: &'ast mut GrantTargetSpecification<T>, )
fn visit_grant_target_specification_inner_mut( &mut self, node: &'ast mut GrantTargetSpecificationInner<T>, )
fn visit_homogenizing_function_mut( &mut self, node: &'ast mut HomogenizingFunction, )
fn visit_ident_mut(&mut self, node: &'ast mut Ident)
fn visit_ident_error_mut(&mut self, node: &'ast mut IdentError)
fn visit_if_exists_behavior_mut(&mut self, node: &'ast mut IfExistsBehavior)
fn visit_index_option_mut(&mut self, node: &'ast mut IndexOption<T>)
fn visit_index_option_name_mut(&mut self, node: &'ast mut IndexOptionName)
fn visit_insert_source_mut(&mut self, node: &'ast mut InsertSource<T>)
fn visit_insert_statement_mut(&mut self, node: &'ast mut InsertStatement<T>)
fn visit_inspect_shard_statement_mut( &mut self, node: &'ast mut InspectShardStatement, )
fn visit_interval_value_mut(&mut self, node: &'ast mut IntervalValue)
fn visit_is_expr_construct_mut(&mut self, node: &'ast mut IsExprConstruct<T>)
fn visit_join_mut(&mut self, node: &'ast mut Join<T>)
fn visit_join_constraint_mut(&mut self, node: &'ast mut JoinConstraint<T>)
fn visit_join_operator_mut(&mut self, node: &'ast mut JoinOperator<T>)
fn visit_kafka_broker_mut(&mut self, node: &'ast mut KafkaBroker<T>)
fn visit_kafka_broker_aws_privatelink_mut( &mut self, node: &'ast mut KafkaBrokerAwsPrivatelink<T>, )
fn visit_kafka_broker_aws_privatelink_option_mut( &mut self, node: &'ast mut KafkaBrokerAwsPrivatelinkOption<T>, )
fn visit_kafka_broker_aws_privatelink_option_name_mut( &mut self, node: &'ast mut KafkaBrokerAwsPrivatelinkOptionName, )
fn visit_kafka_broker_tunnel_mut( &mut self, node: &'ast mut KafkaBrokerTunnel<T>, )
fn visit_kafka_sink_config_option_mut( &mut self, node: &'ast mut KafkaSinkConfigOption<T>, )
fn visit_kafka_sink_config_option_name_mut( &mut self, node: &'ast mut KafkaSinkConfigOptionName, )
fn visit_kafka_sink_key_mut(&mut self, node: &'ast mut KafkaSinkKey)
fn visit_kafka_source_config_option_mut( &mut self, node: &'ast mut KafkaSourceConfigOption<T>, )
fn visit_kafka_source_config_option_name_mut( &mut self, node: &'ast mut KafkaSourceConfigOptionName, )
fn visit_key_constraint_mut(&mut self, node: &'ast mut KeyConstraint)
fn visit_limit_mut(&mut self, node: &'ast mut Limit<T>)
fn visit_load_generator_mut(&mut self, node: &'ast mut LoadGenerator)
fn visit_load_generator_option_mut( &mut self, node: &'ast mut LoadGeneratorOption<T>, )
fn visit_load_generator_option_name_mut( &mut self, node: &'ast mut LoadGeneratorOptionName, )
fn visit_map_entry_mut(&mut self, node: &'ast mut MapEntry<T>)
fn visit_materialized_view_option_mut( &mut self, node: &'ast mut MaterializedViewOption<T>, )
fn visit_materialized_view_option_name_mut( &mut self, node: &'ast mut MaterializedViewOptionName, )
fn visit_mut_rec_block_mut(&mut self, node: &'ast mut MutRecBlock<T>)
fn visit_mut_rec_block_option_mut( &mut self, node: &'ast mut MutRecBlockOption<T>, )
fn visit_mut_rec_block_option_name_mut( &mut self, node: &'ast mut MutRecBlockOptionName, )
fn visit_my_sql_config_option_mut( &mut self, node: &'ast mut MySqlConfigOption<T>, )
fn visit_my_sql_config_option_name_mut( &mut self, node: &'ast mut MySqlConfigOptionName, )
fn visit_named_plan_mut(&mut self, node: &'ast mut NamedPlan)
fn visit_network_policy_option_mut( &mut self, node: &'ast mut NetworkPolicyOption<T>, )
fn visit_network_policy_option_name_mut( &mut self, node: &'ast mut NetworkPolicyOptionName, )
fn visit_network_policy_rule_definition_mut( &mut self, node: &'ast mut NetworkPolicyRuleDefinition<T>, )
fn visit_network_policy_rule_option_mut( &mut self, node: &'ast mut NetworkPolicyRuleOption<T>, )
fn visit_network_policy_rule_option_name_mut( &mut self, node: &'ast mut NetworkPolicyRuleOptionName, )
fn visit_notice_severity_mut(&mut self, node: &'ast mut NoticeSeverity)
fn visit_object_type_mut(&mut self, node: &'ast mut ObjectType)
fn visit_op_mut(&mut self, node: &'ast mut Op)
fn visit_order_by_expr_mut(&mut self, node: &'ast mut OrderByExpr<T>)
fn visit_pg_config_option_mut(&mut self, node: &'ast mut PgConfigOption<T>)
fn visit_pg_config_option_name_mut( &mut self, node: &'ast mut PgConfigOptionName, )
fn visit_prepare_statement_mut(&mut self, node: &'ast mut PrepareStatement<T>)
fn visit_privilege_mut(&mut self, node: &'ast mut Privilege)
fn visit_privilege_specification_mut( &mut self, node: &'ast mut PrivilegeSpecification, )
fn visit_protobuf_schema_mut(&mut self, node: &'ast mut ProtobufSchema<T>)
fn visit_qualified_replica_mut(&mut self, node: &'ast mut QualifiedReplica)
fn visit_query_mut(&mut self, node: &'ast mut Query<T>)
fn visit_raise_statement_mut(&mut self, node: &'ast mut RaiseStatement)
fn visit_reader_schema_selection_strategy_mut( &mut self, node: &'ast mut ReaderSchemaSelectionStrategy, )
fn visit_reassign_owned_statement_mut( &mut self, node: &'ast mut ReassignOwnedStatement<T>, )
fn visit_refresh_at_option_value_mut( &mut self, node: &'ast mut RefreshAtOptionValue<T>, )
fn visit_refresh_every_option_value_mut( &mut self, node: &'ast mut RefreshEveryOptionValue<T>, )
fn visit_refresh_option_value_mut( &mut self, node: &'ast mut RefreshOptionValue<T>, )
fn visit_replica_definition_mut(&mut self, node: &'ast mut ReplicaDefinition<T>)
fn visit_replica_option_mut(&mut self, node: &'ast mut ReplicaOption<T>)
fn visit_replica_option_name_mut(&mut self, node: &'ast mut ReplicaOptionName)
fn visit_reset_variable_statement_mut( &mut self, node: &'ast mut ResetVariableStatement, )
fn visit_revoke_privileges_statement_mut( &mut self, node: &'ast mut RevokePrivilegesStatement<T>, )
fn visit_revoke_role_statement_mut( &mut self, node: &'ast mut RevokeRoleStatement<T>, )
fn visit_role_attribute_mut(&mut self, node: &'ast mut RoleAttribute)
fn visit_rollback_statement_mut(&mut self, node: &'ast mut RollbackStatement)
fn visit_schema_mut(&mut self, node: &'ast mut Schema)
fn visit_select_mut(&mut self, node: &'ast mut Select<T>)
fn visit_select_item_mut(&mut self, node: &'ast mut SelectItem<T>)
fn visit_select_option_mut(&mut self, node: &'ast mut SelectOption<T>)
fn visit_select_option_name_mut(&mut self, node: &'ast mut SelectOptionName)
fn visit_select_statement_mut(&mut self, node: &'ast mut SelectStatement<T>)
fn visit_set_expr_mut(&mut self, node: &'ast mut SetExpr<T>)
fn visit_set_operator_mut(&mut self, node: &'ast mut SetOperator)
fn visit_set_role_var_mut(&mut self, node: &'ast mut SetRoleVar)
fn visit_set_transaction_statement_mut( &mut self, node: &'ast mut SetTransactionStatement, )
fn visit_set_variable_statement_mut( &mut self, node: &'ast mut SetVariableStatement, )
fn visit_set_variable_to_mut(&mut self, node: &'ast mut SetVariableTo)
fn visit_set_variable_value_mut(&mut self, node: &'ast mut SetVariableValue)
fn visit_show_columns_statement_mut( &mut self, node: &'ast mut ShowColumnsStatement<T>, )
fn visit_show_create_cluster_statement_mut( &mut self, node: &'ast mut ShowCreateClusterStatement<T>, )
fn visit_show_create_connection_statement_mut( &mut self, node: &'ast mut ShowCreateConnectionStatement<T>, )
fn visit_show_create_index_statement_mut( &mut self, node: &'ast mut ShowCreateIndexStatement<T>, )
fn visit_show_create_materialized_view_statement_mut( &mut self, node: &'ast mut ShowCreateMaterializedViewStatement<T>, )
fn visit_show_create_sink_statement_mut( &mut self, node: &'ast mut ShowCreateSinkStatement<T>, )
fn visit_show_create_source_statement_mut( &mut self, node: &'ast mut ShowCreateSourceStatement<T>, )
fn visit_show_create_table_statement_mut( &mut self, node: &'ast mut ShowCreateTableStatement<T>, )
fn visit_show_create_view_statement_mut( &mut self, node: &'ast mut ShowCreateViewStatement<T>, )
fn visit_show_object_type_mut(&mut self, node: &'ast mut ShowObjectType<T>)
fn visit_show_objects_statement_mut( &mut self, node: &'ast mut ShowObjectsStatement<T>, )
fn visit_show_statement_mut(&mut self, node: &'ast mut ShowStatement<T>)
fn visit_show_statement_filter_mut( &mut self, node: &'ast mut ShowStatementFilter<T>, )
fn visit_show_variable_statement_mut( &mut self, node: &'ast mut ShowVariableStatement, )
fn visit_sink_envelope_mut(&mut self, node: &'ast mut SinkEnvelope)
fn visit_source_envelope_mut(&mut self, node: &'ast mut SourceEnvelope)
fn visit_source_error_policy_mut(&mut self, node: &'ast mut SourceErrorPolicy)
fn visit_source_include_metadata_mut( &mut self, node: &'ast mut SourceIncludeMetadata, )
fn visit_start_transaction_statement_mut( &mut self, node: &'ast mut StartTransactionStatement, )
fn visit_statement_mut(&mut self, node: &'ast mut Statement<T>)
fn visit_subscribe_option_mut(&mut self, node: &'ast mut SubscribeOption<T>)
fn visit_subscribe_option_name_mut( &mut self, node: &'ast mut SubscribeOptionName, )
fn visit_subscribe_output_mut(&mut self, node: &'ast mut SubscribeOutput<T>)
fn visit_subscribe_relation_mut(&mut self, node: &'ast mut SubscribeRelation<T>)
fn visit_subscribe_statement_mut( &mut self, node: &'ast mut SubscribeStatement<T>, )
fn visit_subscript_position_mut(&mut self, node: &'ast mut SubscriptPosition<T>)
fn visit_system_object_type_mut(&mut self, node: &'ast mut SystemObjectType)
fn visit_cluster_name_mut( &mut self, node: &'ast mut <T as AstInfo>::ClusterName, )
fn visit_column_reference_mut( &mut self, node: &'ast mut <T as AstInfo>::ColumnReference, )
fn visit_cte_id_mut(&mut self, node: &'ast mut <T as AstInfo>::CteId)
fn visit_data_type_mut(&mut self, node: &'ast mut <T as AstInfo>::DataType)
fn visit_database_name_mut( &mut self, node: &'ast mut <T as AstInfo>::DatabaseName, )
fn visit_item_name_mut(&mut self, node: &'ast mut <T as AstInfo>::ItemName)
fn visit_nested_statement_mut( &mut self, node: &'ast mut <T as AstInfo>::NestedStatement, )
fn visit_network_policy_name_mut( &mut self, node: &'ast mut <T as AstInfo>::NetworkPolicyName, )
fn visit_object_name_mut(&mut self, node: &'ast mut <T as AstInfo>::ObjectName)
fn visit_role_name_mut(&mut self, node: &'ast mut <T as AstInfo>::RoleName)
fn visit_schema_name_mut(&mut self, node: &'ast mut <T as AstInfo>::SchemaName)
fn visit_table_alias_mut(&mut self, node: &'ast mut TableAlias)
fn visit_table_constraint_mut(&mut self, node: &'ast mut TableConstraint<T>)
fn visit_table_factor_mut(&mut self, node: &'ast mut TableFactor<T>)
fn visit_table_from_source_columns_mut( &mut self, node: &'ast mut TableFromSourceColumns<T>, )
fn visit_table_from_source_option_mut( &mut self, node: &'ast mut TableFromSourceOption<T>, )
fn visit_table_from_source_option_name_mut( &mut self, node: &'ast mut TableFromSourceOptionName, )
fn visit_table_option_mut(&mut self, node: &'ast mut TableOption<T>)
fn visit_table_option_name_mut(&mut self, node: &'ast mut TableOptionName)
fn visit_table_with_joins_mut(&mut self, node: &'ast mut TableWithJoins<T>)
fn visit_target_role_specification_mut( &mut self, node: &'ast mut TargetRoleSpecification<T>, )
fn visit_transaction_access_mode_mut( &mut self, node: &'ast mut TransactionAccessMode, )
fn visit_transaction_isolation_level_mut( &mut self, node: &'ast mut TransactionIsolationLevel, )
fn visit_transaction_mode_mut(&mut self, node: &'ast mut TransactionMode)
fn visit_unresolved_database_name_mut( &mut self, node: &'ast mut UnresolvedDatabaseName, )
fn visit_unresolved_item_name_mut(&mut self, node: &'ast mut UnresolvedItemName)
fn visit_unresolved_object_name_mut( &mut self, node: &'ast mut UnresolvedObjectName, )
fn visit_unresolved_schema_name_mut( &mut self, node: &'ast mut UnresolvedSchemaName, )
fn visit_update_statement_mut(&mut self, node: &'ast mut UpdateStatement<T>)
fn visit_validate_connection_statement_mut( &mut self, node: &'ast mut ValidateConnectionStatement<T>, )
fn visit_value_mut(&mut self, node: &'ast mut Value)
fn visit_value_error_mut(&mut self, node: &'ast mut ValueError)
fn visit_values_mut(&mut self, node: &'ast mut Values<T>)
fn visit_version_mut(&mut self, node: &'ast mut Version)
fn visit_view_definition_mut(&mut self, node: &'ast mut ViewDefinition<T>)
fn visit_window_frame_mut(&mut self, node: &'ast mut WindowFrame)
fn visit_window_frame_bound_mut(&mut self, node: &'ast mut WindowFrameBound)
fn visit_window_frame_units_mut(&mut self, node: &'ast mut WindowFrameUnits)
fn visit_window_spec_mut(&mut self, node: &'ast mut WindowSpec<T>)
fn visit_with_option_value_mut(&mut self, node: &'ast mut WithOptionValue<T>)
Auto Trait Implementations§
impl<'a> !Freeze for Desugarer<'a>
impl<'a> !RefUnwindSafe for Desugarer<'a>
impl<'a> !Send for Desugarer<'a>
impl<'a> !Sync for Desugarer<'a>
impl<'a> Unpin for Desugarer<'a>
impl<'a> !UnwindSafe for Desugarer<'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.