CUBRID Engine
latest
|
#include <parse_tree.h>
Public Attributes | |
int | correlation_level |
PT_MISC_TYPE | all_distinct |
PT_MISC_TYPE | is_subquery |
char | is_view_spec |
char | oids_included |
SCAN_OPERATION_TYPE | scan_op_type |
int | upd_del_class_cnt |
int | mvcc_reev_extra_cls_cnt |
struct { | |
unsigned has_outer_spec:1 | |
unsigned is_sort_spec:1 | |
unsigned is_insert_select:1 | |
unsigned single_tuple:1 | |
unsigned vspec_as_derived:1 | |
unsigned reexecute:1 | |
unsigned do_cache:1 | |
unsigned do_not_cache:1 | |
unsigned order_siblings:1 | |
unsigned rewrite_limit:1 | |
unsigned has_system_class:1 | |
} | flag |
PT_NODE * | order_by |
PT_NODE * | orderby_for |
PT_NODE * | into_list |
PT_NODE * | qcache_hint |
PT_NODE * | limit |
void * | xasl |
UINTPTR | id |
PT_HINT_ENUM | hint |
bool | is_order_dependent |
PT_NODE * | with |
union { | |
PT_SELECT_INFO select | |
PT_UNION_INFO union_ | |
} | q |
Definition at line 2743 of file parse_tree.h.
PT_MISC_TYPE pt_query_info::all_distinct |
Definition at line 2746 of file parse_tree.h.
Referenced by add_union_query(), mq_flatten_union(), mq_substitute_subquery_in_statement(), mq_translate_select(), mq_updatable_local(), pt_check_order_by(), pt_coerce_range_expr_arguments(), pt_eval_type_pre(), pt_init_difference(), pt_init_intersection(), pt_init_select(), pt_init_union_stmt(), pt_print_difference(), pt_print_intersection(), pt_print_select(), pt_print_union_stmt(), pt_reset_error(), pt_resolve_cte_specs(), pt_to_buildlist_proc(), pt_to_buildvalue_proc(), pt_to_false_subquery(), pt_to_union_proc(), qo_analyze_path_join(), qo_discover_sort_limit_nodes(), qo_get_ils_prefix_length(), qo_reduce_order_by(), and qo_top_plan_new().
int pt_query_info::correlation_level |
Definition at line 2745 of file parse_tree.h.
Referenced by check_subquery_pre(), get_local_subqueries_post(), get_local_subqueries_pre(), is_dependent_table(), meth_bump_corr_pre(), meth_find_outside_refs(), meth_translate_spec(), mq_bump_corr_pre(), mq_bump_order_dep_corr_lvl_pre(), mq_class_meth_corr_subq_pre(), mq_copypush_sargable_terms_helper(), mq_rewrite_agg_names(), mq_rewrite_aggregate_as_derived(), mq_rewrite_order_dependent_query(), mq_rewrite_query_as_derived(), mq_union_bump_correlation(), parser_generate_xasl_proc(), pt_bind_names(), pt_build_do_stmt_aptr_list_pre(), pt_check_single_valued_node(), pt_corr_pre(), pt_find_aggregate_functions_pre(), pt_find_name_id_pre(), pt_is_pseudo_const(), pt_to_false_subquery(), pt_to_merge_insert_query(), pt_uncorr_post(), pt_union(), qo_analyze_path_join(), qo_is_oid_const(), and qo_rewrite_subqueries().
unsigned pt_query_info::do_cache |
Definition at line 2763 of file parse_tree.h.
Referenced by do_execute_select(), pt_check_with_info(), and pt_get_hint().
unsigned pt_query_info::do_not_cache |
Definition at line 2764 of file parse_tree.h.
Referenced by db_compile_statement_local(), do_execute_select(), pt_check_with_info(), and pt_get_hint().
struct { ... } pt_query_info::flag |
Referenced by db_compile_statement_local(), do_execute_select(), mq_class_lambda(), mq_rewrite_vclass_spec_as_derived(), mq_substitute_subquery_in_statement(), pt_check_with_info(), pt_eval_type_pre(), pt_fold_union(), pt_get_hint(), pt_plan_cte(), pt_print_difference(), pt_print_intersection(), pt_print_select(), pt_print_union_stmt(), pt_select_list_to_one_col(), pt_semantic_check_local(), pt_set_connect_by_xasl(), pt_to_buildlist_proc(), pt_to_false_subquery(), pt_to_merge_insert_query(), pt_to_union_proc(), pt_try_remove_order_by(), and qo_optimize_queries().
unsigned pt_query_info::has_outer_spec |
Definition at line 2757 of file parse_tree.h.
Referenced by pt_eval_type_pre(), and pt_to_false_subquery().
unsigned pt_query_info::has_system_class |
Definition at line 2767 of file parse_tree.h.
Referenced by pt_check_with_info().
PT_HINT_ENUM pt_query_info::hint |
Definition at line 2776 of file parse_tree.h.
Referenced by pt_get_hint(), pt_init_difference(), pt_init_intersection(), pt_init_select(), pt_init_union_stmt(), and pt_print_select().
UINTPTR pt_query_info::id |
Definition at line 2775 of file parse_tree.h.
Referenced by mq_rewrite_query_as_derived(), mq_substitute_subquery_in_statement(), parser_generate_xasl_proc(), pt_set_is_view_spec(), and pt_union().
PT_NODE* pt_query_info::into_list |
Definition at line 2771 of file parse_tree.h.
Referenced by db_can_execute_statement_with_autocommit(), do_execute_select(), do_select_internal(), mq_translate_select(), pt_apply_difference(), pt_apply_intersection(), pt_apply_select(), pt_apply_union_stmt(), pt_check_into_clause(), pt_check_vclass_query_spec(), pt_print_select(), and set_prepare_info_into_list().
unsigned pt_query_info::is_insert_select |
Definition at line 2759 of file parse_tree.h.
Referenced by pt_eval_type_pre(), and pt_to_false_subquery().
bool pt_query_info::is_order_dependent |
Definition at line 2777 of file parse_tree.h.
unsigned pt_query_info::is_sort_spec |
Definition at line 2758 of file parse_tree.h.
Referenced by pt_eval_type_pre(), and pt_to_false_subquery().
PT_MISC_TYPE pt_query_info::is_subquery |
Definition at line 2747 of file parse_tree.h.
Referenced by meth_translate_spec(), mq_class_lambda(), mq_derived_path(), mq_rewrite_aggregate_as_derived(), mq_rewrite_order_dependent_query(), mq_rewrite_query_as_derived(), mq_rewrite_vclass_spec_as_derived(), mq_set_union_query(), mq_translate_helper(), mq_translate_local(), parser_generate_xasl(), pt_check_into_clause(), pt_check_subquery_post(), pt_coerce_expression_argument(), pt_eval_type(), pt_init_select(), pt_is_subquery(), pt_make_collection_type_subquery_node(), pt_make_outer_select_for_show_columns(), pt_make_outer_select_for_show_stmt(), pt_plan_query(), pt_print_insert(), pt_print_select(), pt_resolve_cte_specs(), pt_to_merge_insert_query(), pt_union(), qo_analyze_path_join(), qo_env_dump(), qo_optimize_queries(), qo_rewrite_hidden_col_as_derived(), and qo_rewrite_subqueries().
char pt_query_info::is_view_spec |
Definition at line 2749 of file parse_tree.h.
Referenced by mq_check_rewrite_select(), and pt_set_is_view_spec().
PT_NODE* pt_query_info::limit |
Definition at line 2773 of file parse_tree.h.
Referenced by add_union_query(), mq_substitute_subquery_in_statement(), pt_apply_select(), pt_apply_union_stmt(), pt_check_order_by(), pt_eval_type_pre(), pt_fold_union(), pt_get_query_limit_value(), pt_make_dummy_query_check_table(), pt_plan_cte(), pt_print_difference(), pt_print_intersection(), pt_print_select(), pt_print_union_stmt(), pt_to_buildlist_proc(), pt_to_union_proc(), pt_try_remove_order_by(), qo_do_auto_parameterize_limit_clause(), and qo_optimize_queries().
int pt_query_info::mvcc_reev_extra_cls_cnt |
Definition at line 2753 of file parse_tree.h.
Referenced by parser_generate_xasl_proc(), pt_mvcc_prepare_upd_del_select(), pt_to_delete_xasl(), pt_to_merge_update_xasl(), and pt_to_update_xasl().
char pt_query_info::oids_included |
Definition at line 2750 of file parse_tree.h.
Referenced by db_can_execute_statement_with_autocommit(), db_query_produce_updatable_result(), do_execute_select(), do_prepare_select(), do_process_prepare_statement(), mq_check_rewrite_select(), mq_rewrite_order_dependent_query(), pt_add_oid_to_select_list(), pt_get_one_tuple_from_list_id(), and pt_new_query_result_descriptor().
PT_NODE* pt_query_info::order_by |
Definition at line 2769 of file parse_tree.h.
Referenced by add_sort_spec(), add_union_query(), make_sort_limit_proc(), mq_make_derived_spec(), mq_rewrite_order_dependent_query(), mq_rewrite_query_as_derived(), mq_substitute_subquery_in_statement(), mq_translate_select(), mq_translate_tree(), mq_update_order_by(), pt_add_oid_to_select_list(), pt_apply_difference(), pt_apply_intersection(), pt_apply_select(), pt_apply_union_stmt(), pt_bind_names(), pt_check_copypush_subquery(), pt_check_order_by(), pt_chop_to_one_select_item(), pt_copypush_terms(), pt_eval_type_pre(), pt_fold_union(), pt_from_list_part(), pt_gen_optimized_plan(), pt_make_query_show_collation(), pt_make_query_show_columns(), pt_make_query_show_grants(), pt_make_query_show_index(), pt_make_query_show_table(), pt_make_query_showstmt(), pt_mark_group_having_pt_name(), pt_plan_query(), pt_print_difference(), pt_print_intersection(), pt_print_select(), pt_print_union_stmt(), pt_resolve_group_having_alias(), pt_select_list_to_one_col(), pt_semantic_check_local(), pt_set_orderby_for_sort_limit_plan(), pt_to_buildlist_proc(), pt_to_buildschema_proc(), pt_to_false_subquery(), pt_to_union_proc(), pt_to_upd_del_query(), pt_try_remove_order_by(), qo_check_iscan_for_multi_range_opt(), qo_check_orderby_skip_descending(), qo_discover_sort_limit_nodes(), qo_optimize_queries(), qo_plan_is_orderby_skip_candidate(), qo_plan_print_sort_spec(), qo_reduce_order_by(), qo_rewrite_hidden_col_as_derived(), qo_search_planner(), qo_top_plan_new(), qo_top_plan_print_json(), and qo_top_plan_print_text().
unsigned pt_query_info::order_siblings |
Definition at line 2765 of file parse_tree.h.
Referenced by mq_substitute_subquery_in_statement(), pt_print_select(), pt_set_connect_by_xasl(), and pt_try_remove_order_by().
PT_NODE* pt_query_info::orderby_for |
Definition at line 2770 of file parse_tree.h.
Referenced by add_sort_spec(), make_sort_limit_proc(), mq_is_pushable_subquery(), mq_substitute_subquery_in_statement(), pt_apply_difference(), pt_apply_intersection(), pt_apply_select(), pt_apply_union_stmt(), pt_check_copypush_subquery(), pt_copypush_terms(), pt_eval_type(), pt_eval_type_pre(), pt_false_where(), pt_fold_union(), pt_get_query_limit_value(), pt_print_difference(), pt_print_intersection(), pt_print_select(), pt_print_union_stmt(), pt_select_list_to_one_col(), pt_to_buildlist_proc(), pt_to_buildvalue_proc(), pt_to_false_subquery(), pt_to_union_proc(), pt_to_upd_del_query(), pt_try_remove_order_by(), qo_optimize_queries(), qo_reduce_order_by(), qo_reduce_order_by_for(), qo_rewrite_hidden_col_as_derived(), qo_rewrite_subqueries(), and qo_top_plan_new().
union { ... } pt_query_info::q |
Referenced by add_access_spec(), add_hint(), add_union_query(), db_can_execute_statement_with_autocommit(), db_get_jdbccachehint(), do_recreate_filter_index_constr(), do_recreate_func_index_constr(), do_set_pruning_type(), get_local_subqueries(), get_natural_join_attrs_from_pt_spec(), init_list_scan_proc(), is_local_name(), meth_collapse_nodes(), meth_find_last_entity(), meth_find_merge(), meth_find_outside_refs(), meth_is_method(), meth_translate_helper(), meth_translate_select(), meth_translate_spec(), mq_add_dummy_from_pre(), mq_check_rewrite_select(), mq_check_vclass_for_insert(), mq_class_lambda(), mq_compute_query_authorization(), mq_copypush_sargable_terms(), mq_copypush_sargable_terms_helper(), mq_derived_path(), mq_fetch_expression_for_real_class_update(), mq_fetch_one_real_class_get_cache(), mq_fetch_select_for_real_class_update(), mq_fix_derived_in_union(), mq_flatten_union(), mq_get_expression(), mq_has_class_methods_corr_subqueries(), mq_invert_insert_select(), mq_invert_insert_subquery(), mq_invert_subqueries(), mq_is_pushable_subquery(), mq_lambda_node(), mq_make_derived_spec(), mq_mark_location(), mq_push_arg2(), mq_push_dot_in_query(), mq_push_paths(), mq_reset_select_specs(), mq_reset_spec_ids(), mq_rewrite_agg_names(), mq_rewrite_aggregate_as_derived(), mq_rewrite_order_dependent_nodes(), mq_rewrite_order_dependent_query(), mq_rewrite_query_as_derived(), mq_rewrite_vclass_spec_as_derived(), mq_set_non_updatable_oid(), mq_set_types(), mq_set_union_query(), mq_substitute_select_in_statement(), mq_substitute_subquery_in_statement(), mq_translate_helper(), mq_translate_insert(), mq_translate_local(), mq_translate_paths(), mq_translate_select(), mq_translate_subqueries(), mq_updatable_local(), mq_update_order_by(), mq_virtual_queries(), parser_generate_xasl_post(), parser_generate_xasl_proc(), preserve_info(), pt_add_name_col_to_sel_list(), pt_add_oid_to_select_list(), pt_add_string_col_to_sel_list(), pt_add_table_name_to_from_list(), pt_append_odku_references(), pt_append_query_select_list(), pt_apply_difference(), pt_apply_intersection(), pt_apply_select(), pt_apply_union_select_list_collation(), pt_apply_union_stmt(), pt_bind_names(), pt_bind_names_post(), pt_check_access_status(), pt_check_alter_partition(), pt_check_analytic_function(), pt_check_copypush_subquery(), pt_check_for_update_clause(), pt_check_level_expr(), pt_check_order_by(), pt_check_show_index(), pt_check_single_valued_node(), pt_check_table_in_show_heap(), pt_check_type_compatibility_of_values_query(), pt_check_union_compatibility(), pt_check_union_is_foldable(), pt_check_union_type_compatibility_of_values_query(), pt_check_vclass_union_spec(), pt_chop_to_one_select_item(), pt_class_part(), pt_coerce_node_collation(), pt_coerce_node_collection_of_collection(), pt_copy_upddel_hints_to_select(), pt_copypush_terms(), pt_do_cnf(), pt_eval_type(), pt_eval_type_pre(), pt_expand_isnull_preds(), pt_false_where(), pt_find_aggregate_analytic_in_where(), pt_find_aggregate_functions_post(), pt_find_aggregate_functions_pre(), pt_find_aggregate_names(), pt_find_lck_classes(), pt_fix_first_term_func_index_for_iss(), pt_fold_union(), pt_for_update_prepare_query_internal(), pt_from_list_part(), pt_gen_optimized_plan(), pt_gen_simple_merge_plan(), pt_gen_simple_plan(), pt_get_collation_info_for_collection_type(), pt_get_from_list(), pt_get_hint(), pt_get_select_list(), pt_get_select_list_coll_compat(), pt_get_subquery_list(), pt_get_values_query_compatible_info(), pt_has_aggregate(), pt_has_analytic(), pt_has_using_index_clause(), pt_init_select(), pt_is_single_tuple(), pt_make_collection_type_subquery_node(), pt_make_connect_by_proc(), pt_make_field_extra_expr_node(), pt_make_field_key_type_expr_node(), pt_make_field_type_expr_node(), pt_make_outer_select_for_show_stmt(), pt_make_query_show_collation(), pt_make_query_show_columns(), pt_make_query_show_create_view(), pt_make_query_show_grants(), pt_make_query_show_index(), pt_make_query_show_table(), pt_make_query_show_trace(), pt_make_query_showstmt(), pt_make_query_user_groups(), pt_make_select_count_star(), pt_mark_group_having_pt_name(), pt_mark_spec_list_for_update_clause(), pt_mark_union_leaf_nodes(), pt_mvcc_prepare_upd_del_select(), pt_plan_query(), pt_plan_single_table_hq_iterations(), pt_print_difference(), pt_print_intersection(), pt_print_select(), pt_print_union_stmt(), pt_process_spec_for_delete(), pt_process_spec_for_update(), pt_push_symbol_info(), pt_pushable_query_in_pos(), pt_query_set_reference(), pt_reset_error(), pt_resolve_cte_specs(), pt_resolve_group_having_alias(), pt_resolve_hint(), pt_resolve_names(), pt_rewrite_derived_for_upd_del(), pt_select_list_to_enumeration_expr(), pt_select_list_to_one_col(), pt_semantic_check_local(), pt_sort_spec_cover_groupby(), pt_to_aggregate(), pt_to_buildlist_proc(), pt_to_buildschema_proc(), pt_to_buildvalue_proc(), pt_to_compatible_cast(), pt_to_delete_xasl(), pt_to_false_subquery(), pt_to_insert_xasl(), pt_to_merge_insert_query(), pt_to_merge_update_query(), pt_to_odku_info(), pt_to_pos_descr(), pt_to_pos_descr_groupby(), pt_to_regu_variable(), pt_to_scan_proc_list(), pt_to_union_proc(), pt_to_upd_del_query(), pt_to_update_xasl(), pt_type_cast_vclass_query_spec(), pt_union(), pt_values_query_to_compatible_cast(), pt_wrap_select_list_with_cast_op(), qo_analyze_path_join(), qo_can_generate_single_table_connect_by(), qo_check_groupby_skip_descending(), qo_check_orderby_skip_descending(), qo_discover_sort_limit_nodes(), qo_do_auto_parameterize_keylimit_clause(), qo_env_new(), qo_get_ils_prefix_length(), qo_is_iss_index(), qo_optimize_helper(), qo_optimize_queries(), qo_optimize_queries_post(), qo_plan_compute_iscan_sort_list(), qo_plan_compute_subquery_cost(), qo_plan_print_sort_spec(), qo_reduce_equality_terms(), qo_reduce_order_by(), qo_reduce_order_by_for(), qo_rewrite_hidden_col_as_derived(), qo_rewrite_index_hints(), qo_rewrite_innerjoin(), qo_rewrite_oid_equality(), qo_rewrite_outerjoin(), qo_rewrite_subqueries(), qo_search_partition_join(), qo_search_planner(), qo_to_xasl(), qo_top_plan_new(), qo_top_plan_print_json(), qo_top_plan_print_text(), qo_unset_multi_range_optimization(), and qo_validate().
PT_NODE* pt_query_info::qcache_hint |
Definition at line 2772 of file parse_tree.h.
Referenced by pt_apply_select(), pt_get_hint(), and pt_print_select().
unsigned pt_query_info::reexecute |
Definition at line 2762 of file parse_tree.h.
Referenced by do_execute_select(), pt_check_with_info(), and pt_get_hint().
unsigned pt_query_info::rewrite_limit |
Definition at line 2766 of file parse_tree.h.
Referenced by mq_substitute_subquery_in_statement(), pt_eval_type_pre(), pt_fold_union(), pt_print_difference(), pt_print_intersection(), pt_print_select(), pt_print_union_stmt(), and qo_optimize_queries().
SCAN_OPERATION_TYPE pt_query_info::scan_op_type |
Definition at line 2751 of file parse_tree.h.
Referenced by mq_rewrite_order_dependent_query(), parser_generate_xasl_proc(), pt_init_difference(), pt_init_intersection(), pt_init_select(), pt_init_union_stmt(), pt_to_merge_update_query(), and pt_to_upd_del_query().
PT_SELECT_INFO pt_query_info::select |
Definition at line 2781 of file parse_tree.h.
Referenced by add_access_spec(), add_hint(), db_can_execute_statement_with_autocommit(), db_get_jdbccachehint(), do_recreate_filter_index_constr(), do_recreate_func_index_constr(), do_set_pruning_type(), get_local_subqueries(), get_natural_join_attrs_from_pt_spec(), init_list_scan_proc(), is_local_name(), meth_collapse_nodes(), meth_find_last_entity(), meth_find_merge(), meth_find_outside_refs(), meth_is_method(), meth_translate_helper(), meth_translate_select(), meth_translate_spec(), mq_add_dummy_from_pre(), mq_check_rewrite_select(), mq_check_vclass_for_insert(), mq_class_lambda(), mq_compute_query_authorization(), mq_copypush_sargable_terms(), mq_copypush_sargable_terms_helper(), mq_derived_path(), mq_fetch_expression_for_real_class_update(), mq_fetch_one_real_class_get_cache(), mq_fetch_select_for_real_class_update(), mq_fix_derived_in_union(), mq_get_expression(), mq_has_class_methods_corr_subqueries(), mq_invert_insert_select(), mq_invert_subqueries(), mq_is_pushable_subquery(), mq_lambda_node(), mq_make_derived_spec(), mq_mark_location(), mq_push_arg2(), mq_push_dot_in_query(), mq_push_paths(), mq_reset_select_specs(), mq_reset_spec_ids(), mq_rewrite_agg_names(), mq_rewrite_aggregate_as_derived(), mq_rewrite_order_dependent_nodes(), mq_rewrite_order_dependent_query(), mq_rewrite_query_as_derived(), mq_rewrite_vclass_spec_as_derived(), mq_set_non_updatable_oid(), mq_set_types(), mq_substitute_select_in_statement(), mq_substitute_subquery_in_statement(), mq_translate_insert(), mq_translate_local(), mq_translate_paths(), mq_translate_select(), mq_translate_subqueries(), mq_updatable_local(), mq_update_order_by(), mq_virtual_queries(), parser_generate_xasl_post(), parser_generate_xasl_proc(), preserve_info(), pt_add_name_col_to_sel_list(), pt_add_oid_to_select_list(), pt_add_string_col_to_sel_list(), pt_add_table_name_to_from_list(), pt_append_odku_references(), pt_append_query_select_list(), pt_apply_select(), pt_apply_union_select_list_collation(), pt_bind_names(), pt_bind_names_post(), pt_check_access_status(), pt_check_alter_partition(), pt_check_analytic_function(), pt_check_copypush_subquery(), pt_check_for_update_clause(), pt_check_level_expr(), pt_check_order_by(), pt_check_show_index(), pt_check_single_valued_node(), pt_check_table_in_show_heap(), pt_check_type_compatibility_of_values_query(), pt_chop_to_one_select_item(), pt_class_part(), pt_coerce_node_collation(), pt_coerce_node_collection_of_collection(), pt_copy_upddel_hints_to_select(), pt_copypush_terms(), pt_do_cnf(), pt_eval_type(), pt_eval_type_pre(), pt_expand_isnull_preds(), pt_false_where(), pt_find_aggregate_analytic_in_where(), pt_find_aggregate_functions_post(), pt_find_aggregate_functions_pre(), pt_find_aggregate_names(), pt_find_lck_classes(), pt_fix_first_term_func_index_for_iss(), pt_for_update_prepare_query_internal(), pt_from_list_part(), pt_gen_optimized_plan(), pt_gen_simple_merge_plan(), pt_gen_simple_plan(), pt_get_collation_info_for_collection_type(), pt_get_from_list(), pt_get_hint(), pt_get_select_list(), pt_get_subquery_list(), pt_get_values_query_compatible_info(), pt_has_aggregate(), pt_has_analytic(), pt_has_using_index_clause(), pt_init_select(), pt_is_single_tuple(), pt_make_collection_type_subquery_node(), pt_make_connect_by_proc(), pt_make_field_extra_expr_node(), pt_make_field_key_type_expr_node(), pt_make_field_type_expr_node(), pt_make_outer_select_for_show_stmt(), pt_make_query_show_collation(), pt_make_query_show_columns(), pt_make_query_show_create_view(), pt_make_query_show_grants(), pt_make_query_show_index(), pt_make_query_show_table(), pt_make_query_show_trace(), pt_make_query_showstmt(), pt_make_query_user_groups(), pt_make_select_count_star(), pt_mark_group_having_pt_name(), pt_mark_spec_list_for_update_clause(), pt_mvcc_prepare_upd_del_select(), pt_plan_query(), pt_plan_single_table_hq_iterations(), pt_print_select(), pt_process_spec_for_delete(), pt_process_spec_for_update(), pt_push_symbol_info(), pt_pushable_query_in_pos(), pt_query_set_reference(), pt_reset_error(), pt_resolve_cte_specs(), pt_resolve_group_having_alias(), pt_resolve_hint(), pt_resolve_names(), pt_rewrite_derived_for_upd_del(), pt_select_list_to_enumeration_expr(), pt_select_list_to_one_col(), pt_semantic_check_local(), pt_sort_spec_cover_groupby(), pt_to_aggregate(), pt_to_buildlist_proc(), pt_to_buildschema_proc(), pt_to_buildvalue_proc(), pt_to_compatible_cast(), pt_to_delete_xasl(), pt_to_false_subquery(), pt_to_insert_xasl(), pt_to_merge_insert_query(), pt_to_merge_update_query(), pt_to_odku_info(), pt_to_pos_descr(), pt_to_pos_descr_groupby(), pt_to_regu_variable(), pt_to_scan_proc_list(), pt_to_upd_del_query(), pt_to_update_xasl(), pt_type_cast_vclass_query_spec(), pt_values_query_to_compatible_cast(), pt_wrap_select_list_with_cast_op(), qo_analyze_path_join(), qo_can_generate_single_table_connect_by(), qo_check_groupby_skip_descending(), qo_check_orderby_skip_descending(), qo_discover_sort_limit_nodes(), qo_do_auto_parameterize_keylimit_clause(), qo_env_new(), qo_get_ils_prefix_length(), qo_is_iss_index(), qo_optimize_helper(), qo_optimize_queries(), qo_optimize_queries_post(), qo_plan_compute_iscan_sort_list(), qo_plan_compute_subquery_cost(), qo_plan_print_sort_spec(), qo_reduce_equality_terms(), qo_reduce_order_by(), qo_reduce_order_by_for(), qo_rewrite_hidden_col_as_derived(), qo_rewrite_index_hints(), qo_rewrite_innerjoin(), qo_rewrite_oid_equality(), qo_rewrite_outerjoin(), qo_rewrite_subqueries(), qo_search_partition_join(), qo_search_planner(), qo_to_xasl(), qo_top_plan_new(), qo_top_plan_print_json(), qo_top_plan_print_text(), qo_unset_multi_range_optimization(), and qo_validate().
unsigned pt_query_info::single_tuple |
Definition at line 2760 of file parse_tree.h.
Referenced by pt_plan_cte(), pt_select_list_to_one_col(), pt_semantic_check_local(), pt_to_buildlist_proc(), pt_to_merge_insert_query(), pt_to_union_proc(), and qo_optimize_queries().
PT_UNION_INFO pt_query_info::union_ |
Definition at line 2782 of file parse_tree.h.
Referenced by add_union_query(), db_can_execute_statement_with_autocommit(), do_set_pruning_type(), meth_translate_helper(), mq_class_lambda(), mq_compute_query_authorization(), mq_fix_derived_in_union(), mq_flatten_union(), mq_invert_insert_subquery(), mq_lambda_node(), mq_push_arg2(), mq_push_dot_in_query(), mq_set_non_updatable_oid(), mq_set_types(), mq_set_union_query(), mq_substitute_subquery_in_statement(), mq_translate_helper(), mq_translate_local(), mq_updatable_local(), pt_add_oid_to_select_list(), pt_append_query_select_list(), pt_apply_difference(), pt_apply_intersection(), pt_apply_union_select_list_collation(), pt_apply_union_stmt(), pt_bind_names(), pt_check_copypush_subquery(), pt_check_level_expr(), pt_check_order_by(), pt_check_union_compatibility(), pt_check_union_is_foldable(), pt_check_union_type_compatibility_of_values_query(), pt_check_vclass_union_spec(), pt_chop_to_one_select_item(), pt_coerce_node_collation(), pt_copypush_terms(), pt_eval_type(), pt_eval_type_pre(), pt_find_aggregate_analytic_in_where(), pt_fold_union(), pt_get_from_list(), pt_get_select_list(), pt_get_select_list_coll_compat(), pt_get_subquery_list(), pt_has_analytic(), pt_mark_union_leaf_nodes(), pt_print_difference(), pt_print_intersection(), pt_print_union_stmt(), pt_process_spec_for_update(), pt_pushable_query_in_pos(), pt_query_set_reference(), pt_reset_error(), pt_resolve_cte_specs(), pt_select_list_to_enumeration_expr(), pt_select_list_to_one_col(), pt_semantic_check_local(), pt_to_compatible_cast(), pt_to_pos_descr(), pt_to_pos_descr_groupby(), pt_to_union_proc(), pt_type_cast_vclass_query_spec(), pt_union(), pt_wrap_select_list_with_cast_op(), qo_optimize_queries(), qo_plan_compute_subquery_cost(), and qo_rewrite_hidden_col_as_derived().
int pt_query_info::upd_del_class_cnt |
Definition at line 2752 of file parse_tree.h.
Referenced by parser_generate_xasl_proc(), pt_mvcc_prepare_upd_del_select(), pt_to_delete_xasl(), pt_to_merge_update_query(), pt_to_merge_update_xasl(), pt_to_upd_del_query(), and pt_to_update_xasl().
unsigned pt_query_info::vspec_as_derived |
Definition at line 2761 of file parse_tree.h.
Referenced by mq_class_lambda(), and mq_rewrite_vclass_spec_as_derived().
PT_NODE* pt_query_info::with |
Definition at line 2778 of file parse_tree.h.
Referenced by pt_apply_difference(), pt_apply_intersection(), pt_apply_select(), pt_apply_union_stmt(), pt_bind_names_in_with_clause(), pt_check_create_entity(), pt_check_union_is_foldable(), pt_check_with_clause(), pt_count_with_clauses(), pt_fold_union(), pt_print_difference(), pt_print_intersection(), pt_print_select(), pt_print_union_stmt(), pt_resolve_cte_specs(), and pt_to_upd_del_query().
void* pt_query_info::xasl |
Definition at line 2774 of file parse_tree.h.
Referenced by add_subqueries(), parser_generate_xasl(), parser_generate_xasl_post(), parser_generate_xasl_pre(), parser_generate_xasl_proc(), pt_corr_pre(), pt_flush_class_and_null_xasl(), pt_gen_simple_merge_plan(), pt_null_xasl(), pt_plan_cte(), pt_set_trigger_obj_pre(), pt_to_cselect_table_spec_list(), pt_to_cte_table_spec_list(), pt_to_fetch_proc(), pt_to_outlist(), pt_to_regu_variable(), pt_to_subquery_table_spec_list(), pt_to_union_proc(), pt_uncorr_post(), qo_add_node(), and qo_all_some_in_selectivity().