|
CUBRID Engine
latest
|
#include <query_graph.h>

Public Attributes | |
| PARSER_CONTEXT * | parser |
| PT_NODE * | pt_tree |
| QO_SEGMENT * | segs |
| QO_NODE * | nodes |
| QO_EQCLASS * | eqclasses |
| QO_TERM * | terms |
| QO_SUBQUERY * | subqueries |
| QO_PARTITION * | partitions |
| BITSET * | tmp_bitset |
| QO_PLAN * | final_plan |
| BITSET | final_segs |
| int | nsegs |
| int | Nsegs |
| int | nnodes |
| int | Nnodes |
| int | neqclasses |
| int | Neqclasses |
| int | nterms |
| int | Nterms |
| int | nsubqueries |
| int | npartitions |
| int | nedges |
| BITSET | sort_limit_nodes |
| DB_VALUE | limit_value |
| QO_SORT_LIMIT_USE | use_sort_limit |
| int | bail_out |
| QO_PLANNER * | planner |
| jmp_buf | catch_ |
| BITSET | fake_terms |
| bool | dump_enable |
| bool | plan_dump_enabled |
| bool | multi_range_opt_candidate |
Definition at line 843 of file query_graph.h.
| int qo_env::bail_out |
Definition at line 913 of file query_graph.h.
Referenced by qo_env_new(), qo_search_isnull_key_expr(), qo_validate(), and qo_validate_index_attr_notnull().
| jmp_buf qo_env::catch_ |
Definition at line 928 of file query_graph.h.
Referenced by qo_abort(), and qo_optimize_query().
| bool qo_env::dump_enable |
Definition at line 941 of file query_graph.h.
Referenced by qo_env_new(), qo_plan_discard(), and qo_search_partition().
| QO_EQCLASS* qo_env::eqclasses |
Definition at line 867 of file query_graph.h.
Referenced by qo_alloc_planner(), qo_env_free(), qo_env_init(), and qo_env_new().
| BITSET qo_env::fake_terms |
Definition at line 935 of file query_graph.h.
Referenced by qo_add_dep_term(), qo_env_free(), qo_env_new(), qo_examine_merge_join(), and qo_examine_nl_join().
| QO_PLAN* qo_env::final_plan |
Definition at line 880 of file query_graph.h.
Referenced by qo_env_new().
| BITSET qo_env::final_segs |
Definition at line 886 of file query_graph.h.
Referenced by qo_add_final_segment(), qo_alloc_planner(), qo_env_dump(), qo_env_free(), and qo_env_new().
| DB_VALUE qo_env::limit_value |
Definition at line 904 of file query_graph.h.
| bool qo_env::multi_range_opt_candidate |
Definition at line 954 of file query_graph.h.
Referenced by qo_check_iscan_for_multi_range_opt(), qo_env_new(), and qo_search_planner().
| int qo_env::nedges |
Definition at line 898 of file query_graph.h.
Referenced by qo_alloc_planner(), qo_assign_eq_classes(), qo_discover_edges(), qo_discover_partitions(), qo_discover_sort_limit_join_nodes(), qo_env_dump(), and qo_env_new().
| int qo_env::neqclasses |
Definition at line 894 of file query_graph.h.
Referenced by qo_alloc_planner(), qo_check_parent_eq_class_for_multi_range_opt(), qo_env_dump(), qo_env_free(), qo_env_init(), qo_env_new(), and qo_eqclass_new().
| int qo_env::Neqclasses |
Definition at line 894 of file query_graph.h.
Referenced by qo_env_init(), and qo_eqclass_new().
| int qo_env::nnodes |
Definition at line 893 of file query_graph.h.
Referenced by add_hint(), add_hint_args(), add_using_index(), build_graph_for_entity(), build_query_graph_function_index(), graph_size_for_entity(), qo_add_node(), qo_alloc_planner(), qo_classify_outerjoin_terms(), qo_discover_indexes(), qo_discover_partitions(), qo_env_dump(), qo_env_init(), qo_env_new(), qo_optimize_helper(), and qo_validate().
| int qo_env::Nnodes |
Definition at line 893 of file query_graph.h.
Referenced by qo_add_node(), qo_discover_sort_limit_nodes(), qo_env_free(), qo_env_init(), and qo_top_plan_new().
| QO_NODE* qo_env::nodes |
Definition at line 866 of file query_graph.h.
Referenced by qo_alloc_planner(), qo_env_free(), qo_env_init(), and qo_env_new().
| int qo_env::npartitions |
Definition at line 897 of file query_graph.h.
Referenced by qo_alloc_planner(), qo_discover_partitions(), qo_discover_sort_limit_nodes(), qo_env_dump(), qo_env_free(), and qo_env_new().
| int qo_env::Nsegs |
Definition at line 892 of file query_graph.h.
Referenced by qo_env_free(), qo_env_init(), and qo_insert_segment().
| int qo_env::nsegs |
Definition at line 892 of file query_graph.h.
Referenced by build_query_graph_function_index(), graph_size_for_entity(), qo_alloc_planner(), qo_assign_eq_classes(), qo_env_dump(), qo_env_init(), qo_env_new(), qo_insert_segment(), and qo_is_coverage_index().
| int qo_env::nsubqueries |
Definition at line 896 of file query_graph.h.
Referenced by add_local_subquery(), check_subquery_pre(), get_local_subqueries(), qo_alloc_planner(), qo_check_subqueries_for_multi_range_opt(), qo_env_dump(), qo_env_free(), and qo_env_new().
| int qo_env::nterms |
Definition at line 895 of file query_graph.h.
Referenced by get_local_subqueries(), get_rank(), graph_size_for_entity(), qo_add_dep_term(), qo_add_dummy_join_term(), qo_add_term(), qo_alloc_planner(), qo_analyze_term(), qo_check_terms_for_multiple_range_opt(), qo_classify_outerjoin_terms(), qo_discover_edges(), qo_discover_indexes(), qo_discover_sort_limit_nodes(), qo_env_dump(), qo_env_init(), qo_env_new(), qo_find_index_seg_terms(), qo_find_index_terms(), qo_has_is_not_null_term(), qo_is_coverage_index(), qo_is_pk_fk_full_join(), qo_validate(), qo_validate_index_attr_notnull(), and qo_validate_index_term_notnull().
| int qo_env::Nterms |
Definition at line 895 of file query_graph.h.
Referenced by qo_add_dep_term(), qo_add_dummy_join_term(), qo_add_term(), qo_env_free(), and qo_env_init().
| PARSER_CONTEXT* qo_env::parser |
Definition at line 856 of file query_graph.h.
Referenced by build_query_graph_function_index(), gen_inner(), grok_classes(), is_local_name(), lookup_node(), lookup_seg(), qo_analyze_term(), qo_check_groupby_skip_descending(), qo_check_iscan_for_multi_range_opt(), qo_check_plan_index_for_multi_range_opt(), qo_env_new(), qo_expr_segs(), qo_get_ils_prefix_length(), qo_to_xasl(), qo_validate(), and qo_validate_index_attr_notnull().
| QO_PARTITION* qo_env::partitions |
Definition at line 870 of file query_graph.h.
Referenced by qo_alloc_planner(), qo_env_free(), qo_env_init(), and qo_env_new().
| bool qo_env::plan_dump_enabled |
Definition at line 948 of file query_graph.h.
Referenced by qo_env_new(), and qo_optimize_helper().
| QO_PLANNER* qo_env::planner |
Definition at line 920 of file query_graph.h.
Referenced by qo_alloc_planner(), qo_env_free(), and qo_env_new().
| PT_NODE* qo_env::pt_tree |
Definition at line 863 of file query_graph.h.
Referenced by add_access_spec(), build_query_graph(), graph_size_select(), init_list_scan_proc(), is_local_name(), qo_check_join_for_multi_range_opt(), qo_env_dump(), qo_env_new(), qo_get_ils_prefix_length(), qo_is_iss_index(), qo_search_planner(), qo_to_xasl(), and qo_unset_multi_range_optimization().
| QO_SEGMENT* qo_env::segs |
Definition at line 865 of file query_graph.h.
Referenced by qo_alloc_planner(), qo_env_free(), qo_env_init(), and qo_env_new().
| BITSET qo_env::sort_limit_nodes |
Definition at line 901 of file query_graph.h.
Referenced by qo_discover_sort_limit_nodes(), and qo_join_new().
| QO_SUBQUERY* qo_env::subqueries |
Definition at line 869 of file query_graph.h.
Referenced by add_local_subquery(), add_subqueries(), check_subquery_pre(), get_local_subqueries(), qo_alloc_planner(), qo_env_dump(), qo_env_free(), qo_env_new(), qo_nljoin_cost(), and qo_plan_compute_cost().
| QO_TERM* qo_env::terms |
Definition at line 868 of file query_graph.h.
Referenced by qo_alloc_planner(), qo_discover_sort_limit_nodes(), qo_env_free(), qo_env_init(), and qo_env_new().
| BITSET* qo_env::tmp_bitset |
Definition at line 875 of file query_graph.h.
Referenced by qo_env_new().
| QO_SORT_LIMIT_USE qo_env::use_sort_limit |
Definition at line 907 of file query_graph.h.
Referenced by pt_set_limit_optimization_flags(), and qo_discover_sort_limit_nodes().