CUBRID Engine
latest
|
#include <parse_tree.h>
Public Attributes | |
PT_NODE * | list |
PT_NODE * | from |
PT_NODE * | where |
PT_NODE * | group_by |
PT_NODE * | connect_by |
PT_NODE * | start_with |
PT_NODE * | after_cb_filter |
PT_NODE * | having |
PT_NODE * | using_index |
PT_NODE * | with_increment |
PT_NODE * | ordered |
PT_NODE * | use_nl |
PT_NODE * | use_idx |
PT_NODE * | index_ss |
PT_NODE * | index_ls |
PT_NODE * | use_merge |
PT_NODE * | waitsecs_hint |
PT_NODE * | jdbc_life_time |
struct qo_summary * | qo_summary |
PT_NODE * | check_where |
PT_NODE * | for_update |
QFILE_LIST_ID * | push_list |
PT_HINT_ENUM | hint |
int | flavor |
int | flag |
PT_CONNECT_BY_CHECK_CYCLES | check_cycles |
unsigned | single_table_opt:1 |
Definition at line 2683 of file parse_tree.h.
PT_NODE* pt_select_info::after_cb_filter |
Definition at line 2691 of file parse_tree.h.
Referenced by meth_move_hierarchical_to_derived(), mq_rewrite_vclass_spec_as_derived(), pt_apply_select(), pt_eval_type(), pt_false_where(), pt_make_connect_by_proc(), pt_print_select(), pt_to_false_subquery(), qo_optimize_helper(), and qo_optimize_queries().
PT_CONNECT_BY_CHECK_CYCLES pt_select_info::check_cycles |
Definition at line 2710 of file parse_tree.h.
Referenced by meth_move_hierarchical_to_derived(), mq_rewrite_vclass_spec_as_derived(), pt_init_select(), pt_make_connect_by_proc(), pt_print_select(), pt_semantic_check_local(), and pt_to_regu_variable().
PT_NODE* pt_select_info::check_where |
Definition at line 2704 of file parse_tree.h.
Referenced by mq_class_lambda(), mq_set_types(), mq_substitute_select_in_statement(), mq_translate_subqueries(), pt_apply_select(), and pt_print_select().
PT_NODE* pt_select_info::connect_by |
Definition at line 2689 of file parse_tree.h.
Referenced by add_access_spec(), init_list_scan_proc(), meth_move_hierarchical_to_derived(), mq_copypush_sargable_terms(), mq_is_pushable_subquery(), mq_rewrite_vclass_spec_as_derived(), mq_updatable_local(), pt_apply_select(), pt_chop_to_one_select_item(), pt_eval_type(), pt_gen_simple_plan(), pt_make_connect_by_proc(), pt_print_select(), pt_select_list_to_one_col(), pt_semantic_check_local(), pt_to_false_subquery(), pt_to_regu_variable(), qo_can_generate_single_table_connect_by(), qo_discover_sort_limit_nodes(), qo_is_iss_index(), qo_optimize_helper(), qo_optimize_queries(), qo_reduce_order_by(), qo_rewrite_hidden_col_as_derived(), qo_rewrite_innerjoin(), qo_rewrite_outerjoin(), qo_search_planner(), and qo_top_plan_new().
int pt_select_info::flag |
Definition at line 2709 of file parse_tree.h.
int pt_select_info::flavor |
Definition at line 2708 of file parse_tree.h.
Referenced by meth_collapse_nodes(), meth_find_last_entity(), meth_find_merge(), meth_is_method(), meth_translate_spec(), mq_rewrite_aggregate_as_derived(), pt_make_connect_by_proc(), pt_to_buildlist_proc(), pt_to_buildvalue_proc(), pt_to_merge_insert_query(), qo_rewrite_hidden_col_as_derived(), and qo_rewrite_subqueries().
PT_NODE* pt_select_info::for_update |
Definition at line 2705 of file parse_tree.h.
Referenced by pt_apply_select(), pt_print_select(), and pt_resolve_names().
PT_NODE* pt_select_info::from |
Definition at line 2686 of file parse_tree.h.
Referenced by do_recreate_filter_index_constr(), do_recreate_func_index_constr(), do_set_pruning_type(), is_local_name(), meth_collapse_nodes(), meth_find_outside_refs(), 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_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_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_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_types(), mq_substitute_select_in_statement(), mq_substitute_subquery_in_statement(), mq_translate_insert(), mq_translate_local(), mq_translate_paths(), mq_translate_select(), mq_updatable_local(), parser_generate_xasl_post(), parser_generate_xasl_proc(), pt_add_oid_to_select_list(), pt_add_table_name_to_from_list(), pt_append_odku_references(), pt_apply_select(), pt_bind_names(), pt_bind_names_post(), pt_check_access_status(), pt_check_for_update_clause(), pt_check_order_by(), pt_check_show_index(), pt_check_single_valued_node(), pt_check_table_in_show_heap(), pt_class_part(), pt_do_cnf(), pt_eval_type(), pt_false_where(), pt_find_aggregate_functions_pre(), pt_find_aggregate_names(), pt_find_lck_classes(), pt_for_update_prepare_query_internal(), pt_from_list_part(), pt_gen_simple_merge_plan(), pt_gen_simple_plan(), pt_get_from_list(), pt_make_connect_by_proc(), pt_make_field_type_expr_node(), pt_mark_spec_list_for_update_clause(), pt_mvcc_prepare_upd_del_select(), pt_plan_query(), pt_print_select(), pt_process_spec_for_delete(), pt_process_spec_for_update(), pt_push_symbol_info(), pt_query_set_reference(), pt_reset_error(), pt_resolve_cte_specs(), pt_resolve_hint(), pt_resolve_names(), pt_rewrite_derived_for_upd_del(), pt_select_list_to_one_col(), pt_semantic_check_local(), pt_to_aggregate(), pt_to_buildlist_proc(), pt_to_buildschema_proc(), pt_to_buildvalue_proc(), 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_scan_proc_list(), pt_to_upd_del_query(), pt_to_update_xasl(), qo_analyze_path_join(), qo_can_generate_single_table_connect_by(), qo_env_new(), qo_optimize_helper(), qo_optimize_queries(), qo_optimize_queries_post(), qo_reduce_equality_terms(), qo_rewrite_innerjoin(), qo_rewrite_oid_equality(), qo_rewrite_outerjoin(), and qo_validate().
PT_NODE* pt_select_info::group_by |
Definition at line 2688 of file parse_tree.h.
Referenced by mq_class_lambda(), mq_rewrite_aggregate_as_derived(), mq_substitute_select_in_statement(), mq_updatable_local(), pt_apply_select(), pt_check_copypush_subquery(), pt_copypush_terms(), pt_eval_type_pre(), pt_false_where(), pt_find_aggregate_names(), pt_from_list_part(), pt_gen_optimized_plan(), pt_has_aggregate(), pt_is_single_tuple(), pt_make_collection_type_subquery_node(), pt_make_query_show_grants(), pt_mark_group_having_pt_name(), pt_plan_query(), pt_print_select(), pt_reset_error(), pt_resolve_group_having_alias(), pt_semantic_check_local(), pt_to_buildlist_proc(), pt_to_delete_xasl(), pt_to_false_subquery(), pt_to_merge_update_query(), pt_to_pos_descr_groupby(), pt_to_upd_del_query(), pt_to_update_xasl(), qo_check_groupby_skip_descending(), qo_discover_sort_limit_nodes(), qo_optimize_helper(), qo_optimize_queries(), qo_plan_compute_iscan_sort_list(), qo_plan_print_sort_spec(), qo_reduce_order_by(), qo_search_planner(), qo_top_plan_new(), qo_top_plan_print_json(), and qo_top_plan_print_text().
PT_NODE* pt_select_info::having |
Definition at line 2692 of file parse_tree.h.
Referenced by mq_check_rewrite_select(), mq_class_lambda(), mq_has_class_methods_corr_subqueries(), mq_rewrite_aggregate_as_derived(), mq_substitute_select_in_statement(), mq_substitute_subquery_in_statement(), mq_updatable_local(), pt_apply_select(), pt_copypush_terms(), pt_do_cnf(), pt_eval_type(), pt_eval_type_pre(), pt_false_where(), pt_from_list_part(), pt_has_aggregate(), pt_mark_group_having_pt_name(), pt_print_select(), pt_resolve_group_having_alias(), pt_semantic_check_local(), pt_to_aggregate(), pt_to_buildlist_proc(), pt_to_buildvalue_proc(), pt_to_false_subquery(), qo_optimize_helper(), qo_optimize_queries(), qo_reduce_order_by(), and qo_reduce_order_by_for().
PT_HINT_ENUM pt_select_info::hint |
Definition at line 2707 of file parse_tree.h.
Referenced by add_hint(), db_can_execute_statement_with_autocommit(), db_get_jdbccachehint(), mq_rewrite_aggregate_as_derived(), mq_substitute_subquery_in_statement(), pt_bind_names(), pt_copy_upddel_hints_to_select(), pt_gen_optimized_plan(), pt_get_hint(), pt_init_select(), pt_make_connect_by_proc(), pt_plan_query(), pt_plan_single_table_hq_iterations(), pt_print_select(), pt_resolve_hint(), pt_to_buildlist_proc(), pt_to_buildvalue_proc(), pt_to_false_subquery(), pt_to_upd_del_query(), qo_check_groupby_skip_descending(), qo_check_orderby_skip_descending(), qo_discover_sort_limit_nodes(), qo_get_ils_prefix_length(), qo_is_iss_index(), qo_rewrite_innerjoin(), qo_search_partition_join(), qo_search_planner(), and qo_unset_multi_range_optimization().
PT_NODE* pt_select_info::index_ls |
Definition at line 2699 of file parse_tree.h.
Referenced by add_hint(), mq_rewrite_aggregate_as_derived(), mq_substitute_subquery_in_statement(), pt_apply_select(), pt_get_hint(), pt_plan_query(), pt_plan_single_table_hq_iterations(), pt_print_select(), and pt_resolve_hint().
PT_NODE* pt_select_info::index_ss |
Definition at line 2698 of file parse_tree.h.
Referenced by add_hint(), mq_rewrite_aggregate_as_derived(), mq_substitute_subquery_in_statement(), pt_apply_select(), pt_get_hint(), pt_plan_query(), pt_plan_single_table_hq_iterations(), pt_print_select(), and pt_resolve_hint().
PT_NODE* pt_select_info::jdbc_life_time |
Definition at line 2702 of file parse_tree.h.
Referenced by db_get_jdbccachehint(), and pt_get_hint().
PT_NODE* pt_select_info::list |
Definition at line 2685 of file parse_tree.h.
Referenced by db_can_execute_statement_with_autocommit(), do_recreate_func_index_constr(), get_local_subqueries(), get_natural_join_attrs_from_pt_spec(), meth_collapse_nodes(), meth_translate_spec(), mq_derived_path(), mq_fetch_expression_for_real_class_update(), mq_get_expression(), mq_has_class_methods_corr_subqueries(), mq_invert_insert_select(), mq_invert_subqueries(), mq_is_pushable_subquery(), mq_lambda_node(), mq_push_arg2(), mq_push_dot_in_query(), 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_translate_select(), mq_update_order_by(), mq_virtual_queries(), pt_add_name_col_to_sel_list(), pt_add_oid_to_select_list(), pt_add_string_col_to_sel_list(), pt_append_query_select_list(), pt_apply_select(), pt_apply_union_select_list_collation(), pt_bind_names(), pt_check_alter_partition(), pt_check_analytic_function(), pt_check_level_expr(), pt_check_order_by(), pt_check_type_compatibility_of_values_query(), pt_chop_to_one_select_item(), pt_coerce_node_collation(), pt_coerce_node_collection_of_collection(), pt_copypush_terms(), pt_eval_type(), pt_find_lck_classes(), pt_fix_first_term_func_index_for_iss(), pt_gen_simple_merge_plan(), pt_gen_simple_plan(), pt_get_collation_info_for_collection_type(), pt_get_select_list(), pt_get_subquery_list(), pt_get_values_query_compatible_info(), pt_has_analytic(), pt_make_collection_type_subquery_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_mvcc_prepare_upd_del_select(), pt_print_select(), pt_process_spec_for_update(), pt_pushable_query_in_pos(), pt_resolve_group_having_alias(), 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_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_optimize_helper(), qo_plan_compute_iscan_sort_list(), qo_reduce_equality_terms(), qo_reduce_order_by(), qo_reduce_order_by_for(), qo_rewrite_hidden_col_as_derived(), qo_rewrite_subqueries(), and qo_to_xasl().
PT_NODE* pt_select_info::ordered |
Definition at line 2695 of file parse_tree.h.
Referenced by add_hint(), mq_rewrite_aggregate_as_derived(), mq_substitute_subquery_in_statement(), pt_apply_select(), pt_copy_upddel_hints_to_select(), pt_get_hint(), pt_plan_query(), pt_plan_single_table_hq_iterations(), pt_print_select(), and pt_resolve_hint().
QFILE_LIST_ID* pt_select_info::push_list |
Definition at line 2706 of file parse_tree.h.
Referenced by pt_to_buildlist_proc().
struct qo_summary* pt_select_info::qo_summary |
Definition at line 2703 of file parse_tree.h.
Referenced by preserve_info(), and qo_plan_compute_subquery_cost().
unsigned pt_select_info::single_table_opt |
Definition at line 2711 of file parse_tree.h.
Referenced by meth_move_hierarchical_to_derived(), mq_rewrite_vclass_spec_as_derived(), pt_make_connect_by_proc(), pt_print_select(), qo_optimize_helper(), and qo_optimize_queries().
PT_NODE* pt_select_info::start_with |
Definition at line 2690 of file parse_tree.h.
Referenced by meth_move_hierarchical_to_derived(), mq_rewrite_vclass_spec_as_derived(), pt_apply_select(), pt_eval_type(), pt_false_where(), pt_make_connect_by_proc(), pt_print_select(), pt_to_false_subquery(), qo_optimize_helper(), and qo_optimize_queries().
PT_NODE* pt_select_info::use_idx |
Definition at line 2697 of file parse_tree.h.
Referenced by add_hint(), mq_rewrite_aggregate_as_derived(), mq_substitute_subquery_in_statement(), pt_apply_select(), pt_copy_upddel_hints_to_select(), pt_get_hint(), pt_plan_query(), pt_plan_single_table_hq_iterations(), pt_print_select(), and pt_resolve_hint().
PT_NODE* pt_select_info::use_merge |
Definition at line 2700 of file parse_tree.h.
Referenced by add_hint(), mq_rewrite_aggregate_as_derived(), mq_substitute_subquery_in_statement(), pt_apply_select(), pt_copy_upddel_hints_to_select(), pt_get_hint(), pt_plan_query(), pt_plan_single_table_hq_iterations(), pt_print_select(), and pt_resolve_hint().
PT_NODE* pt_select_info::use_nl |
Definition at line 2696 of file parse_tree.h.
Referenced by add_hint(), mq_rewrite_aggregate_as_derived(), mq_substitute_subquery_in_statement(), pt_apply_select(), pt_copy_upddel_hints_to_select(), pt_get_hint(), pt_plan_query(), pt_plan_single_table_hq_iterations(), pt_print_select(), and pt_resolve_hint().
PT_NODE* pt_select_info::using_index |
Definition at line 2693 of file parse_tree.h.
Referenced by mq_rewrite_aggregate_as_derived(), mq_substitute_subquery_in_statement(), mq_translate_local(), pt_apply_select(), pt_bind_names(), pt_bind_names_post(), pt_get_hint(), pt_has_using_index_clause(), pt_print_select(), pt_to_false_subquery(), pt_to_merge_insert_query(), pt_to_merge_update_query(), pt_to_upd_del_query(), qo_do_auto_parameterize_keylimit_clause(), qo_optimize_helper(), and qo_rewrite_index_hints().
PT_NODE* pt_select_info::waitsecs_hint |
Definition at line 2701 of file parse_tree.h.
Referenced by pt_apply_select(), pt_get_hint(), pt_print_select(), pt_to_buildlist_proc(), and pt_to_buildvalue_proc().
PT_NODE* pt_select_info::where |
Definition at line 2687 of file parse_tree.h.
Referenced by do_recreate_filter_index_constr(), meth_collapse_nodes(), meth_translate_spec(), mq_check_rewrite_select(), mq_class_lambda(), mq_copypush_sargable_terms_helper(), mq_is_pushable_subquery(), mq_rewrite_aggregate_as_derived(), mq_set_types(), mq_substitute_select_in_statement(), mq_substitute_subquery_in_statement(), mq_translate_subqueries(), pt_apply_select(), pt_bind_names(), 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_lck_classes(), pt_from_list_part(), pt_gen_simple_merge_plan(), pt_gen_simple_plan(), 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_query_show_collation(), pt_make_query_show_columns(), pt_make_query_show_create_view(), pt_make_query_show_grants(), pt_make_query_show_table(), pt_make_query_showstmt(), pt_make_query_user_groups(), pt_print_select(), pt_to_aggregate(), pt_to_buildlist_proc(), pt_to_buildvalue_proc(), pt_to_merge_insert_query(), pt_to_merge_update_query(), pt_to_scan_proc_list(), pt_to_upd_del_query(), qo_analyze_path_join(), qo_can_generate_single_table_connect_by(), qo_optimize_helper(), qo_optimize_queries(), qo_optimize_queries_post(), qo_reduce_order_by(), qo_rewrite_innerjoin(), qo_rewrite_oid_equality(), qo_rewrite_outerjoin(), qo_rewrite_subqueries(), and qo_validate().
PT_NODE* pt_select_info::with_increment |
Definition at line 2694 of file parse_tree.h.
Referenced by pt_apply_select(), pt_print_select(), and pt_semantic_check_local().