CUBRID Engine
latest
|
Go to the source code of this file.
Classes | |
struct | qfile_tuple_record |
struct | qfile_tuple_value_header |
struct | qfile_tuple_value_type_list |
struct | qfile_tuple_value_position |
struct | qfile_list_merge_info |
struct | qfile_tuple_descriptor |
struct | sort_list |
struct | qfile_list_id |
struct | qfile_tuple_position |
struct | qfile_list_scan_id |
struct | qfile_sorted_list_id |
struct | qfile_sort_scan_id |
Typedefs | |
typedef char * | QFILE_TUPLE |
typedef struct qfile_tuple_record | QFILE_TUPLE_RECORD |
typedef struct qfile_tuple_value_header | QFILE_TUPLE_VALUE_HEADER |
typedef struct qfile_tuple_value_type_list | QFILE_TUPLE_VALUE_TYPE_LIST |
typedef struct qfile_tuple_value_position | QFILE_TUPLE_VALUE_POSITION |
typedef struct qfile_list_merge_info | QFILE_LIST_MERGE_INFO |
typedef struct qfile_tuple_descriptor | QFILE_TUPLE_DESCRIPTOR |
typedef struct sort_list | SORT_LIST |
typedef struct qfile_list_id | QFILE_LIST_ID |
typedef struct qfile_tuple_position | QFILE_TUPLE_POSITION |
typedef struct qfile_list_scan_id | QFILE_LIST_SCAN_ID |
typedef struct qfile_sorted_list_id | QFILE_SORTED_LIST_ID |
typedef struct qfile_sort_scan_id | QFILE_SORT_SCAN_ID |
typedef int | QUERY_FLAG |
#define DO_NOT_COLLECT_EXEC_STATS | ( | flag | ) | ((flag) & DONT_COLLECT_EXEC_STATS) |
Definition at line 573 of file query_list.h.
Referenced by xqmgr_execute_query(), and xqmgr_prepare_and_execute_query().
#define IS_OUTER_JOIN_TYPE | ( | t | ) | ((t) == JOIN_LEFT || (t) == JOIN_RIGHT || (t) == JOIN_OUTER) |
Definition at line 42 of file query_list.h.
Referenced by gen_outer(), planner_visit_node(), qo_examine_correlated_index(), qo_examine_merge_join(), and qo_join_new().
#define IS_QUERY_EXECUTE_WITH_COMMIT | ( | flag | ) | (((flag) & EXECUTE_QUERY_WITH_COMMIT) != 0) |
Definition at line 582 of file query_list.h.
Referenced by qmgr_execute_query(), and sqmgr_execute_query().
#define IS_QUERY_EXECUTED_WITHOUT_DATA_BUFFERS | ( | flag | ) | (((flag) & EXECUTE_QUERY_WITHOUT_DATA_BUFFERS) != 0) |
Definition at line 581 of file query_list.h.
Referenced by qmgr_execute_query(), and sqmgr_execute_query().
#define IS_TRAN_AUTO_COMMIT | ( | flag | ) | (((flag) & TRAN_AUTO_COMMIT) != 0) |
Definition at line 583 of file query_list.h.
Referenced by qmgr_execute_query(), sqmgr_execute_query(), and sqmgr_prepare_and_execute_query().
#define IS_TRIGGER_INVOLVED | ( | flag | ) | (((flag) & TRIGGER_IS_INVOLVED) != 0) |
Definition at line 578 of file query_list.h.
Referenced by xqmgr_execute_query(), and xqmgr_prepare_and_execute_query().
#define IS_XASL_CACHE_PINNED_REFERENCE | ( | flag | ) | (((flag) & XASL_CACHE_PINNED_REFERENCE) != 0) |
Definition at line 580 of file query_list.h.
Referenced by xqmgr_execute_query().
#define IS_XASL_TRACE_JSON | ( | flag | ) | (((flag) & XASL_TRACE_JSON) != 0) |
Definition at line 576 of file query_list.h.
Referenced by xqmgr_execute_query(), and xqmgr_prepare_and_execute_query().
#define IS_XASL_TRACE_TEXT | ( | flag | ) | (((flag) & XASL_TRACE_TEXT) != 0) |
Definition at line 575 of file query_list.h.
Referenced by xqmgr_execute_query(), and xqmgr_prepare_and_execute_query().
Definition at line 523 of file query_list.h.
#define QFILE_CLEAR_LIST_ID | ( | list_id | ) |
Definition at line 445 of file query_list.h.
Referenced by cursor_open(), or_unpack_listid(), pt_new_query_result_descriptor(), qexec_get_xasl_list_id(), qfile_clear_list_id(), qfile_open_list(), qfile_open_list_scan(), and regu_init().
#define QFILE_COPY_VPID | ( | ptr1, | |
ptr2 | |||
) |
Definition at line 197 of file query_list.h.
Referenced by cursor_construct_tuple_from_overflow_pages(), cursor_first_tuple(), cursor_get_list_file_page(), cursor_last_tuple(), cursor_next_tuple(), cursor_prev_tuple(), qfile_allocate_new_page(), qfile_get_first_page(), qfile_jump_scan_tuple_position(), qfile_scan_next(), and qfile_scan_prev().
#define QFILE_GET_LAST_TUPLE_OFFSET | ( | ptr | ) | (PAGEID) OR_GET_INT ((ptr) + QFILE_LAST_TUPLE_OFFSET) |
Definition at line 76 of file query_list.h.
Referenced by cursor_point_current_tuple(), qfile_scan_prev(), sqmgr_execute_query(), sqmgr_prepare_and_execute_query(), and xqfile_get_list_file_page().
#define QFILE_GET_NEXT_PAGE_ID | ( | ptr | ) | (PAGEID) OR_GET_INT ((ptr) + QFILE_NEXT_PAGE_ID_OFFSET) |
Definition at line 73 of file query_list.h.
Referenced by cursor_next_tuple(), and qfile_has_next_page().
#define QFILE_GET_NEXT_VOLUME_ID | ( | ptr | ) | (VOLID) OR_GET_SHORT ((ptr) + QFILE_NEXT_VOL_ID_OFFSET) |
Definition at line 85 of file query_list.h.
#define QFILE_GET_NEXT_VPID | ( | des, | |
ptr | |||
) |
Definition at line 104 of file query_list.h.
Referenced by cursor_get_list_file_page(), cursor_next_tuple(), qfile_copy_list_pages(), qfile_scan_next(), and xqfile_get_list_file_page().
#define QFILE_GET_OVERFLOW_PAGE_ID | ( | ptr | ) | (PAGEID) OR_GET_INT ((ptr) + QFILE_OVERFLOW_PAGE_ID_OFFSET) |
Definition at line 79 of file query_list.h.
Referenced by cursor_fetch_page_having_tuple(), cursor_get_list_file_page(), qfile_get_tuple(), qfile_overwrite_tuple(), qfile_retrieve_tuple(), qfile_set_tuple_column_value(), sqmgr_execute_query(), sqmgr_prepare_and_execute_query(), and xqfile_get_list_file_page().
#define QFILE_GET_OVERFLOW_TUPLE_PAGE_SIZE | ( | ptr | ) | (int) OR_GET_INT ((ptr) + QFILE_OVERFLOW_TUPLE_PAGE_SIZE_OFFSET) |
Definition at line 209 of file query_list.h.
#define QFILE_GET_OVERFLOW_VOLUME_ID | ( | ptr | ) | (VOLID) OR_GET_SHORT ((ptr) + QFILE_OVERFLOW_VOL_ID_OFFSET) |
Definition at line 88 of file query_list.h.
#define QFILE_GET_OVERFLOW_VPID | ( | des, | |
ptr | |||
) |
Definition at line 112 of file query_list.h.
Referenced by cursor_construct_tuple_from_overflow_pages(), cursor_get_list_file_page(), qexec_analytic_put_next(), qexec_gby_put_next(), qexec_hash_gby_put_next(), qexec_ordby_put_next(), qfile_add_overflow_tuple_to_list(), qfile_copy_list_pages(), qfile_get_tuple(), qfile_overwrite_tuple(), qfile_put_next_sort_item(), and xqfile_get_list_file_page().
#define QFILE_GET_PREV_PAGE_ID | ( | ptr | ) | (PAGEID) OR_GET_INT ((ptr) + QFILE_PREV_PAGE_ID_OFFSET) |
Definition at line 70 of file query_list.h.
Referenced by cursor_prev_tuple(), and qfile_scan_prev().
#define QFILE_GET_PREV_TUPLE_LENGTH | ( | tpl | ) | OR_GET_INT ((tpl) + QFILE_TUPLE_PREV_LENGTH_OFFSET) |
Definition at line 241 of file query_list.h.
Referenced by cursor_prev_tuple(), and qfile_scan_prev().
#define QFILE_GET_PREV_VOLUME_ID | ( | ptr | ) | (VOLID) OR_GET_SHORT ((ptr) + QFILE_PREV_VOL_ID_OFFSET) |
Definition at line 82 of file query_list.h.
#define QFILE_GET_PREV_VPID | ( | des, | |
ptr | |||
) |
Definition at line 96 of file query_list.h.
Referenced by cursor_prev_tuple(), and qfile_scan_prev().
#define QFILE_GET_TUPLE_COUNT | ( | ptr | ) | OR_GET_INT ((ptr) + QFILE_TUPLE_COUNT_OFFSET) |
Definition at line 67 of file query_list.h.
Referenced by cursor_point_current_tuple(), cursor_prefetch_column_oids(), cursor_prefetch_first_hidden_oid(), qfile_allocate_new_page_if_need(), qfile_scan_next(), qfile_scan_prev(), sqmgr_execute_query(), sqmgr_prepare_and_execute_query(), and xqfile_get_list_file_page().
#define QFILE_GET_TUPLE_LENGTH | ( | tpl | ) | OR_GET_INT ((tpl) + QFILE_TUPLE_LENGTH_OFFSET) |
Definition at line 238 of file query_list.h.
Referenced by cursor_construct_tuple_from_overflow_pages(), cursor_get_first_tuple_value(), cursor_get_tuple_value_from_list(), cursor_next_tuple(), cursor_point_current_tuple(), cursor_prefetch_column_oids(), cursor_prefetch_first_hidden_oid(), cursor_prev_tuple(), eval_sub_sort_list_to_multi_set(), eval_sub_sort_list_to_sort_list(), qdata_alloc_hscan_value(), qdata_load_agg_hentry_from_tuple(), qdata_print_hash_scan_entry(), qexec_merge_tuple_add_list(), qfile_add_overflow_tuple_to_list(), qfile_add_tuple_get_pos_in_list(), qfile_add_tuple_to_list(), qfile_get_tuple(), qfile_overwrite_tuple(), qfile_retrieve_tuple(), qfile_scan_next(), qfile_set_tuple_column_value(), sqmgr_execute_query(), sqmgr_prepare_and_execute_query(), stran_can_end_after_query_execution(), and xqfile_get_list_file_page().
#define QFILE_GET_TUPLE_VALUE_FLAG | ( | ptr | ) | (QFILE_TUPLE_VALUE_FLAG) OR_GET_INT ((ptr) + QFILE_TUPLE_VALUE_FLAG_OFFSET) |
Definition at line 250 of file query_list.h.
Referenced by cursor_get_first_tuple_value(), cursor_get_tuple_value_from_list(), cursor_prefetch_column_oids(), cursor_prefetch_first_hidden_oid(), qdata_finalize_aggregate_list(), qdata_finalize_analytic_func(), qexec_analytic_group_header_load(), qexec_analytic_sort_key_header_load(), qexec_merge_list(), qexec_merge_list_outer(), qfile_compare_partial_sort_record(), qfile_locate_tuple_next_value(), qfile_locate_tuple_value_r(), qfile_make_sort_key(), and stran_can_end_after_query_execution().
#define QFILE_GET_TUPLE_VALUE_HEADER_POSITION | ( | tpl, | |
ind, | |||
valp | |||
) |
Definition at line 262 of file query_list.h.
Referenced by qexec_merge_tuple(), qexec_ordby_put_next(), qexec_size_remaining(), qfile_make_sort_key(), and qfile_save_merge_tuple().
#define QFILE_GET_TUPLE_VALUE_LENGTH | ( | ptr | ) | (int) OR_GET_INT ((ptr) + QFILE_TUPLE_VALUE_LENGTH_OFFSET) |
Definition at line 253 of file query_list.h.
Referenced by cursor_get_oid_from_tuple(), cursor_get_tuple_value_from_list(), cursor_prefetch_column_oids(), eval_sub_sort_list_to_multi_set(), eval_sub_sort_list_to_sort_list(), qdata_finalize_aggregate_list(), qdata_finalize_analytic_func(), qexec_analytic_sort_key_header_load(), qexec_cmp_tpl_vals_merge(), qexec_compare_valptr_with_tuple(), qexec_merge_tuple(), qexec_size_remaining(), qfile_compare_partial_sort_record(), qfile_compare_tuple_helper(), qfile_compare_tuple_values(), qfile_compare_with_interpolation_domain(), qfile_generate_sort_tuple(), qfile_locate_tuple_next_value(), qfile_locate_tuple_value_r(), qfile_make_sort_key(), qfile_put_next_sort_item(), qfile_save_merge_tuple(), qfile_save_sort_key_tuple(), and stran_can_end_after_query_execution().
#define QFILE_INNER_LIST 1 /* inner list file indicator */ |
Definition at line 492 of file query_list.h.
Referenced by gen_outer(), and make_mergelist_proc().
Definition at line 524 of file query_list.h.
Referenced by qfile_combine_two_list(), and qfile_open_list().
#define QFILE_IS_FLAG_SET_BOTH | ( | var, | |
flag1, | |||
flag2 | |||
) | (((var) & (flag1)) && ((var) & (flag2))) |
Definition at line 525 of file query_list.h.
Referenced by qfile_combine_two_list().
#define QFILE_LAST_TUPLE_OFFSET 12 |
Definition at line 53 of file query_list.h.
Referenced by qfile_initialize_page_header(), and qmgr_put_page_header().
#define QFILE_MAX_TUPLE_SIZE_IN_PAGE (DB_PAGESIZE - QFILE_PAGE_HEADER_SIZE) |
Definition at line 217 of file query_list.h.
Referenced by cursor_construct_tuple_from_overflow_pages(), qdata_generate_tuple_desc_for_valptr_list(), qdata_save_agg_hentry_to_list(), qexec_merge_tuple_add_list(), qexec_setup_topn_proc(), qfile_add_item_to_list(), qfile_fast_intval_tuple_to_list(), qfile_fast_val_tuple_to_list(), qfile_initialize(), and qfile_put_next_sort_item().
#define QFILE_NEXT_PAGE_ID_OFFSET 8 |
Definition at line 52 of file query_list.h.
Referenced by qfile_initialize_page_header(), and qmgr_put_page_header().
#define QFILE_NEXT_VOL_ID_OFFSET 22 |
Definition at line 56 of file query_list.h.
Referenced by qfile_initialize_page_header(), and qmgr_put_page_header().
#define QFILE_NULL_PAGE_OFFSET -1 |
Definition at line 61 of file query_list.h.
#define QFILE_OUTER_LIST 0 /* outer list file indicator */ |
Definition at line 491 of file query_list.h.
Referenced by gen_outer(), make_mergelist_proc(), qexec_merge_list(), qexec_merge_list_outer(), qexec_merge_tuple(), qexec_size_remaining(), and qfile_save_merge_tuple().
#define QFILE_OVERFLOW_PAGE_ID_OFFSET 16 |
Definition at line 54 of file query_list.h.
Referenced by qfile_initialize_page_header(), and qmgr_put_page_header().
#define QFILE_OVERFLOW_TUPLE_COUNT_FLAG -2 |
Definition at line 275 of file query_list.h.
Referenced by qfile_allocate_new_ovf_page(), and xqfile_get_list_file_page().
#define QFILE_OVERFLOW_TUPLE_PAGE_SIZE_OFFSET 12 |
Definition at line 207 of file query_list.h.
#define QFILE_OVERFLOW_VOL_ID_OFFSET 24 |
Definition at line 57 of file query_list.h.
Referenced by qfile_initialize_page_header(), and qmgr_put_page_header().
#define QFILE_PAGE_HEADER_SIZE 32 |
Definition at line 47 of file query_list.h.
Referenced by cursor_construct_tuple_from_overflow_pages(), cursor_point_current_tuple(), cursor_prefetch_column_oids(), cursor_prefetch_first_hidden_oid(), qfile_add_overflow_tuple_to_list(), qfile_add_tuple_get_pos_in_list(), qfile_add_tuple_to_list(), qfile_allocate_new_page(), qfile_get_first_page(), qfile_get_tuple(), qfile_initialize_page_header(), qfile_is_last_page_full(), qfile_overwrite_tuple(), qfile_scan_next(), qmgr_put_page_header(), qmgr_setup_empty_list_file(), sqfile_get_list_file_page(), and xqfile_get_list_file_page().
#define QFILE_PREV_PAGE_ID_OFFSET 4 |
Definition at line 51 of file query_list.h.
Referenced by qfile_initialize_page_header(), and qmgr_put_page_header().
#define QFILE_PREV_VOL_ID_OFFSET 20 |
Definition at line 55 of file query_list.h.
Referenced by qfile_initialize_page_header(), and qmgr_put_page_header().
#define QFILE_PUT_LAST_TUPLE_OFFSET | ( | ptr, | |
val | |||
) | OR_PUT_INT ((ptr) + QFILE_LAST_TUPLE_OFFSET, (val)) |
Definition at line 129 of file query_list.h.
Referenced by qfile_allocate_new_page(), and qfile_allocate_new_page_if_need().
#define QFILE_PUT_NEXT_PAGE_ID | ( | ptr, | |
val | |||
) | OR_PUT_INT ((ptr) + QFILE_NEXT_PAGE_ID_OFFSET, (val)) |
Definition at line 126 of file query_list.h.
#define QFILE_PUT_NEXT_VOLUME_ID | ( | ptr, | |
val | |||
) | OR_PUT_SHORT ((ptr) + QFILE_NEXT_VOL_ID_OFFSET, (val)) |
Definition at line 138 of file query_list.h.
#define QFILE_PUT_NEXT_VPID | ( | ptr, | |
vpid | |||
) |
Definition at line 157 of file query_list.h.
Referenced by qfile_allocate_new_page(), and qfile_copy_list_pages().
#define QFILE_PUT_NEXT_VPID_NULL | ( | ptr | ) |
Definition at line 181 of file query_list.h.
Referenced by qexec_execute_query(), qexec_setup_list_id(), qfile_allocate_new_ovf_page(), qfile_allocate_new_page(), and qfile_close_list().
#define QFILE_PUT_OVERFLOW_PAGE_ID | ( | ptr, | |
val | |||
) | OR_PUT_INT ((ptr) + QFILE_OVERFLOW_PAGE_ID_OFFSET, (val)) |
Definition at line 132 of file query_list.h.
#define QFILE_PUT_OVERFLOW_TUPLE_PAGE_SIZE | ( | ptr, | |
val | |||
) | OR_PUT_INT ((ptr) + QFILE_OVERFLOW_TUPLE_PAGE_SIZE_OFFSET, (val)) |
Definition at line 212 of file query_list.h.
Referenced by qfile_allocate_new_ovf_page().
#define QFILE_PUT_OVERFLOW_VOLUME_ID | ( | ptr, | |
val | |||
) | OR_PUT_SHORT ((ptr) + QFILE_OVERFLOW_VOL_ID_OFFSET, (val)) |
Definition at line 141 of file query_list.h.
#define QFILE_PUT_OVERFLOW_VPID | ( | ptr, | |
vpid | |||
) |
Definition at line 165 of file query_list.h.
Referenced by qfile_allocate_new_ovf_page(), and qfile_copy_list_pages().
#define QFILE_PUT_OVERFLOW_VPID_NULL | ( | ptr | ) |
Definition at line 189 of file query_list.h.
Referenced by qfile_add_overflow_tuple_to_list(), qfile_add_tuple_get_pos_in_list(), qfile_add_tuple_to_list(), qfile_allocate_new_ovf_page(), qfile_allocate_new_page(), and qfile_get_first_page().
#define QFILE_PUT_PREV_PAGE_ID | ( | ptr, | |
val | |||
) | OR_PUT_INT ((ptr) + QFILE_PREV_PAGE_ID_OFFSET, (val)) |
Definition at line 123 of file query_list.h.
#define QFILE_PUT_PREV_TUPLE_LENGTH | ( | tpl, | |
val | |||
) | OR_PUT_INT ((tpl) + QFILE_TUPLE_PREV_LENGTH_OFFSET,val) |
Definition at line 247 of file query_list.h.
Referenced by qfile_add_tuple_to_list_id().
#define QFILE_PUT_PREV_VOLUME_ID | ( | ptr, | |
val | |||
) | OR_PUT_SHORT ((ptr) + QFILE_PREV_VOL_ID_OFFSET, (val)) |
Definition at line 135 of file query_list.h.
#define QFILE_PUT_PREV_VPID | ( | ptr, | |
vpid | |||
) |
Definition at line 149 of file query_list.h.
Referenced by qfile_allocate_new_page(), qfile_copy_list_pages(), and qfile_get_first_page().
#define QFILE_PUT_PREV_VPID_NULL | ( | ptr | ) |
Definition at line 173 of file query_list.h.
#define QFILE_PUT_TUPLE_COUNT | ( | ptr, | |
val | |||
) | OR_PUT_INT ((ptr) + QFILE_TUPLE_COUNT_OFFSET, (val)) |
Definition at line 120 of file query_list.h.
Referenced by qfile_allocate_new_ovf_page(), qfile_allocate_new_page(), qfile_allocate_new_page_if_need(), and qfile_get_first_page().
#define QFILE_PUT_TUPLE_LENGTH | ( | tpl, | |
val | |||
) | OR_PUT_INT ((tpl) + QFILE_TUPLE_LENGTH_OFFSET,val) |
Definition at line 244 of file query_list.h.
Referenced by qdata_copy_valptr_list_to_tuple(), qexec_merge_tuple(), qfile_add_item_to_list(), qfile_copy_tuple_descr_to_tuple(), qfile_fast_intint_tuple_to_list(), qfile_fast_intval_tuple_to_list(), qfile_fast_val_tuple_to_list(), qfile_generate_sort_tuple(), qfile_save_merge_tuple(), qfile_save_normal_tuple(), qfile_save_single_bound_item_tuple(), and qfile_save_sort_key_tuple().
#define QFILE_PUT_TUPLE_VALUE_FLAG | ( | ptr, | |
val | |||
) | OR_PUT_INT ((ptr) + QFILE_TUPLE_VALUE_FLAG_OFFSET, (val)) |
Definition at line 256 of file query_list.h.
Referenced by qdata_copy_db_value_to_tuple_value(), qexec_merge_tuple(), qfile_add_item_to_list(), qfile_fast_intint_tuple_to_list(), qfile_fast_intval_tuple_to_list(), qfile_fast_val_tuple_to_list(), qfile_generate_sort_tuple(), qfile_save_merge_tuple(), qfile_save_single_bound_item_tuple(), and qfile_save_sort_key_tuple().
#define QFILE_PUT_TUPLE_VALUE_LENGTH | ( | ptr, | |
val | |||
) | OR_PUT_INT ((ptr) + QFILE_TUPLE_VALUE_LENGTH_OFFSET, (val)) |
Definition at line 259 of file query_list.h.
Referenced by qdata_copy_db_value_to_tuple_value(), qexec_merge_tuple(), qfile_add_item_to_list(), qfile_fast_intint_tuple_to_list(), qfile_fast_intval_tuple_to_list(), qfile_fast_val_tuple_to_list(), qfile_generate_sort_tuple(), qfile_save_merge_tuple(), qfile_save_single_bound_item_tuple(), and qfile_save_sort_key_tuple().
#define QFILE_RESERVED_OFFSET 26 |
Definition at line 58 of file query_list.h.
Referenced by qfile_initialize_page_header(), and qmgr_put_page_header().
Definition at line 522 of file query_list.h.
Referenced by qexec_end_buildvalueblock_iterations(), qexec_end_mainblock_iterations(), qexec_execute_analytic(), qexec_execute_cte(), qexec_groupby(), qexec_groupby_index(), qexec_merge_listfiles(), qexec_orderby_distinct_by_sorting(), and qexec_start_mainblock_iterations().
#define QFILE_TUPLE_COUNT_OFFSET 0 |
Definition at line 50 of file query_list.h.
Referenced by qfile_initialize_page_header(), and qmgr_put_page_header().
#define QFILE_TUPLE_LENGTH_OFFSET 0 |
Definition at line 225 of file query_list.h.
#define QFILE_TUPLE_LENGTH_SIZE 8 |
Definition at line 224 of file query_list.h.
Referenced by cursor_get_first_tuple_value(), cursor_get_tuple_value_from_list(), cursor_prefetch_column_oids(), cursor_prefetch_first_hidden_oid(), eval_sub_sort_list_to_multi_set(), eval_sub_sort_list_to_sort_list(), fetch_val_list(), qdata_copy_valptr_list_to_tuple(), qdata_finalize_aggregate_list(), qdata_finalize_analytic_func(), qdata_generate_tuple_desc_for_valptr_list(), qdata_load_agg_hentry_from_tuple(), qdata_save_agg_hentry_to_list(), qexec_analytic_group_header_load(), qexec_analytic_sort_key_header_load(), qexec_compare_valptr_with_tuple(), qexec_merge_tuple(), qexec_topn_tuples_to_list_id(), qfile_add_item_to_list(), qfile_compare_tuple_helper(), qfile_copy_tuple_descr_to_tuple(), qfile_fast_intint_tuple_to_list(), qfile_fast_intval_tuple_to_list(), qfile_fast_val_tuple_to_list(), qfile_generate_sort_tuple(), qfile_locate_tuple_next_value(), qfile_locate_tuple_value(), qfile_put_next_sort_item(), qfile_save_merge_tuple(), qfile_save_tuple(), and stran_can_end_after_query_execution().
#define QFILE_TUPLE_PREV_LENGTH_OFFSET 4 |
Definition at line 226 of file query_list.h.
#define QFILE_TUPLE_VALUE_FLAG_OFFSET 0 |
Definition at line 233 of file query_list.h.
#define QFILE_TUPLE_VALUE_FLAG_SIZE 4 |
Definition at line 230 of file query_list.h.
#define QFILE_TUPLE_VALUE_HEADER_LENGTH 8 |
Definition at line 228 of file query_list.h.
Referenced by qfile_compare_partial_sort_record(), and qfile_compare_with_interpolation_domain().
#define QFILE_TUPLE_VALUE_HEADER_SIZE 8 |
Definition at line 229 of file query_list.h.
Referenced by cursor_get_first_tuple_value(), cursor_get_oid_from_tuple(), cursor_get_tuple_value_from_list(), cursor_prefetch_column_oids(), eval_sub_sort_list_to_multi_set(), eval_sub_sort_list_to_sort_list(), qdata_copy_db_value_to_tuple_value(), qdata_finalize_aggregate_list(), qdata_finalize_analytic_func(), qdata_get_tuple_value_size_from_dbval(), qexec_analytic_group_header_load(), qexec_analytic_sort_key_header_load(), qexec_cmp_tpl_vals_merge(), qexec_compare_valptr_with_tuple(), qexec_merge_tuple(), qexec_merge_tuple_add_list(), qexec_size_remaining(), qfile_add_item_to_list(), qfile_compare_tuple_helper(), qfile_compare_tuple_values(), qfile_fast_intint_tuple_to_list(), qfile_fast_intval_tuple_to_list(), qfile_fast_val_tuple_to_list(), qfile_generate_sort_tuple(), qfile_locate_tuple_next_value(), qfile_locate_tuple_value_r(), qfile_make_sort_key(), qfile_put_next_sort_item(), qfile_save_merge_tuple(), qfile_save_single_bound_item_tuple(), qfile_save_sort_key_tuple(), and stran_can_end_after_query_execution().
#define QFILE_TUPLE_VALUE_LENGTH_OFFSET 4 |
Definition at line 234 of file query_list.h.
#define QFILE_TUPLE_VALUE_LENGTH_SIZE 4 |
Definition at line 231 of file query_list.h.
typedef struct qfile_list_id QFILE_LIST_ID |
Definition at line 425 of file query_list.h.
typedef struct qfile_list_merge_info QFILE_LIST_MERGE_INFO |
Definition at line 335 of file query_list.h.
typedef struct qfile_list_scan_id QFILE_LIST_SCAN_ID |
Definition at line 495 of file query_list.h.
typedef struct qfile_sort_scan_id QFILE_SORT_SCAN_ID |
Definition at line 538 of file query_list.h.
typedef struct qfile_sorted_list_id QFILE_SORTED_LIST_ID |
Definition at line 530 of file query_list.h.
typedef char* QFILE_TUPLE |
Definition at line 281 of file query_list.h.
typedef struct qfile_tuple_descriptor QFILE_TUPLE_DESCRIPTOR |
Definition at line 362 of file query_list.h.
typedef struct qfile_tuple_position QFILE_TUPLE_POSITION |
Definition at line 480 of file query_list.h.
typedef struct qfile_tuple_record QFILE_TUPLE_RECORD |
Definition at line 284 of file query_list.h.
typedef struct qfile_tuple_value_header QFILE_TUPLE_VALUE_HEADER |
Definition at line 298 of file query_list.h.
typedef struct qfile_tuple_value_position QFILE_TUPLE_VALUE_POSITION |
Definition at line 314 of file query_list.h.
typedef struct qfile_tuple_value_type_list QFILE_TUPLE_VALUE_TYPE_LIST |
Definition at line 306 of file query_list.h.
typedef int QUERY_FLAG |
Definition at line 585 of file query_list.h.
Definition at line 410 of file query_list.h.
anonymous enum |
Enumerator | |
---|---|
QFILE_FLAG_RESULT_FILE | |
QFILE_FLAG_UNION | |
QFILE_FLAG_INTERSECT | |
QFILE_FLAG_DIFFERENCE | |
QFILE_FLAG_ALL | |
QFILE_FLAG_DISTINCT | |
QFILE_FLAG_USE_KEY_BUFFER |
Definition at line 511 of file query_list.h.
anonymous enum |
Definition at line 552 of file query_list.h.
enum JOIN_TYPE |
Enumerator | |
---|---|
NO_JOIN | |
JOIN_INNER | |
JOIN_LEFT | |
JOIN_RIGHT | |
JOIN_OUTER | |
JOIN_CSELECT |
Definition at line 32 of file query_list.h.
enum QFILE_TUPLE_TYPE |
Enumerator | |
---|---|
T_UNKNOWN | |
T_SINGLE_BOUND_ITEM | |
T_NORMAL | |
T_SORTKEY | |
T_MERGE |
Definition at line 352 of file query_list.h.
Enumerator | |
---|---|
V_BOUND | |
V_UNBOUND |
Definition at line 291 of file query_list.h.
enum QPROC_SINGLE_FETCH |
Enumerator | |
---|---|
QPROC_NO_SINGLE_INNER | |
QPROC_SINGLE_INNER | |
QPROC_SINGLE_OUTER | |
QPROC_NO_SINGLE_OUTER |
Definition at line 326 of file query_list.h.
enum QUERY_EXEC_MODE |
Enumerator | |
---|---|
SYNC_EXEC | |
DEFAULT_EXEC_MODE |
Definition at line 546 of file query_list.h.
enum SORT_NULLS |
Enumerator | |
---|---|
S_NULLS_FIRST | |
S_NULLS_LAST |
Definition at line 404 of file query_list.h.
enum SORT_ORDER |
Enumerator | |
---|---|
S_ASC | |
S_DESC |
Definition at line 398 of file query_list.h.
enum SORT_TYPE |
Enumerator | |
---|---|
SORT_TEMP | |
SORT_GROUPBY | |
SORT_ORDERBY | |
SORT_DISTINCT | |
SORT_LIMIT |
Definition at line 389 of file query_list.h.