File xasl_to_stream.c
FileList > cubrid > src > query > xasl_to_stream.c
Go to the source code of this file
#include "config.h"
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "xasl_to_stream.h"
#include "error_manager.h"
#include "server_interface.h"
#include "class_object.h"
#include "object_primitive.h"
#include "work_space.h"
#include "memory_alloc.h"
#include "xasl.h"
#include "xasl_aggregate.hpp"
#include "xasl_analytic.hpp"
#include "xasl_predicate.hpp"
#include "xasl_stream.hpp"
#include "xasl_unpack_info.hpp"
Classes
Public Types
Public Static Attributes
Public Functions
Public Static Functions
| Type |
Name |
| void |
xts_debug_check (const T & t, char * pack_start, const char * pack_end)
|
| void |
xts_debug_clear (T & t)
|
| void |
xts_free_visited_ptrs (void)
|
| int |
xts_get_offset_visited_ptr (const void * ptr)
|
| int |
xts_get_regu_variable_value_size (const REGU_VARIABLE * ptr)
|
| int |
xts_mark_ptr_visited (const void * ptr, int offset)
|
| char * |
xts_pack_regu_variable_value (char * ptr, const REGU_VARIABLE * regu_var)
|
| char * |
xts_process (char * ptr, const json_table_column & json_table_col)
|
| char * |
xts_process (char * ptr, const json_table_node & json_table_node)
|
| char * |
xts_process (char * ptr, const json_table_spec_node & set_spec)
|
| char * |
xts_process_access_spec_type (char * ptr, const ACCESS_SPEC_TYPE * access_spec)
|
| char * |
xts_process_aggregate_type (char * ptr, const AGGREGATE_TYPE * aggregate)
|
| char * |
xts_process_alsm_eval_term (char * ptr, const ALSM_EVAL_TERM * alsm_eval_term)
|
| char * |
xts_process_analytic_eval_type (char * ptr, const ANALYTIC_EVAL_TYPE * analytic)
|
| char * |
xts_process_analytic_type (char * ptr, const ANALYTIC_TYPE * analytic)
|
| char * |
xts_process_arith_type (char * ptr, const ARITH_TYPE * arith)
|
| char * |
xts_process_attr_descr (char * ptr, const ATTR_DESCR * attr_descr)
|
| char * |
xts_process_buildlist_proc (char * ptr, const BUILDLIST_PROC_NODE * build_list_proc)
|
| char * |
xts_process_buildvalue_proc (char * ptr, const BUILDVALUE_PROC_NODE * build_value_proc)
|
| char * |
xts_process_cache_attrinfo (char * ptr)
|
| char * |
xts_process_cls_spec_type (char * ptr, const CLS_SPEC_TYPE * cls_spec)
|
| char * |
xts_process_comp_eval_term (char * ptr, const COMP_EVAL_TERM * comp_eval_term)
|
| char * |
xts_process_connectby_proc (char * ptr, const CONNECTBY_PROC_NODE * connectby_proc)
|
| char * |
xts_process_cte_proc (char * ptr, const CTE_PROC_NODE * cte_proc)
|
| char * |
xts_process_db_value (char * ptr, const DB_VALUE * value)
|
| char * |
xts_process_dblink_spec_type (char * ptr, const DBLINK_SPEC_TYPE * dblink_spec)
|
| char * |
xts_process_delete_proc (char * ptr, const DELETE_PROC_NODE * delete_proc)
|
| char * |
xts_process_eval_term (char * ptr, const EVAL_TERM * eval_term)
|
| char * |
xts_process_fetch_proc (char * ptr, const FETCH_PROC_NODE * obj_set_fetch_proc)
|
| char * |
xts_process_filter_pred_node (char * ptr, const PRED_EXPR_WITH_CONTEXT * pred)
|
| char * |
xts_process_func_pred (char * ptr, const FUNC_PRED * xasl)
|
| char * |
xts_process_function_type (char * ptr, const FUNCTION_TYPE * function)
|
| char * |
xts_process_hashjoin_proc (char * ptr, const HASHJOIN_PROC_NODE * node_p)
|
| char * |
xts_process_indx_info (char * ptr, const INDX_INFO * indx_info)
|
| char * |
xts_process_insert_proc (char * ptr, const INSERT_PROC_NODE * insert_proc)
|
| char * |
xts_process_json_table_column_behavior (char * ptr, const json_table_column_behavior * behavior)
|
| char * |
xts_process_key_info (char * ptr, const KEY_INFO * key_info)
|
| char * |
xts_process_like_eval_term (char * ptr, const LIKE_EVAL_TERM * like_eval_term)
|
| char * |
xts_process_list_id (char * ptr, const QFILE_LIST_ID * list_id)
|
| char * |
xts_process_list_spec_type (char * ptr, const LIST_SPEC_TYPE * list_spec)
|
| char * |
xts_process_ls_merge_info (char * ptr, const QFILE_LIST_MERGE_INFO * qfile_list_merge_info)
|
| char * |
xts_process_merge_proc (char * ptr, const MERGE_PROC_NODE * merge_info)
|
| char * |
xts_process_mergelist_proc (char * ptr, const MERGELIST_PROC_NODE * merge_list_info)
|
| char * |
xts_process_method_spec_type (char * ptr, const METHOD_SPEC_TYPE * method_spec)
|
| char * |
xts_process_outptr_list (char * ptr, const OUTPTR_LIST * outptr_list)
|
| char * |
xts_process_pos_descr (char * ptr, const QFILE_TUPLE_VALUE_POSITION * position_descr)
|
| char * |
xts_process_pred (char * ptr, const PRED * pred)
|
| char * |
xts_process_pred_expr (char * ptr, const PRED_EXPR * pred_expr)
|
| char * |
xts_process_regu_value_list (char * ptr, const REGU_VALUE_LIST * regu_value_list)
|
| char * |
xts_process_regu_variable (char * ptr, const REGU_VARIABLE * regu_var)
|
| char * |
xts_process_regu_variable_list (char * ptr, const REGU_VARIABLE_LIST regu_var_list)
|
| char * |
xts_process_rlike_eval_term (char * ptr, const RLIKE_EVAL_TERM * rlike_eval_term)
|
| char * |
xts_process_rlist_spec_type (char * ptr, const LIST_SPEC_TYPE * list_spec)
|
| char * |
xts_process_selupd_list (char * ptr, const SELUPD_LIST * selupd_list)
|
| char * |
xts_process_set_spec_type (char * ptr, const SET_SPEC_TYPE * set_spec)
|
| char * |
xts_process_showstmt_spec_type (char * ptr, const SHOWSTMT_SPEC_TYPE * list_spec)
|
| char * |
xts_process_sort_list (char * ptr, const SORT_LIST * sort_list)
|
| char * |
xts_process_sp_type (char * ptr, const SP_TYPE * sp)
|
| char * |
xts_process_sq_cache (char * ptr, const SQ_CACHE * sq_cache)
|
| char * |
xts_process_srlist_id (char * ptr, const QFILE_SORTED_LIST_ID * sort_list_id)
|
| char * |
xts_process_sub_xasl_id (char * ptr, const XASL_ID * sub_xasl_id)
|
| char * |
xts_process_union_proc (char * ptr, const UNION_PROC_NODE * union_proc)
|
| char * |
xts_process_update_proc (char * ptr, const UPDATE_PROC_NODE * update_info)
|
| char * |
xts_process_val_list (char * ptr, const VAL_LIST * val_list)
|
| char * |
xts_process_xasl_header (char * ptr, const XASL_NODE_HEADER header)
|
| char * |
xts_process_xasl_node (char * ptr, const XASL_NODE * xasl)
|
| int |
xts_reserve_location_in_stream (int size)
|
| int |
xts_save (const T & t)
|
| int |
xts_save_aggregate_type (const AGGREGATE_TYPE * aggregate)
|
| int |
xts_save_analytic_eval_type (const ANALYTIC_EVAL_TYPE * analytic)
|
| int |
xts_save_analytic_type (const ANALYTIC_TYPE * analytic)
|
| int |
xts_save_arith_type (const ARITH_TYPE * arithmetic)
|
| int |
xts_save_cache_attrinfo (const HEAP_CACHE_ATTRINFO * ptr)
|
| int |
xts_save_db_value (const DB_VALUE * ptr)
|
| int |
xts_save_db_value_array (DB_VALUE ** ptr, int size)
|
| int |
xts_save_domain_array (TP_DOMAIN ** domain_array_p, int nelements)
|
| int |
xts_save_filter_pred_node (const PRED_EXPR_WITH_CONTEXT * pred)
|
| int |
xts_save_func_pred (const FUNC_PRED * ptr)
|
| int |
xts_save_function_type (const FUNCTION_TYPE * function)
|
| int |
xts_save_hfid_array (HFID * ptr, int size)
|
| int |
xts_save_indx_info (const INDX_INFO * indx_info)
|
| int |
xts_save_input_vals (const char * input_vals_p, int length)
|
| int |
xts_save_int_array (int * ptr, int size)
|
| int |
xts_save_key_range_array (const KEY_RANGE * ptr, int size)
|
| int |
xts_save_key_val_array (const KEY_VAL_RANGE * key_val_array, int nelements)
|
| int |
xts_save_list_id (const QFILE_LIST_ID * list_id)
|
| int |
xts_save_odku_info (const ODKU_INFO * odku_info)
|
| int |
xts_save_oid_array (OID * ptr, int size)
|
| int |
xts_save_outptr_list (const OUTPTR_LIST * outptr_list)
|
| int |
xts_save_packable_object (const cubpacking::packable_object & po)
|
| int |
xts_save_pred_expr (const PRED_EXPR * ptr)
|
| int |
xts_save_regu_variable (const REGU_VARIABLE * ptr)
|
| int |
xts_save_regu_variable_list (const REGU_VARIABLE_LIST ptr)
|
| int |
xts_save_regu_varlist_list (const REGU_VARLIST_LIST ptr)
|
| int |
xts_save_selupd_list (const SELUPD_LIST * selupd_list)
|
| int |
xts_save_sort_list (const SORT_LIST * ptr)
|
| int |
xts_save_sp_type (const SP_TYPE * sp)
|
| int |
xts_save_srlist_id (const QFILE_SORTED_LIST_ID * sort_list_id)
|
| int |
xts_save_string (const char * str)
|
| int |
xts_save_string_with_length (const char * string, int length)
|
| int |
xts_save_sub_xasl_id (const XASL_ID * sub_xasl_id)
|
| char * |
xts_save_update_assignment (char * ptr, const UPDATE_ASSIGNMENT * assign)
|
| int |
xts_save_update_assignment_array (const UPDATE_ASSIGNMENT * assigns, int nelements)
|
| char * |
xts_save_upddel_class_info (char * ptr, const UPDDEL_CLASS_INFO * upd_cls)
|
| int |
xts_save_upddel_class_info_array (const UPDDEL_CLASS_INFO * classes, int nelements)
|
| int |
xts_save_val_list (const VAL_LIST * ptr)
|
| int |
xts_save_xasl_node (const XASL_NODE * ptr)
|
| int |
xts_sizeof (const json_table_column & ptr)
|
| int |
xts_sizeof (const json_table_node & ptr)
|
| int |
xts_sizeof (const json_table_spec_node & ptr)
|
| int |
xts_sizeof_access_spec_type (const ACCESS_SPEC_TYPE * ptr)
|
| int |
xts_sizeof_aggregate_type (const AGGREGATE_TYPE * ptr)
|
| int |
xts_sizeof_alsm_eval_term (const ALSM_EVAL_TERM * ptr)
|
| int |
xts_sizeof_analytic_eval_type (const ANALYTIC_EVAL_TYPE * ptr)
|
| int |
xts_sizeof_analytic_type (const ANALYTIC_TYPE * ptr)
|
| int |
xts_sizeof_arith_type (const ARITH_TYPE * ptr)
|
| int |
xts_sizeof_attr_descr (const ATTR_DESCR * ptr)
|
| int |
xts_sizeof_buildlist_proc (const BUILDLIST_PROC_NODE * ptr)
|
| int |
xts_sizeof_buildvalue_proc (const BUILDVALUE_PROC_NODE * ptr)
|
| int |
xts_sizeof_cache_attrinfo (const HEAP_CACHE_ATTRINFO * ptr)
|
| int |
xts_sizeof_cls_spec_type (const CLS_SPEC_TYPE * ptr)
|
| int |
xts_sizeof_comp_eval_term (const COMP_EVAL_TERM * ptr)
|
| int |
xts_sizeof_connectby_proc (const CONNECTBY_PROC_NODE * ptr)
|
| int |
xts_sizeof_cte_proc (const CTE_PROC_NODE * ptr)
|
| int |
xts_sizeof_db_value (const DB_VALUE * ptr)
|
| int |
xts_sizeof_dblink_spec_type (const DBLINK_SPEC_TYPE * ptr)
|
| int |
xts_sizeof_delete_proc (const DELETE_PROC_NODE * ptr)
|
| int |
xts_sizeof_eval_term (const EVAL_TERM * ptr)
|
| int |
xts_sizeof_fetch_proc (const FETCH_PROC_NODE * ptr)
|
| int |
xts_sizeof_filter_pred_node (const PRED_EXPR_WITH_CONTEXT * ptr)
|
| int |
xts_sizeof_func_pred (const FUNC_PRED * ptr)
|
| int |
xts_sizeof_function_type (const FUNCTION_TYPE * ptr)
|
| int |
xts_sizeof_hashjoin_proc (const HASHJOIN_PROC_NODE * ptr)
|
| int |
xts_sizeof_indx_info (const INDX_INFO * ptr)
|
| int |
xts_sizeof_insert_proc (const INSERT_PROC_NODE * ptr)
|
| int |
xts_sizeof_json_table_column_behavior (const json_table_column_behavior * behavior)
|
| int |
xts_sizeof_key_info (const KEY_INFO * ptr)
|
| int |
xts_sizeof_like_eval_term (const LIKE_EVAL_TERM * ptr)
|
| int |
xts_sizeof_list_id (const QFILE_LIST_ID * ptr)
|
| int |
xts_sizeof_list_spec_type (const LIST_SPEC_TYPE * ptr)
|
| int |
xts_sizeof_ls_merge_info (const QFILE_LIST_MERGE_INFO * ptr)
|
| int |
xts_sizeof_merge_proc (const MERGE_PROC_NODE * ptr)
|
| int |
xts_sizeof_mergelist_proc (const MERGELIST_PROC_NODE * ptr)
|
| int |
xts_sizeof_method_spec_type (const METHOD_SPEC_TYPE * ptr)
|
| int |
xts_sizeof_odku_info (const ODKU_INFO * odku_info)
|
| int |
xts_sizeof_outptr_list (const OUTPTR_LIST * ptr)
|
| int |
xts_sizeof_pos_descr (const QFILE_TUPLE_VALUE_POSITION * ptr)
|
| int |
xts_sizeof_pred (const PRED * ptr)
|
| int |
xts_sizeof_pred_expr (const PRED_EXPR * ptr)
|
| int |
xts_sizeof_regu_value_list (const REGU_VALUE_LIST * regu_value_list)
|
| int |
xts_sizeof_regu_variable (const REGU_VARIABLE * ptr)
|
| int |
xts_sizeof_regu_variable_list (const REGU_VARIABLE_LIST regu_var_list)
|
| int |
xts_sizeof_rlike_eval_term (const RLIKE_EVAL_TERM * ptr)
|
| int |
xts_sizeof_selupd_list (const SELUPD_LIST * ptr)
|
| int |
xts_sizeof_set_spec_type (const SET_SPEC_TYPE * ptr)
|
| int |
xts_sizeof_showstmt_spec_type (const SHOWSTMT_SPEC_TYPE * ptr)
|
| int |
xts_sizeof_sort_list (const SORT_LIST * ptr)
|
| int |
xts_sizeof_sp_type (const SP_TYPE * sp)
|
| int |
xts_sizeof_srlist_id (const QFILE_SORTED_LIST_ID * ptr)
|
| int |
xts_sizeof_union_proc (const UNION_PROC_NODE * ptr)
|
| int |
xts_sizeof_update_assignment (const UPDATE_ASSIGNMENT * assign)
|
| int |
xts_sizeof_update_proc (const UPDATE_PROC_NODE * ptr)
|
| int |
xts_sizeof_upddel_class_info (const UPDDEL_CLASS_INFO * upd_cls)
|
| int |
xts_sizeof_val_list (const VAL_LIST * ptr)
|
| int |
xts_sizeof_xasl_node (const XASL_NODE * ptr)
|
Macros
| Type |
Name |
| define |
BYTE_SIZE [**OR\_INT\_SIZE**](object__representation__constants_8h.md#define-or_int_size)
|
| define |
LONG_SIZE [**OR\_INT\_SIZE**](object__representation__constants_8h.md#define-or_int_size)
|
| define |
OFFSET_BUFFER_SIZE 32
|
| define |
PTR_SIZE [**OR\_INT\_SIZE**](object__representation__constants_8h.md#define-or_int_size)
|
| define |
pack_char [**or\_pack\_int**](object__representation_8h.md#function-or_pack_int)
|
| define |
pack_long [**or\_pack\_int**](object__representation_8h.md#function-or_pack_int)
|
Public Types Documentation
typedef XTS_VISITED_PTR
typedef struct xts_visited_ptr XTS_VISITED_PTR;
Public Static Attributes Documentation
variable xts_Free_offset_in_stream
int xts_Free_offset_in_stream;
variable xts_Ptr_blocks
XTS_VISITED_PTR* xts_Ptr_blocks[MAX_PTR_BLOCKS];
variable xts_Ptr_lwm
int xts_Ptr_lwm[MAX_PTR_BLOCKS];
variable xts_Ptr_max
int xts_Ptr_max[MAX_PTR_BLOCKS];
variable xts_Stream_buffer
variable xts_Stream_size
variable xts_Xasl_errcode
variable xts_id_serial
Public Functions Documentation
function xts_map_filter_pred_to_stream
int xts_map_filter_pred_to_stream (
const PRED_EXPR_WITH_CONTEXT * pred,
char ** pred_stream,
int * pred_stream_size
)
function xts_map_func_pred_to_stream
int xts_map_func_pred_to_stream (
const FUNC_PRED * xasl_tree,
char ** xasl_stream,
int * xasl_stream_size
)
function xts_map_xasl_to_stream
int xts_map_xasl_to_stream (
const XASL_NODE * xasl_tree,
XASL_STREAM * stream
)
Public Static Functions Documentation
function xts_debug_check
template<typename T>
static void xts_debug_check (
const T & t,
char * pack_start,
const char * pack_end
)
function xts_debug_clear
template<typename T>
static void xts_debug_clear (
T & t
)
function xts_free_visited_ptrs
static void xts_free_visited_ptrs (
void
)
function xts_get_offset_visited_ptr
static int xts_get_offset_visited_ptr (
const void * ptr
)
function xts_get_regu_variable_value_size
static int xts_get_regu_variable_value_size (
const REGU_VARIABLE * ptr
)
function xts_mark_ptr_visited
static int xts_mark_ptr_visited (
const void * ptr,
int offset
)
function xts_pack_regu_variable_value
static char * xts_pack_regu_variable_value (
char * ptr,
const REGU_VARIABLE * regu_var
)
function xts_process
static char * xts_process (
char * ptr,
const json_table_column & json_table_col
)
function xts_process
static char * xts_process (
char * ptr,
const json_table_node & json_table_node
)
function xts_process
static char * xts_process (
char * ptr,
const json_table_spec_node & set_spec
)
function xts_process_access_spec_type
static char * xts_process_access_spec_type (
char * ptr,
const ACCESS_SPEC_TYPE * access_spec
)
function xts_process_aggregate_type
static char * xts_process_aggregate_type (
char * ptr,
const AGGREGATE_TYPE * aggregate
)
function xts_process_alsm_eval_term
static char * xts_process_alsm_eval_term (
char * ptr,
const ALSM_EVAL_TERM * alsm_eval_term
)
function xts_process_analytic_eval_type
static char * xts_process_analytic_eval_type (
char * ptr,
const ANALYTIC_EVAL_TYPE * analytic
)
function xts_process_analytic_type
static char * xts_process_analytic_type (
char * ptr,
const ANALYTIC_TYPE * analytic
)
function xts_process_arith_type
static char * xts_process_arith_type (
char * ptr,
const ARITH_TYPE * arith
)
function xts_process_attr_descr
static char * xts_process_attr_descr (
char * ptr,
const ATTR_DESCR * attr_descr
)
function xts_process_buildlist_proc
static char * xts_process_buildlist_proc (
char * ptr,
const BUILDLIST_PROC_NODE * build_list_proc
)
function xts_process_buildvalue_proc
static char * xts_process_buildvalue_proc (
char * ptr,
const BUILDVALUE_PROC_NODE * build_value_proc
)
function xts_process_cache_attrinfo
static char * xts_process_cache_attrinfo (
char * ptr
)
function xts_process_cls_spec_type
static char * xts_process_cls_spec_type (
char * ptr,
const CLS_SPEC_TYPE * cls_spec
)
function xts_process_comp_eval_term
static char * xts_process_comp_eval_term (
char * ptr,
const COMP_EVAL_TERM * comp_eval_term
)
function xts_process_connectby_proc
static char * xts_process_connectby_proc (
char * ptr,
const CONNECTBY_PROC_NODE * connectby_proc
)
function xts_process_cte_proc
static char * xts_process_cte_proc (
char * ptr,
const CTE_PROC_NODE * cte_proc
)
function xts_process_db_value
static char * xts_process_db_value (
char * ptr,
const DB_VALUE * value
)
function xts_process_dblink_spec_type
static char * xts_process_dblink_spec_type (
char * ptr,
const DBLINK_SPEC_TYPE * dblink_spec
)
function xts_process_delete_proc
static char * xts_process_delete_proc (
char * ptr,
const DELETE_PROC_NODE * delete_proc
)
function xts_process_eval_term
static char * xts_process_eval_term (
char * ptr,
const EVAL_TERM * eval_term
)
function xts_process_fetch_proc
static char * xts_process_fetch_proc (
char * ptr,
const FETCH_PROC_NODE * obj_set_fetch_proc
)
function xts_process_filter_pred_node
static char * xts_process_filter_pred_node (
char * ptr,
const PRED_EXPR_WITH_CONTEXT * pred
)
function xts_process_func_pred
static char * xts_process_func_pred (
char * ptr,
const FUNC_PRED * xasl
)
function xts_process_function_type
static char * xts_process_function_type (
char * ptr,
const FUNCTION_TYPE * function
)
function xts_process_hashjoin_proc
static char * xts_process_hashjoin_proc (
char * ptr,
const HASHJOIN_PROC_NODE * node_p
)
function xts_process_indx_info
static char * xts_process_indx_info (
char * ptr,
const INDX_INFO * indx_info
)
function xts_process_insert_proc
static char * xts_process_insert_proc (
char * ptr,
const INSERT_PROC_NODE * insert_proc
)
function xts_process_json_table_column_behavior
static char * xts_process_json_table_column_behavior (
char * ptr,
const json_table_column_behavior * behavior
)
function xts_process_key_info
static char * xts_process_key_info (
char * ptr,
const KEY_INFO * key_info
)
function xts_process_like_eval_term
static char * xts_process_like_eval_term (
char * ptr,
const LIKE_EVAL_TERM * like_eval_term
)
function xts_process_list_id
static char * xts_process_list_id (
char * ptr,
const QFILE_LIST_ID * list_id
)
function xts_process_list_spec_type
static char * xts_process_list_spec_type (
char * ptr,
const LIST_SPEC_TYPE * list_spec
)
function xts_process_ls_merge_info
static char * xts_process_ls_merge_info (
char * ptr,
const QFILE_LIST_MERGE_INFO * qfile_list_merge_info
)
function xts_process_merge_proc
static char * xts_process_merge_proc (
char * ptr,
const MERGE_PROC_NODE * merge_info
)
function xts_process_mergelist_proc
static char * xts_process_mergelist_proc (
char * ptr,
const MERGELIST_PROC_NODE * merge_list_info
)
function xts_process_method_spec_type
static char * xts_process_method_spec_type (
char * ptr,
const METHOD_SPEC_TYPE * method_spec
)
function xts_process_outptr_list
static char * xts_process_outptr_list (
char * ptr,
const OUTPTR_LIST * outptr_list
)
function xts_process_pos_descr
static char * xts_process_pos_descr (
char * ptr,
const QFILE_TUPLE_VALUE_POSITION * position_descr
)
function xts_process_pred
static char * xts_process_pred (
char * ptr,
const PRED * pred
)
function xts_process_pred_expr
static char * xts_process_pred_expr (
char * ptr,
const PRED_EXPR * pred_expr
)
function xts_process_regu_value_list
static char * xts_process_regu_value_list (
char * ptr,
const REGU_VALUE_LIST * regu_value_list
)
function xts_process_regu_variable
static char * xts_process_regu_variable (
char * ptr,
const REGU_VARIABLE * regu_var
)
function xts_process_regu_variable_list
static char * xts_process_regu_variable_list (
char * ptr,
const REGU_VARIABLE_LIST regu_var_list
)
function xts_process_rlike_eval_term
static char * xts_process_rlike_eval_term (
char * ptr,
const RLIKE_EVAL_TERM * rlike_eval_term
)
function xts_process_rlist_spec_type
static char * xts_process_rlist_spec_type (
char * ptr,
const LIST_SPEC_TYPE * list_spec
)
function xts_process_selupd_list
static char * xts_process_selupd_list (
char * ptr,
const SELUPD_LIST * selupd_list
)
function xts_process_set_spec_type
static char * xts_process_set_spec_type (
char * ptr,
const SET_SPEC_TYPE * set_spec
)
function xts_process_showstmt_spec_type
static char * xts_process_showstmt_spec_type (
char * ptr,
const SHOWSTMT_SPEC_TYPE * list_spec
)
function xts_process_sort_list
static char * xts_process_sort_list (
char * ptr,
const SORT_LIST * sort_list
)
function xts_process_sp_type
static char * xts_process_sp_type (
char * ptr,
const SP_TYPE * sp
)
function xts_process_sq_cache
static char * xts_process_sq_cache (
char * ptr,
const SQ_CACHE * sq_cache
)
function xts_process_srlist_id
static char * xts_process_srlist_id (
char * ptr,
const QFILE_SORTED_LIST_ID * sort_list_id
)
function xts_process_sub_xasl_id
static char * xts_process_sub_xasl_id (
char * ptr,
const XASL_ID * sub_xasl_id
)
function xts_process_union_proc
static char * xts_process_union_proc (
char * ptr,
const UNION_PROC_NODE * union_proc
)
function xts_process_update_proc
static char * xts_process_update_proc (
char * ptr,
const UPDATE_PROC_NODE * update_info
)
function xts_process_val_list
static char * xts_process_val_list (
char * ptr,
const VAL_LIST * val_list
)
static char * xts_process_xasl_header (
char * ptr,
const XASL_NODE_HEADER header
)
function xts_process_xasl_node
static char * xts_process_xasl_node (
char * ptr,
const XASL_NODE * xasl
)
function xts_reserve_location_in_stream
static int xts_reserve_location_in_stream (
int size
)
function xts_save
template<typename T>
static int xts_save (
const T & t
)
function xts_save_aggregate_type
static int xts_save_aggregate_type (
const AGGREGATE_TYPE * aggregate
)
function xts_save_analytic_eval_type
static int xts_save_analytic_eval_type (
const ANALYTIC_EVAL_TYPE * analytic
)
function xts_save_analytic_type
static int xts_save_analytic_type (
const ANALYTIC_TYPE * analytic
)
function xts_save_arith_type
static int xts_save_arith_type (
const ARITH_TYPE * arithmetic
)
function xts_save_cache_attrinfo
static int xts_save_cache_attrinfo (
const HEAP_CACHE_ATTRINFO * ptr
)
function xts_save_db_value
static int xts_save_db_value (
const DB_VALUE * ptr
)
function xts_save_db_value_array
static int xts_save_db_value_array (
DB_VALUE ** ptr,
int size
)
function xts_save_domain_array
static int xts_save_domain_array (
TP_DOMAIN ** domain_array_p,
int nelements
)
function xts_save_filter_pred_node
static int xts_save_filter_pred_node (
const PRED_EXPR_WITH_CONTEXT * pred
)
function xts_save_func_pred
static int xts_save_func_pred (
const FUNC_PRED * ptr
)
function xts_save_function_type
static int xts_save_function_type (
const FUNCTION_TYPE * function
)
function xts_save_hfid_array
static int xts_save_hfid_array (
HFID * ptr,
int size
)
function xts_save_indx_info
static int xts_save_indx_info (
const INDX_INFO * indx_info
)
static int xts_save_input_vals (
const char * input_vals_p,
int length
)
function xts_save_int_array
static int xts_save_int_array (
int * ptr,
int size
)
function xts_save_key_range_array
static int xts_save_key_range_array (
const KEY_RANGE * ptr,
int size
)
function xts_save_key_val_array
static int xts_save_key_val_array (
const KEY_VAL_RANGE * key_val_array,
int nelements
)
function xts_save_list_id
static int xts_save_list_id (
const QFILE_LIST_ID * list_id
)
function xts_save_odku_info
static int xts_save_odku_info (
const ODKU_INFO * odku_info
)
function xts_save_oid_array
static int xts_save_oid_array (
OID * ptr,
int size
)
function xts_save_outptr_list
static int xts_save_outptr_list (
const OUTPTR_LIST * outptr_list
)
function xts_save_packable_object
static int xts_save_packable_object (
const cubpacking::packable_object & po
)
function xts_save_pred_expr
static int xts_save_pred_expr (
const PRED_EXPR * ptr
)
function xts_save_regu_variable
static int xts_save_regu_variable (
const REGU_VARIABLE * ptr
)
function xts_save_regu_variable_list
static int xts_save_regu_variable_list (
const REGU_VARIABLE_LIST ptr
)
function xts_save_regu_varlist_list
static int xts_save_regu_varlist_list (
const REGU_VARLIST_LIST ptr
)
function xts_save_selupd_list
static int xts_save_selupd_list (
const SELUPD_LIST * selupd_list
)
function xts_save_sort_list
static int xts_save_sort_list (
const SORT_LIST * ptr
)
function xts_save_sp_type
static int xts_save_sp_type (
const SP_TYPE * sp
)
function xts_save_srlist_id
static int xts_save_srlist_id (
const QFILE_SORTED_LIST_ID * sort_list_id
)
function xts_save_string
static int xts_save_string (
const char * str
)
function xts_save_string_with_length
static int xts_save_string_with_length (
const char * string,
int length
)
function xts_save_sub_xasl_id
static int xts_save_sub_xasl_id (
const XASL_ID * sub_xasl_id
)
function xts_save_update_assignment
static char * xts_save_update_assignment (
char * ptr,
const UPDATE_ASSIGNMENT * assign
)
function xts_save_update_assignment_array
static int xts_save_update_assignment_array (
const UPDATE_ASSIGNMENT * assigns,
int nelements
)
function xts_save_upddel_class_info
static char * xts_save_upddel_class_info (
char * ptr,
const UPDDEL_CLASS_INFO * upd_cls
)
function xts_save_upddel_class_info_array
static int xts_save_upddel_class_info_array (
const UPDDEL_CLASS_INFO * classes,
int nelements
)
function xts_save_val_list
static int xts_save_val_list (
const VAL_LIST * ptr
)
function xts_save_xasl_node
static int xts_save_xasl_node (
const XASL_NODE * ptr
)
function xts_sizeof
static int xts_sizeof (
const json_table_column & ptr
)
function xts_sizeof
static int xts_sizeof (
const json_table_node & ptr
)
function xts_sizeof
static int xts_sizeof (
const json_table_spec_node & ptr
)
function xts_sizeof_access_spec_type
static int xts_sizeof_access_spec_type (
const ACCESS_SPEC_TYPE * ptr
)
function xts_sizeof_aggregate_type
static int xts_sizeof_aggregate_type (
const AGGREGATE_TYPE * ptr
)
function xts_sizeof_alsm_eval_term
static int xts_sizeof_alsm_eval_term (
const ALSM_EVAL_TERM * ptr
)
function xts_sizeof_analytic_eval_type
static int xts_sizeof_analytic_eval_type (
const ANALYTIC_EVAL_TYPE * ptr
)
function xts_sizeof_analytic_type
static int xts_sizeof_analytic_type (
const ANALYTIC_TYPE * ptr
)
function xts_sizeof_arith_type
static int xts_sizeof_arith_type (
const ARITH_TYPE * ptr
)
function xts_sizeof_attr_descr
static int xts_sizeof_attr_descr (
const ATTR_DESCR * ptr
)
function xts_sizeof_buildlist_proc
static int xts_sizeof_buildlist_proc (
const BUILDLIST_PROC_NODE * ptr
)
function xts_sizeof_buildvalue_proc
static int xts_sizeof_buildvalue_proc (
const BUILDVALUE_PROC_NODE * ptr
)
function xts_sizeof_cache_attrinfo
static int xts_sizeof_cache_attrinfo (
const HEAP_CACHE_ATTRINFO * ptr
)
function xts_sizeof_cls_spec_type
static int xts_sizeof_cls_spec_type (
const CLS_SPEC_TYPE * ptr
)
function xts_sizeof_comp_eval_term
static int xts_sizeof_comp_eval_term (
const COMP_EVAL_TERM * ptr
)
function xts_sizeof_connectby_proc
static int xts_sizeof_connectby_proc (
const CONNECTBY_PROC_NODE * ptr
)
function xts_sizeof_cte_proc
static int xts_sizeof_cte_proc (
const CTE_PROC_NODE * ptr
)
function xts_sizeof_db_value
static int xts_sizeof_db_value (
const DB_VALUE * ptr
)
function xts_sizeof_dblink_spec_type
static int xts_sizeof_dblink_spec_type (
const DBLINK_SPEC_TYPE * ptr
)
function xts_sizeof_delete_proc
static int xts_sizeof_delete_proc (
const DELETE_PROC_NODE * ptr
)
function xts_sizeof_eval_term
static int xts_sizeof_eval_term (
const EVAL_TERM * ptr
)
function xts_sizeof_fetch_proc
static int xts_sizeof_fetch_proc (
const FETCH_PROC_NODE * ptr
)
function xts_sizeof_filter_pred_node
static int xts_sizeof_filter_pred_node (
const PRED_EXPR_WITH_CONTEXT * ptr
)
function xts_sizeof_func_pred
static int xts_sizeof_func_pred (
const FUNC_PRED * ptr
)
function xts_sizeof_function_type
static int xts_sizeof_function_type (
const FUNCTION_TYPE * ptr
)
function xts_sizeof_hashjoin_proc
static int xts_sizeof_hashjoin_proc (
const HASHJOIN_PROC_NODE * ptr
)
function xts_sizeof_indx_info
static int xts_sizeof_indx_info (
const INDX_INFO * ptr
)
function xts_sizeof_insert_proc
static int xts_sizeof_insert_proc (
const INSERT_PROC_NODE * ptr
)
function xts_sizeof_json_table_column_behavior
static int xts_sizeof_json_table_column_behavior (
const json_table_column_behavior * behavior
)
function xts_sizeof_key_info
static int xts_sizeof_key_info (
const KEY_INFO * ptr
)
function xts_sizeof_like_eval_term
static int xts_sizeof_like_eval_term (
const LIKE_EVAL_TERM * ptr
)
function xts_sizeof_list_id
static int xts_sizeof_list_id (
const QFILE_LIST_ID * ptr
)
function xts_sizeof_list_spec_type
static int xts_sizeof_list_spec_type (
const LIST_SPEC_TYPE * ptr
)
function xts_sizeof_ls_merge_info
static int xts_sizeof_ls_merge_info (
const QFILE_LIST_MERGE_INFO * ptr
)
function xts_sizeof_merge_proc
static int xts_sizeof_merge_proc (
const MERGE_PROC_NODE * ptr
)
function xts_sizeof_mergelist_proc
static int xts_sizeof_mergelist_proc (
const MERGELIST_PROC_NODE * ptr
)
function xts_sizeof_method_spec_type
static int xts_sizeof_method_spec_type (
const METHOD_SPEC_TYPE * ptr
)
function xts_sizeof_odku_info
static int xts_sizeof_odku_info (
const ODKU_INFO * odku_info
)
function xts_sizeof_outptr_list
static int xts_sizeof_outptr_list (
const OUTPTR_LIST * ptr
)
function xts_sizeof_pos_descr
static int xts_sizeof_pos_descr (
const QFILE_TUPLE_VALUE_POSITION * ptr
)
function xts_sizeof_pred
static int xts_sizeof_pred (
const PRED * ptr
)
function xts_sizeof_pred_expr
static int xts_sizeof_pred_expr (
const PRED_EXPR * ptr
)
function xts_sizeof_regu_value_list
static int xts_sizeof_regu_value_list (
const REGU_VALUE_LIST * regu_value_list
)
function xts_sizeof_regu_variable
static int xts_sizeof_regu_variable (
const REGU_VARIABLE * ptr
)
function xts_sizeof_regu_variable_list
static int xts_sizeof_regu_variable_list (
const REGU_VARIABLE_LIST regu_var_list
)
function xts_sizeof_rlike_eval_term
static int xts_sizeof_rlike_eval_term (
const RLIKE_EVAL_TERM * ptr
)
function xts_sizeof_selupd_list
static int xts_sizeof_selupd_list (
const SELUPD_LIST * ptr
)
function xts_sizeof_set_spec_type
static int xts_sizeof_set_spec_type (
const SET_SPEC_TYPE * ptr
)
function xts_sizeof_showstmt_spec_type
static int xts_sizeof_showstmt_spec_type (
const SHOWSTMT_SPEC_TYPE * ptr
)
function xts_sizeof_sort_list
static int xts_sizeof_sort_list (
const SORT_LIST * ptr
)
function xts_sizeof_sp_type
static int xts_sizeof_sp_type (
const SP_TYPE * sp
)
function xts_sizeof_srlist_id
static int xts_sizeof_srlist_id (
const QFILE_SORTED_LIST_ID * ptr
)
function xts_sizeof_union_proc
static int xts_sizeof_union_proc (
const UNION_PROC_NODE * ptr
)
function xts_sizeof_update_assignment
static int xts_sizeof_update_assignment (
const UPDATE_ASSIGNMENT * assign
)
function xts_sizeof_update_proc
static int xts_sizeof_update_proc (
const UPDATE_PROC_NODE * ptr
)
function xts_sizeof_upddel_class_info
static int xts_sizeof_upddel_class_info (
const UPDDEL_CLASS_INFO * upd_cls
)
function xts_sizeof_val_list
static int xts_sizeof_val_list (
const VAL_LIST * ptr
)
function xts_sizeof_xasl_node
static int xts_sizeof_xasl_node (
const XASL_NODE * ptr
)
Macro Definition Documentation
define BYTE_SIZE
#define BYTE_SIZE `OR_INT_SIZE`
define LONG_SIZE
#define LONG_SIZE `OR_INT_SIZE`
define OFFSET_BUFFER_SIZE
#define OFFSET_BUFFER_SIZE `32`
define PTR_SIZE
#define PTR_SIZE `OR_INT_SIZE`
define pack_char
#define pack_char `or_pack_int`
define pack_long
#define pack_long `or_pack_int`
The documentation for this class was generated from the following file cubrid/src/query/xasl_to_stream.c