CUBRID Engine
latest
|
#include <query_graph.h>
Public Attributes | |
struct qo_index_entry * | next |
QO_CLASS_INFO_ENTRY * | class_ |
SM_CLASS_CONSTRAINT * | constraints |
int | force |
int | col_num |
TP_DOMAIN * | key_type |
int | nsegs |
int * | seg_idxs |
int | rangelist_seg_idx |
BITSET * | seg_equal_terms |
BITSET * | seg_other_terms |
BITSET | terms |
bool | all_unique_index_columns_are_equi_terms |
bool | cover_segments |
int | first_sort_column |
bool | orderby_skip |
bool | groupby_skip |
bool | use_descending |
bool | is_iss_candidate |
int | ils_prefix_len |
char * | statistics_attribute_name |
PT_NODE * | key_limit |
bool | is_func_index |
int | rangelist_term_idx |
BITSET | index_segs |
BITSET | multi_col_range_segs |
Definition at line 99 of file query_graph.h.
bool qo_index_entry::all_unique_index_columns_are_equi_terms |
Definition at line 137 of file query_graph.h.
Referenced by qo_alloc_index(), and qo_iscan_cost().
QO_CLASS_INFO_ENTRY* qo_index_entry::class_ |
Definition at line 105 of file query_graph.h.
Referenced by pt_to_index_info(), qo_alloc_index(), qo_check_coll_optimization(), qo_check_type_index_covering(), qo_find_node_indexes(), qo_is_coverage_index(), qo_is_prefix_index(), qo_validate_index_attr_notnull(), qo_validate_index_for_groupby(), qo_validate_index_for_orderby(), and qo_validate_index_term_notnull().
int qo_index_entry::col_num |
Definition at line 113 of file query_graph.h.
Referenced by qo_alloc_index(), qo_find_node_indexes(), qo_get_ils_prefix_length(), qo_index_has_bit_attr(), qo_is_coverage_index(), qo_iscan_cost(), qo_plan_cmp(), and qo_validate_index_attr_notnull().
SM_CLASS_CONSTRAINT* qo_index_entry::constraints |
Definition at line 108 of file query_graph.h.
Referenced by make_pred_from_plan(), pt_fix_first_term_expr_for_iss(), pt_fix_first_term_func_index_for_iss(), pt_to_index_info(), qo_alloc_index(), qo_check_coll_optimization(), qo_check_type_index_covering(), qo_find_node_indexes(), qo_free_index(), qo_index_has_bit_attr(), qo_index_scan_new(), qo_is_filter_index(), qo_is_iss_index(), qo_is_pk_fk_full_join(), qo_is_prefix_index(), qo_iscan_cost(), qo_plan_compute_iscan_sort_list(), and qo_search_planner().
bool qo_index_entry::cover_segments |
Definition at line 140 of file query_graph.h.
Referenced by make_pred_from_plan(), pt_to_index_info(), qo_alloc_index(), qo_find_node_indexes(), qo_generate_loose_index_scan(), qo_get_ils_prefix_length(), and qo_index_scan_new().
int qo_index_entry::first_sort_column |
Definition at line 143 of file query_graph.h.
Referenced by qo_alloc_index(), and qo_check_plan_index_for_multi_range_opt().
int qo_index_entry::force |
Definition at line 110 of file query_graph.h.
Referenced by qo_examine_correlated_index(), qo_find_node_indexes(), qo_generate_index_scan(), qo_generate_join_index_scan(), qo_generate_loose_index_scan(), qo_index_scan_new(), qo_is_filter_index(), qo_iscan_cost(), and qo_search_planner().
bool qo_index_entry::groupby_skip |
Definition at line 149 of file query_graph.h.
Referenced by pt_to_index_info(), qo_alloc_index(), qo_group_by_skip_plans_cmp(), qo_plan_cmp(), qo_search_planner(), and qo_unset_multi_range_optimization().
int qo_index_entry::ils_prefix_len |
Definition at line 158 of file query_graph.h.
Referenced by pt_to_index_info(), qo_alloc_index(), qo_find_node_indexes(), qo_generate_index_scan(), qo_generate_loose_index_scan(), qo_index_scan_new(), qo_plan_compute_iscan_sort_list(), and qo_search_planner().
BITSET qo_index_entry::index_segs |
Definition at line 181 of file query_graph.h.
Referenced by qo_alloc_index(), qo_find_index_terms(), qo_free_index(), and qo_get_multi_col_range_segs().
bool qo_index_entry::is_func_index |
Definition at line 175 of file query_graph.h.
Referenced by qo_find_node_indexes().
bool qo_index_entry::is_iss_candidate |
Definition at line 155 of file query_graph.h.
Referenced by pt_to_index_info(), qo_alloc_index(), qo_find_node_indexes(), qo_generate_index_scan(), qo_generate_loose_index_scan(), qo_get_xasl_index_info(), qo_index_scan_new(), and qo_search_planner().
PT_NODE* qo_index_entry::key_limit |
Definition at line 167 of file query_graph.h.
Referenced by pt_to_index_info(), qo_alloc_index(), and qo_find_node_indexes().
TP_DOMAIN* qo_index_entry::key_type |
Definition at line 116 of file query_graph.h.
Referenced by qo_alloc_index(), qo_check_plan_index_for_multi_range_opt(), qo_find_node_indexes(), and qo_plan_compute_iscan_sort_list().
BITSET qo_index_entry::multi_col_range_segs |
Definition at line 184 of file query_graph.h.
Referenced by qo_alloc_index(), qo_free_index(), qo_generate_index_scan(), qo_generate_join_index_scan(), and qo_index_scan_new().
struct qo_index_entry* qo_index_entry::next |
Definition at line 102 of file query_graph.h.
Referenced by is_index_compatible(), pt_to_index_info(), qo_alloc_index(), qo_find_node_indexes(), and qo_get_index_info().
int qo_index_entry::nsegs |
Definition at line 119 of file query_graph.h.
Referenced by gen_outer(), is_equivalent_indexes(), pt_fix_first_term_expr_for_iss(), qo_alloc_index(), qo_check_plan_index_for_multi_range_opt(), qo_check_terms_for_multiple_range_opt(), qo_discover_indexes(), qo_find_node_indexes(), qo_free_index(), qo_generate_join_index_scan(), qo_get_ils_prefix_length(), qo_get_xasl_index_info(), qo_index_scan_new(), qo_is_coverage_index(), qo_is_iss_index(), qo_is_pk_fk_full_join(), qo_iscan_cost(), qo_plan_compute_iscan_sort_list(), and qo_search_planner().
bool qo_index_entry::orderby_skip |
Definition at line 146 of file query_graph.h.
Referenced by pt_to_index_info(), qo_alloc_index(), qo_order_by_skip_plans_cmp(), qo_plan_cmp(), qo_search_planner(), and qo_unset_multi_range_optimization().
int qo_index_entry::rangelist_seg_idx |
Definition at line 125 of file query_graph.h.
Referenced by qo_alloc_index(), qo_find_index_seg_terms(), qo_find_node_indexes(), and qo_plan_compute_iscan_sort_list().
int qo_index_entry::rangelist_term_idx |
Definition at line 178 of file query_graph.h.
Referenced by qo_alloc_index(), and qo_find_index_seg_terms().
BITSET* qo_index_entry::seg_equal_terms |
Definition at line 128 of file query_graph.h.
Referenced by qo_alloc_index(), qo_find_index_seg_terms(), qo_find_node_indexes(), qo_free_index(), qo_generate_index_scan(), qo_generate_join_index_scan(), qo_generate_loose_index_scan(), qo_is_iss_index(), qo_iscan_cost(), and qo_search_planner().
int* qo_index_entry::seg_idxs |
Definition at line 122 of file query_graph.h.
Referenced by gen_outer(), is_equivalent_indexes(), pt_fix_first_term_expr_for_iss(), pt_fix_first_term_func_index_for_iss(), qo_alloc_index(), qo_check_plan_index_for_multi_range_opt(), qo_check_terms_for_multiple_range_opt(), qo_discover_indexes(), qo_find_index_seg_terms(), qo_find_node_indexes(), qo_free_index(), qo_generate_index_scan(), qo_generate_join_index_scan(), qo_get_ils_prefix_length(), qo_get_xasl_index_info(), qo_index_scan_new(), qo_is_coverage_index(), qo_is_iss_index(), qo_is_pk_fk_full_join(), qo_iscan_cost(), qo_plan_compute_iscan_sort_list(), qo_validate_index_attr_notnull(), and qo_validate_index_term_notnull().
BITSET* qo_index_entry::seg_other_terms |
Definition at line 131 of file query_graph.h.
Referenced by qo_alloc_index(), qo_find_index_seg_terms(), qo_find_node_indexes(), qo_free_index(), qo_generate_index_scan(), qo_is_iss_index(), and qo_search_planner().
char* qo_index_entry::statistics_attribute_name |
Definition at line 164 of file query_graph.h.
Referenced by qo_alloc_index(), qo_find_node_indexes(), and qo_free_index().
BITSET qo_index_entry::terms |
Definition at line 134 of file query_graph.h.
Referenced by pt_fix_first_term_expr_for_iss(), pt_fix_first_term_func_index_for_iss(), qo_alloc_index(), qo_examine_correlated_index(), qo_find_index_terms(), qo_free_index(), qo_get_ils_prefix_length(), and qo_is_pk_fk_full_join().
bool qo_index_entry::use_descending |
Definition at line 152 of file query_graph.h.
Referenced by pt_to_index_info(), qo_alloc_index(), and qo_unset_multi_range_optimization().