CUBRID Engine  latest
dbtype.h File Reference
#include "config.h"
#include "system_parameter.h"
#include "error_manager.h"
#include "system.h"
#include "db_set.h"
#include "db_set_function.h"
#include "dbtype_def.h"
#include "elo.h"
#include "object_domain.h"
#include "oid.h"
#include "language_support.h"
#include "intl_support.h"
#include "memory_alloc.h"
#include "dbtype_function.i"
Include dependency graph for dbtype.h:

Go to the source code of this file.

Macros

#define DB_CURRENCY_DEFAULT   db_get_currency_default()
 
#define db_make_utime   db_make_timestamp
 
#define DB_VALUE_CLONE_AS_NULL(src_value, dest_value)
 
#define db_get_collection   db_get_set
 
#define db_get_utime   db_get_timestamp
 
#define DB_IS_NULL(value)   db_value_is_null(value)
 
#define DB_IS_STRING(value)
 
#define DB_VALUE_DOMAIN_TYPE(value)   db_value_domain_type(value)
 
#define DB_VALUE_TYPE(value)   db_value_type(value)
 
#define DB_VALUE_PRECISION(value)   db_value_precision(value)
 
#define DB_VALUE_SCALE(value)   db_value_scale(value)
 
#define DB_SET_COMPRESSED_STRING(value, compressed_string, compressed_size, compressed_need_clear)   db_set_compressed_string(value, compressed_string, compressed_size, compressed_need_clear)
 
#define DB_TRIED_COMPRESSION(value)   (db_get_compressed_size(value) != DB_NOT_YET_COMPRESSED)
 
#define DB_NEED_CLEAR(v)
 
#define DB_GET_COMPRESSED_STRING(v)
 
#define DB_GET_STRING_PRECISION(v)   ((v)->domain.char_info.length)
 
#define DB_GET_ENUMERATION(v)   ((v)->data.enumeration)
 
#define DB_GET_ENUM_ELEM_SHORT(elem)   ((elem)->short_val)
 
#define DB_GET_ENUM_ELEM_DBCHAR(elem)   ((elem)->str_val)
 
#define DB_GET_ENUM_ELEM_STRING(elem)   ((elem)->str_val.medium.buf)
 
#define DB_GET_ENUM_ELEM_STRING_SIZE(elem)   ((elem)->str_val.medium.size)
 
#define DB_GET_ENUM_ELEM_CODESET(elem)   ((elem)->str_val.info.codeset)
 
#define DB_SET_ENUM_ELEM_CODESET(elem, cs)   ((elem)->str_val.info.codeset = (cs))
 
#define DB_SET_ENUM_ELEM_SHORT(elem, sv)   ((elem)->short_val = (sv))
 
#define DB_SET_ENUM_ELEM_STRING(elem, str)
 
#define DB_SET_ENUM_ELEM_STRING_SIZE(elem, sz)   ((elem)->str_val.medium.size = (sz))
 
#define DB_GET_STRING_SAFE(v)
 
#define DB_GET_NUMERIC_PRECISION(val)   ((val)->domain.numeric_info.precision)
 
#define DB_GET_NUMERIC_SCALE(val)   ((val)->domain.numeric_info.scale)
 
#define DB_GET_STRING_PRECISION(v)   ((v)->domain.char_info.length)
 
#define DB_GET_BIT_PRECISION(v)   ((v)->domain.char_info.length)
 
#define DB_GET_JSON_SCHEMA(v)   ((v)->data.json.schema_raw)
 
#define db_get_json_schema(v)   DB_GET_JSON_SCHEMA(v)
 

Functions

int db_date_encode (DB_DATE *date, int month, int day, int year)
 
int db_time_encode (DB_TIME *timeval, int hour, int minute, int second)
 
void db_date_decode (const DB_DATE *date, int *monthp, int *dayp, int *yearp)
 
void db_time_decode (DB_TIME *timeval, int *hourp, int *minutep, int *secondp)
 
DB_VALUEdb_value_create (void)
 
DB_VALUEdb_value_copy (DB_VALUE *value)
 
int db_value_clone (DB_VALUE *src, DB_VALUE *dest)
 
int db_value_clear (DB_VALUE *value)
 
int db_value_free (DB_VALUE *value)
 
int db_value_clear_array (DB_VALUE_ARRAY *value_array)
 
void db_value_print (const DB_VALUE *value)
 
void db_value_fprint (FILE *fp, const DB_VALUE *value)
 
int db_value_coerce (const DB_VALUE *src, DB_VALUE *dest, const DB_DOMAIN *desired_domain)
 
int db_value_equal (const DB_VALUE *value1, const DB_VALUE *value2)
 
int db_value_compare (const DB_VALUE *value1, const DB_VALUE *value2)
 
int db_value_domain_init (DB_VALUE *value, DB_TYPE type, const int precision, const int scale)
 
void db_value_domain_init_default (DB_VALUE *value, const DB_TYPE type)
 
int db_value_domain_min (DB_VALUE *value, DB_TYPE type, const int precision, const int scale, const int codeset, const int collation_id, const DB_ENUMERATION *enumeration)
 
int db_value_domain_max (DB_VALUE *value, DB_TYPE type, const int precision, const int scale, const int codeset, const int collation_id, const DB_ENUMERATION *enumeration)
 
int db_value_domain_default (DB_VALUE *value, const DB_TYPE type, const int precision, const int scale, const int codeset, const int collation_id, DB_ENUMERATION *enumeration)
 
int db_value_domain_zero (DB_VALUE *value, const DB_TYPE type, const int precision, const int scale)
 
int db_string_truncate (DB_VALUE *value, const int max_precision)
 
int db_value_put_null (DB_VALUE *value)
 
int db_value_put (DB_VALUE *value, const DB_TYPE_C c_type, void *input, const int input_length)
 
bool db_value_type_is_collection (const DB_VALUE *value)
 
int db_value_get (DB_VALUE *value, const DB_TYPE_C type, void *buf, const int buflen, int *transferlen, int *outputlen)
 
DB_CURRENCY db_value_get_monetary_currency (const DB_VALUE *value)
 
double db_value_get_monetary_amount_as_double (const DB_VALUE *value)
 
int db_value_put_monetary_currency (DB_VALUE *value, const DB_CURRENCY type)
 
int db_value_put_monetary_amount_as_double (DB_VALUE *value, const double amount)
 
int db_value_alter_type (DB_VALUE *value, DB_TYPE type)
 
int db_value_put_encoded_time (DB_VALUE *value, const DB_TIME *time_value)
 
int db_value_put_encoded_date (DB_VALUE *value, const DB_DATE *date_value)
 
DB_CURRENCY db_get_currency_default (void)
 
DB_DOMAINdb_type_to_db_domain (DB_TYPE type)
 
const char * db_default_expression_string (DB_DEFAULT_EXPR_TYPE default_expr_type)
 
int db_get_deep_copy_of_json (const DB_JSON *src, DB_JSON *dst)
 
int db_init_db_json_pointers (DB_JSON *val)
 
int db_convert_json_into_scalar (const DB_VALUE *src, DB_VALUE *dest)
 
bool db_is_json_value_type (DB_TYPE type)
 
bool db_is_json_doc_type (DB_TYPE type)
 
char * db_get_json_raw_body (const DB_VALUE *value)
 
bool db_value_is_corrupted (const DB_VALUE *value)
 
int db_json_val_from_str (const char *raw_str, const int str_size, DB_VALUE *json_val)
 
DB_TYPE setobj_type (struct setobj *set)
 

Macro Definition Documentation

#define DB_GET_BIT_PRECISION (   v)    ((v)->domain.char_info.length)

Definition at line 142 of file dbtype.h.

Referenced by quick_validate().

#define db_get_collection   db_get_set
#define DB_GET_COMPRESSED_STRING (   v)
Value:
? NULL : (v)->data.ch.medium.compressed_buf)
#define DB_VALUE_DOMAIN_TYPE(value)
Definition: dbtype.h:70
#define NULL
Definition: freelistheap.h:34

Definition at line 89 of file dbtype.h.

Referenced by mr_writeval_string_internal(), mr_writeval_varnchar_internal(), pr_clear_value(), and tp_can_steal_string().

#define DB_GET_ENUM_ELEM_CODESET (   elem)    ((elem)->str_val.info.codeset)
#define DB_GET_ENUM_ELEM_DBCHAR (   elem)    ((elem)->str_val)

Definition at line 101 of file dbtype.h.

Referenced by or_get_enumeration().

#define DB_GET_ENUM_ELEM_SHORT (   elem)    ((elem)->short_val)

Definition at line 99 of file dbtype.h.

Referenced by pr_complete_enum_value(), and tp_domain_copy_enumeration().

#define DB_GET_ENUMERATION (   v)    ((v)->data.enumeration)

Definition at line 97 of file dbtype.h.

Referenced by pt_domain_to_data_type().

#define DB_GET_JSON_SCHEMA (   v)    ((v)->data.json.schema_raw)

Definition at line 145 of file dbtype.h.

#define db_get_json_schema (   v)    DB_GET_JSON_SCHEMA(v)

Definition at line 148 of file dbtype.h.

Referenced by mr_getmem_json(), pt_dbval_to_value(), and tp_domain_resolve_value().

#define DB_GET_NUMERIC_PRECISION (   val)    ((val)->domain.numeric_info.precision)

Definition at line 133 of file dbtype.h.

Referenced by quick_validate().

#define DB_GET_NUMERIC_SCALE (   val)    ((val)->domain.numeric_info.scale)

Definition at line 136 of file dbtype.h.

Referenced by quick_validate().

#define DB_GET_STRING_PRECISION (   v)    ((v)->domain.char_info.length)
#define DB_GET_STRING_PRECISION (   v)    ((v)->domain.char_info.length)

Definition at line 139 of file dbtype.h.

#define DB_GET_STRING_SAFE (   v)
Value:

Definition at line 122 of file dbtype.h.

Referenced by db_round_dbval(), and qdata_evaluate_sys_connect_by_path().

#define db_get_utime   db_get_timestamp

Definition at line 61 of file dbtype.h.

#define DB_IS_NULL (   value)    db_value_is_null(value)

Definition at line 63 of file dbtype.h.

Referenced by index_builder_loader_task::add_key(), adjust_partition_range(), au_add_direct_groups(), au_add_member_internal(), au_add_member_method(), au_add_user_method(), au_change_owner_method(), au_change_serial_owner_method(), au_change_sp_owner_method(), au_change_trigger_owner_method(), au_check_authorization_method(), au_check_serial_authorization(), au_compute_groups(), au_drop_member(), au_drop_member_method(), au_drop_user(), au_export_users(), au_find_user(), au_find_user_method(), au_get_new_auth(), au_get_object(), au_get_owner_method(), au_get_set(), au_get_user_name(), au_info_method(), au_login_method(), au_perform_login(), au_set_get_obj(), au_set_password_encoded_method(), au_set_password_encoded_sha1_method(), au_set_password_internal(), au_set_password_method(), au_user_name(), btree_advance_to_next_slot_and_fix_page(), btree_apply_key_range_and_filter(), btree_build_nleafs(), btree_check_foreign_key(), btree_compare_individual_key_value(), btree_compare_key(), btree_fix_root_for_delete(), btree_get_disk_size_of_key(), btree_get_prefix_separator(), btree_get_stats_key(), btree_ils_adjust_range(), btree_insert_internal(), btree_key_delete_remove_object(), btree_key_find_and_insert_delete_mvccid(), btree_key_find_and_lock_unique_of_non_unique(), btree_key_insert_new_key(), btree_key_insert_new_object(), btree_key_remove_delete_mvccid(), btree_key_remove_insert_mvccid(), btree_key_remove_object_and_keep_visible_first(), btree_leaf_is_key_between_min_max(), btree_load_check_fk(), btree_locate_key(), btree_merge_node(), btree_merge_node_and_advance(), btree_multicol_key_has_null(), btree_multicol_key_is_null(), btree_online_index_list_dispatcher(), btree_prepare_bts(), btree_range_scan_descending_fix_prev_leaf(), btree_range_scan_resume(), btree_read_record_without_decompression(), btree_recompress_record(), btree_scan_update_range(), btree_search_leaf_page(), btree_search_nonleaf_page(), btree_sort_get_next(), btree_split_node(), btree_split_node_and_advance(), btree_split_root(), build_attr_change_map(), build_class_grant_list(), catcls_convert_attr_id_to_name(), catcls_convert_class_oid_to_oid(), catcls_get_apply_info_log_record_time(), catcls_get_or_value_from_domain(), catcls_get_or_value_from_indexes(), catcls_get_or_value_from_partition(), catcls_get_server_compat_info(), catcls_put_or_value_into_buffer(), catcls_update_subset(), check_change_attribute(), check_constraints(), chksum_report_schema_diff(), classobj_change_constraint_comment(), classobj_change_constraint_status(), classobj_check_function_constraint_info(), classobj_clear_attribute_value(), classobj_make_class_constraints(), clear_new_unbound(), col_drop_nulls(), col_find(), col_has_null(), col_move_nulls(), col_permanent_oids(), col_put(), collect_class_grants(), cursor_fixup_vobjs(), date_to_char(), db_abs_dbval(), db_accumulate_json_arrayagg(), db_accumulate_json_objectagg(), db_acos_dbval(), db_add_days_to_year(), db_add_months(), db_add_time(), db_ascii(), db_asin_dbval(), db_atan2_dbval(), db_atan_dbval(), db_bigint_to_binary_string(), db_bit_count_dbval(), db_bit_string_coerce(), db_ceil_dbval(), db_char_string_coerce(), db_compress_like_pattern(), db_conv(), db_conv_tz(), db_convert_sec_to_time(), db_convert_time_to_sec(), db_convert_to_time(), db_cos_dbval(), db_cot_dbval(), db_crc32_dbval(), db_date_add_sub_interval_days(), db_date_add_sub_interval_expr(), db_date_dbval(), db_date_diff(), db_date_format(), db_datetime_to_timestamp(), db_degrees_dbval(), db_evaluate_json_array_append(), db_evaluate_json_array_insert(), db_evaluate_json_depth(), db_evaluate_json_get_all_paths(), db_evaluate_json_insert(), db_evaluate_json_object(), db_evaluate_json_pretty(), db_evaluate_json_replace(), db_evaluate_json_search(), db_evaluate_json_set(), db_evaluate_json_type_dbval(), db_evaluate_json_unquote(), db_evaluate_json_valid(), db_execute_and_keep_statement_local(), db_exp_dbval(), db_find_string_in_in_set(), db_floor_dbval(), db_format(), db_from_tz(), db_from_unixtime(), db_get_cs_coll_info(), db_get_date_dayofyear(), db_get_date_format(), db_get_date_from_days(), db_get_date_item(), db_get_date_quarter(), db_get_date_totaldays(), db_get_date_week(), db_get_date_weekday(), db_get_datetime_from_dbvalue(), db_get_info_for_like_optimization(), db_get_like_optimization_bounds(), db_get_schema_def_dbval(), db_get_time_from_dbvalue(), db_get_time_item(), db_hex(), db_inet_aton(), db_inet_ntoa(), db_last_day(), db_least_or_greatest(), db_like_bound(), db_log_dbval(), db_log_generic_dbval(), db_mod_dbval(), db_months_between(), db_new_time(), db_power_dbval(), db_radians_dbval(), db_round_dbval(), db_sign_dbval(), db_sin_dbval(), db_sleep(), db_sqrt_dbval(), db_str_to_date(), db_string_aes_decrypt(), db_string_aes_encrypt(), db_string_bit_length(), db_string_char_length(), db_string_chr(), db_string_compare(), db_string_concatenate(), db_string_convert_to(), db_string_elt(), db_string_extract_dbval(), db_string_from_base64(), db_string_index_prefix(), db_string_insert_substring(), db_string_instr(), db_string_like(), db_string_lower(), db_string_make_empty_typed_string(), db_string_md5(), db_string_pad(), db_string_position(), db_string_prefix_compare(), db_string_quote(), db_string_regexp_count(), db_string_regexp_instr(), db_string_regexp_like(), db_string_regexp_replace(), db_string_regexp_substr(), db_string_repeat(), db_string_replace(), db_string_reverse(), db_string_rlike(), db_string_sha_one(), db_string_sha_two(), db_string_space(), db_string_substring(), db_string_substring_index(), db_string_to_base64(), db_string_translate(), db_string_trim(), db_string_unique_prefix(), db_string_upper(), db_tan_dbval(), db_time_dbval(), db_time_diff(), db_time_format(), db_timestamp(), db_to_date(), db_to_datetime(), db_to_number(), db_to_time(), db_to_timestamp(), db_trunc_dbval(), db_tz_offset(), db_unix_timestamp(), db_value_alloc_and_copy(), db_value_get(), db_value_is_corrupted(), db_value_list_find(), db_value_list_finddel(), delete_list_by_oids(), delete_object_tuple(), object_printer::describe_attribute(), db_value_printer::describe_data(), db_value_printer::describe_midxkey(), object_printer::describe_partition_parts(), db_value_printer::describe_value(), do_add_attribute(), do_alter_one_clause_with_template(), do_alter_serial(), do_check_rows_for_null(), do_create_midxkey_for_constraint(), do_drop_serial(), do_evaluate_default_expr(), do_get_partition_keycol(), do_get_stats(), do_is_partitioned_subclass(), emit_attribute_def(), emit_partition_parts(), emit_stored_procedure(), emit_stored_procedure_args(), eval_value_rel_cmp(), export_serial(), fetch_peek_arith(), fetch_peek_dbval(), find_all_triggers(), get_date_weekday(), get_grants(), get_hour_minute_or_second(), get_user_name(), get_user_trigger_objects(), get_year_month_or_day(), heap_attrinfo_generate_key(), heap_attrvalue_get_key(), heap_eval_function_index(), heap_object_upgrade_domain(), insert_object_attr(), is_any_arg_null(), is_str_find_all(), la_get_ha_apply_info(), la_get_item_pk_value(), locator_add_or_remove_index_internal(), locator_check_foreign_key(), locator_update_index(), method_invoke_for_server(), method_receive_results_for_stand_alone(), mht_get_hash_number(), mr_cmpval_json(), mr_data_writeval_json(), mr_index_lengthval_midxkey(), mr_lengthval_string_internal(), mr_readval_nchar_internal(), mr_readval_varnchar_internal(), mr_setval_bigint(), mr_setval_bit(), mr_setval_char(), mr_setval_date(), mr_setval_datetime(), mr_setval_datetimeltz(), mr_setval_datetimetz(), mr_setval_double(), mr_setval_enumeration(), mr_setval_error(), mr_setval_float(), mr_setval_int(), mr_setval_json(), mr_setval_midxkey(), mr_setval_money(), mr_setval_nchar(), mr_setval_numeric(), mr_setval_object(), mr_setval_oid(), mr_setval_ptr(), mr_setval_resultset(), mr_setval_set_internal(), mr_setval_short(), mr_setval_string(), mr_setval_time(), mr_setval_timestampltz(), mr_setval_timestamptz(), mr_setval_utime(), mr_setval_varbit(), mr_setval_varnchar(), non_null_index(), number_to_char(), numeric_db_value_add(), numeric_db_value_compare(), numeric_db_value_div(), numeric_db_value_increase(), numeric_db_value_is_positive(), numeric_db_value_is_zero(), numeric_db_value_mul(), numeric_db_value_negate(), numeric_db_value_print(), numeric_db_value_sub(), obj_assign_value(), obj_make_key_value(), object_disk_size(), object_to_trigger(), obt_check_missing_assignments(), or_get_constraint_comment(), or_install_btids_class(), partition_decrement_value(), partition_prune_range(), partition_range_min_max(), populate_auto_increment(), populate_defaults(), pr_clear_compressed_string(), pr_clear_value(), pr_clone_value(), pr_complete_enum_value(), pr_do_db_value_string_compression(), pr_midxkey_add_elements(), pr_midxkey_get_vals_size(), pr_valstring(), pt_bind_helper(), pt_check_alter_partition(), pt_check_and_coerce_to_date(), pt_check_default_vclass_query_spec(), pt_check_defaultf(), pt_check_ordby_num_for_multi_range_opt(), pt_check_range_partition_strict_increasing(), pt_compare_bounds_to_value(), pt_evaluate_db_value_expr(), pt_evaluate_tree_internal(), pt_get_query_limit_from_limit(), pt_get_query_limit_from_orderby_for(), pt_make_regu_constant(), pt_print_value(), pt_recompile_for_limit_optimizations(), pt_resolve_vclass_args(), pt_to_merge_update_xasl(), pt_to_odku_info(), pt_to_update_xasl(), put_attributes(), put_varinfo(), qdata_add_dbval(), qdata_aggregate_multiple_values_to_accumulator(), qdata_aggregate_value_to_accumulator(), qdata_bit_and_dbval(), qdata_bit_not_dbval(), qdata_bit_or_dbval(), qdata_bit_shift_dbval(), qdata_bit_xor_dbval(), qdata_calculate_aggregate_cume_dist_percent_rank(), qdata_concatenate_dbval(), qdata_convert_dbvals_to_set(), qdata_copy_db_value_to_tuple_value(), qdata_divide_dbval(), qdata_divmod_dbval(), qdata_evaluate_aggregate_hierarchy(), qdata_evaluate_aggregate_list(), qdata_evaluate_analytic_func(), qdata_evaluate_sys_connect_by_path(), qdata_finalize_aggregate_list(), qdata_finalize_analytic_func(), qdata_get_cardinality(), qdata_get_class_of_function(), qdata_get_dbval_from_constant_regu_variable(), qdata_get_tuple_value_size_from_dbval(), qdata_group_concat_first_value(), qdata_group_concat_value(), qdata_is_zero_value_date(), qdata_multiply_dbval(), qdata_strcat_dbval(), qdata_subtract_dbval(), qdata_unary_minus_dbval(), qdata_update_agg_interpolation_func_value_and_domain(), qexec_add_composite_lock(), qexec_analytic_evaluate_offset_function(), qexec_analytic_finalize_group(), qexec_analytic_value_advance(), qexec_cmp_tpl_vals_merge(), qexec_collection_has_null(), qexec_execute_build_columns(), qexec_execute_connect_by(), qexec_execute_delete(), qexec_execute_insert(), qexec_execute_obj_fetch(), qexec_execute_update(), qexec_get_orderbynum_upper_bound(), qexec_groupby(), qexec_resolve_domains_for_aggregation(), qexec_setup_topn_proc(), qexec_topn_cmpval(), qexec_upddel_add_unique_oid_to_ehid(), qfile_compare_with_interpolation_domain(), qfile_fast_intval_tuple_to_list(), qfile_fast_val_tuple_to_list(), qo_apply_range_intersection_helper(), qo_discover_sort_limit_nodes(), qproc_next_set_scan(), qstr_grow_string(), register_user_trigger(), scan_dbvals_to_midxkey(), scan_get_next_iss_value(), scan_handle_single_scan(), scan_init_iss(), scan_key_compare(), scan_next_method_scan(), scan_regu_key_to_index_key(), session_get_last_insert_id(), session_set_cur_insert_id(), setobj_coerce(), setobj_difference(), setobj_drop_element(), setobj_intersection(), setobj_ismember(), setobj_issome(), setobj_union(), setof_mop_to_setof_vobj(), setval_elo_with_type(), setvobj_compare(), sm_partitioned_class_type(), smt_add_constraint(), smt_change_attribute_w_dflt_w_order(), smt_change_class_shared_attribute_domain(), smt_set_attribute_default(), tp_set_compare(), tp_value_cast_internal(), tp_value_compare_with_error(), tr_dump_selective_triggers(), tr_get_class_name(), tr_status_as_string(), tr_update_user_cache(), trigger_table_add(), trigger_table_drop(), trigger_table_find(), trigger_table_rename(), tzc_compute_timezone_checksum(), uci_get_value_indirect(), unregister_user_trigger(), update_object_tuple(), update_objs_for_list_file(), valcnv_convert_data_to_string(), valcnv_convert_db_value_to_string(), valcnv_convert_value_to_string(), xlocator_repl_force(), and xserial_get_next_value_internal().

#define DB_IS_STRING (   value)
#define db_make_utime   db_make_timestamp
#define DB_NEED_CLEAR (   v)
Value:
((!DB_IS_NULL(v) \
&& ((v)->need_clear == true \
&& (v)->data.ch.info.compressed_need_clear != 0))))
#define DB_VALUE_DOMAIN_TYPE(value)
Definition: dbtype.h:70
#define DB_IS_NULL(value)
Definition: dbtype.h:63

Definition at line 83 of file dbtype.h.

Referenced by compare_driver(), heap_midxkey_key_generate(), heap_midxkey_key_get(), pr_midxkey_compare_element(), qexec_cmp_tpl_vals_merge(), qexec_compare_valptr_with_tuple(), qexec_groupby_index(), and scan_next_heap_scan().

#define DB_SET_COMPRESSED_STRING (   value,
  compressed_string,
  compressed_size,
  compressed_need_clear 
)    db_set_compressed_string(value, compressed_string, compressed_size, compressed_need_clear)

Definition at line 76 of file dbtype.h.

#define DB_SET_ENUM_ELEM_CODESET (   elem,
  cs 
)    ((elem)->str_val.info.codeset = (cs))
#define DB_SET_ENUM_ELEM_SHORT (   elem,
  sv 
)    ((elem)->short_val = (sv))

Definition at line 114 of file dbtype.h.

Referenced by pt_get_enumeration_from_data_type(), and tp_domain_copy_enumeration().

#define DB_SET_ENUM_ELEM_STRING (   elem,
  str 
)
Value:
((elem)->str_val.medium.buf = (str), \
(elem)->str_val.info.style = MEDIUM_STRING)

Definition at line 116 of file dbtype.h.

Referenced by or_get_enumeration(), pt_get_enumeration_from_data_type(), and tp_domain_copy_enumeration().

#define DB_SET_ENUM_ELEM_STRING_SIZE (   elem,
  sz 
)    ((elem)->str_val.medium.size = (sz))
#define DB_TRIED_COMPRESSION (   value)    (db_get_compressed_size(value) != DB_NOT_YET_COMPRESSED)
#define DB_VALUE_CLONE_AS_NULL (   src_value,
  dest_value 
)
Value:
do { \
if ((db_value_domain_init(dest_value, \
db_value_domain_type(src_value), \
db_value_precision(src_value), \
db_value_scale(src_value))) \
== NO_ERROR) \
(void)db_value_put_null(dest_value); \
} while (0)
#define NO_ERROR
Definition: error_code.h:46
int db_value_scale(const DB_VALUE *value)
int db_value_domain_init(DB_VALUE *value, DB_TYPE type, const int precision, const int scale)
Definition: db_macro.c:153
DB_TYPE db_value_domain_type(const DB_VALUE *value)
int db_value_put_null(DB_VALUE *value)
Definition: db_macro.c:122
if(extra_options)
Definition: dynamic_load.c:958
int db_value_precision(const DB_VALUE *value)

Definition at line 50 of file dbtype.h.

#define DB_VALUE_DOMAIN_TYPE (   value)    db_value_domain_type(value)

Definition at line 70 of file dbtype.h.

Referenced by api_collection_create_from_db_value(), api_collection_set_to_db_value(), btree_apply_key_range_and_filter(), btree_compare_individual_key_value(), btree_compare_key(), btree_fix_root_for_delete(), btree_fix_root_for_insert(), btree_get_prefix_separator(), btree_ils_adjust_range(), btree_iss_set_key(), btree_key_online_index_IB_insert_list(), btree_keyoid_checkscan_check(), btree_leaf_is_key_between_min_max(), btree_range_opt_check_add_index_key(), btree_search_leaf_page(), btree_search_nonleaf_page(), btree_set_unknown_key_error(), btree_store_overflow_key(), catcls_get_db_collation(), catcls_get_server_compat_info(), catcls_guess_record_length(), catcls_insert_instance(), check_att_domain(), coerce_binary_to_dbvalue(), coerce_char_to_dbvalue(), coerce_date_to_dbvalue(), coerce_datetime_to_dbvalue(), coerce_numeric_to_dbvalue(), coerce_time_to_dbvalue(), coerce_timestamp_to_dbvalue(), col_api_get_elem_domain_info(), col_permanent_oids(), cursor_fixup_vobjs(), date_to_char(), db_abs_dbval(), db_acos_dbval(), db_ascii(), db_asin_dbval(), db_atan2_dbval(), db_atan_dbval(), db_bit_count_dbval(), db_bit_string_coerce(), db_bit_to_blob(), db_blob_from_file(), db_blob_length(), db_blob_to_bit(), db_ceil_dbval(), db_char_string_coerce(), db_char_to_blob(), db_char_to_clob(), db_check_or_create_null_term_string(), db_clob_from_file(), db_clob_length(), db_clob_to_char(), db_compress_like_pattern(), db_conv(), db_cos_dbval(), db_cot_dbval(), db_crc32_dbval(), db_date_add_sub_interval_days(), db_date_add_sub_interval_expr(), db_date_dbval(), db_date_diff(), db_date_format(), db_degrees_dbval(), db_execute_and_keep_statement_local(), db_exp_dbval(), db_find_string_in_in_set(), db_floor_dbval(), db_format(), db_get_datetime_from_dbvalue(), db_get_info_for_like_optimization(), db_get_like_optimization_bounds(), db_get_schema_def_dbval(), db_get_time_from_dbvalue(), db_hex(), db_inet_ntoa(), db_like_bound(), db_log_dbval(), db_log_generic_dbval(), db_mod_bigint(), db_mod_dbval(), db_mod_double(), db_mod_float(), db_mod_int(), db_mod_monetary(), db_mod_numeric(), db_mod_short(), db_mod_string(), db_radians_dbval(), db_round_dbval(), db_round_dbvalue_to_int(), db_sign_dbval(), db_sin_dbval(), db_sleep(), db_sqrt_dbval(), db_string_aes_decrypt(), db_string_aes_encrypt(), db_string_bit_length(), db_string_chr(), db_string_compare(), db_string_concatenate(), db_string_convert_to(), db_string_elt(), db_string_extract_dbval(), db_string_fix_string_size(), db_string_from_base64(), db_string_index_prefix(), db_string_insert_substring(), db_string_instr(), db_string_like(), db_string_limit_size_string(), db_string_lower(), db_string_md5(), db_string_pad(), db_string_position(), db_string_prefix_compare(), db_string_regexp_replace(), db_string_regexp_substr(), db_string_repeat(), db_string_replace(), db_string_reverse(), db_string_rlike(), db_string_sha_one(), db_string_sha_two(), db_string_space(), db_string_substring(), db_string_substring_index(), db_string_to_base64(), db_string_translate(), db_string_trim(), db_string_unique_prefix(), db_string_upper(), db_string_value(), db_tan_dbval(), db_time_diff(), db_time_format(), db_timestamp(), db_to_char(), db_trunc_dbval(), db_tz_offset(), db_unix_timestamp(), db_value_alloc_and_copy(), db_value_put(), db_value_to_json_value(), db_value_to_value(), db_width_bucket(), dbt_set_label(), do_check_rows_for_null(), eval_key_filter(), eval_pred(), eval_pred_alsm4(), eval_pred_comp1(), eval_pred_comp2(), eval_value_rel_cmp(), execute_info_set(), fetch_peek_arith(), fetch_peek_dbval(), fetch_val_list(), free_session_variable(), get_hour_minute_or_second(), get_number_dbval_as_double(), get_number_dbval_as_long_double(), heap_attrinfo_generate_key(), heap_attrvalue_get_key(), heap_object_upgrade_domain(), is_char_string(), is_integer(), is_number(), locator_update_index(), method_receive_results_for_stand_alone(), mr_cmpval_object(), numeric_db_value_coerce_from_num(), numeric_db_value_coerce_from_num_strict(), or_pack_mem_value(), or_packed_value_size(), or_put_value(), pr_clear_compressed_string(), pr_clear_value(), pr_clone_value(), pr_data_writeval(), pr_data_writeval_disk_size(), pr_do_db_value_string_compression(), pr_get_size_and_write_string_to_buffer(), pr_index_writeval_disk_size(), pr_value_mem_size(), pt_bind_helper(), pt_check_const_fold_op_w_args(), pt_evaluate_db_value_expr(), pt_make_regu_constant(), pt_make_regu_hostvar(), pt_print_node_value(), pt_value_to_db(), qdata_add_bigint_to_date(), qdata_add_bigint_to_dbval(), qdata_add_bigint_to_time(), qdata_add_bigint_to_timestamptz(), qdata_add_bigint_to_utime(), qdata_add_date_to_dbval(), qdata_add_datetime_to_dbval(), qdata_add_dbval(), qdata_add_double_to_dbval(), qdata_add_float_to_dbval(), qdata_add_int_to_date(), qdata_add_int_to_dbval(), qdata_add_int_to_timestamptz(), qdata_add_int_to_utime(), qdata_add_monetary(), qdata_add_monetary_to_dbval(), qdata_add_numeric_to_dbval(), qdata_add_sequence_to_dbval(), qdata_add_short_to_date(), qdata_add_short_to_dbval(), qdata_add_short_to_timestamptz(), qdata_add_short_to_utime(), qdata_add_time_to_dbval(), qdata_add_timestamptz_to_dbval(), qdata_add_utime_to_dbval(), qdata_aggregate_value_to_accumulator(), qdata_bit_and_dbval(), qdata_bit_not_dbval(), qdata_bit_or_dbval(), qdata_bit_shift_dbval(), qdata_bit_xor_dbval(), qdata_calculate_aggregate_cume_dist_percent_rank(), qdata_concatenate_dbval(), qdata_copy_db_value(), qdata_copy_db_value_to_tuple_value(), qdata_copy_hscan_key(), qdata_copy_hscan_key_without_alloc(), qdata_divide_bigint_to_dbval(), qdata_divide_dbval(), qdata_divide_double_to_dbval(), qdata_divide_float_to_dbval(), qdata_divide_int_to_dbval(), qdata_divide_monetary_to_dbval(), qdata_divide_numeric_to_dbval(), qdata_divide_short_to_dbval(), qdata_divmod_dbval(), qdata_elt(), qdata_evaluate_aggregate_list(), qdata_evaluate_analytic_func(), qdata_finalize_aggregate_list(), qdata_finalize_analytic_func(), qdata_generate_tuple_desc_for_valptr_list(), qdata_get_cardinality(), qdata_get_class_of_function(), qdata_get_tuple_value_size_from_dbval(), qdata_group_concat_first_value(), qdata_group_concat_value(), qdata_increment_dbval(), qdata_initialize_aggregate_list(), qdata_initialize_analytic_func(), qdata_is_divided_zero(), qdata_is_zero_value_date(), qdata_load_agg_hvalue_in_agg_list(), qdata_multiply_bigint_to_dbval(), qdata_multiply_dbval(), qdata_multiply_double_to_dbval(), qdata_multiply_float_to_dbval(), qdata_multiply_int_to_dbval(), qdata_multiply_monetary_to_dbval(), qdata_multiply_numeric_to_dbval(), qdata_multiply_sequence_to_dbval(), qdata_multiply_short_to_dbval(), qdata_set_valptr_list_unbound(), qdata_strcat_dbval(), qdata_subtract_bigint_to_dbval(), qdata_subtract_date_to_dbval(), qdata_subtract_datetime_to_dbval(), qdata_subtract_datetimetz_to_dbval(), qdata_subtract_dbval(), qdata_subtract_double_to_dbval(), qdata_subtract_float_to_dbval(), qdata_subtract_int_to_dbval(), qdata_subtract_monetary_to_dbval(), qdata_subtract_numeric_to_dbval(), qdata_subtract_sequence_to_dbval(), qdata_subtract_short_to_dbval(), qdata_subtract_time_to_dbval(), qdata_subtract_timestampltz_to_dbval(), qdata_subtract_timestamptz_to_dbval(), qdata_subtract_utime_to_dbval(), qdata_unary_minus_dbval(), qdata_update_agg_interpolation_func_value_and_domain(), qdump_print_aggregate_expression(), qdump_print_arith_expression(), qdump_print_build_list_node(), qdump_print_build_value_node(), qdump_print_fetch_node(), qdump_print_regu_type(), qdump_print_value_list(), qdump_print_xasl(), qexec_add_composite_lock(), qexec_collection_has_null(), qexec_execute_obj_fetch(), qexec_fill_sort_limit(), qexec_init_instnum_val(), qexec_resolve_domains_for_aggregation(), qexec_upddel_add_unique_oid_to_ehid(), qfile_fast_intval_tuple_to_list(), qfile_fast_val_tuple_to_list(), qo_rewrite_one_like_term(), qstr_get_category(), qstr_grow_string(), round_date(), scan_dbvals_to_midxkey(), scan_get_next_iss_value(), scan_init_index_key_limit(), scan_key_compare(), scan_next_method_scan(), scan_regu_key_to_index_key(), session_add_variable(), session_define_variable(), session_drop_variable(), session_get_exec_stats_and_clear(), session_get_variable(), session_get_variable_no_copy(), set_has_objs(), setobj_convert_oids_to_objects(), setof_mop_to_setof_vobj(), setvobj_compare(), tp_can_steal_string(), tp_domain_resolve_value(), tp_domain_status_er_set(), tp_dtoa(), tp_ftoa(), tp_set_compare(), tp_value_compare_with_error(), tp_value_str_auto_cast_to_number(), update_session_variable(), ux_get_generated_keys_client_insert(), vid_pack_db_value(), and ws_vmop().

#define DB_VALUE_TYPE (   value)    db_value_type(value)

Definition at line 72 of file dbtype.h.

Referenced by au_add_member_method(), au_drop_member_method(), au_get_object(), au_get_set(), au_set_get_obj(), btree_attrinfo_read_dbvalues(), btree_coerce_key(), btree_get_root_with_key(), btree_multicol_key_has_null(), btree_multicol_key_is_null(), btree_node_common_prefix(), btree_node_size_uncompressed(), btree_prepare_bts(), btree_read_record(), btree_scan_update_range(), build_class_grant_list(), cache_validation(), call_method(), catcls_expand_or_value_by_subset(), catcls_get_or_value_from_attribute(), catcls_get_or_value_from_indexes(), catcls_get_property_set(), catcls_insert_instance(), catcls_update_instance(), catcls_update_subset(), check_set_object(), classobj_btid_from_property_value(), classobj_cache_constraint_entry(), classobj_cache_constraint_list(), classobj_cache_constraints(), classobj_change_constraint_comment(), classobj_change_constraint_status(), classobj_check_function_constraint_info(), classobj_clear_attribute_value(), classobj_drop_foreign_key_ref(), classobj_drop_prop(), classobj_get_prop(), classobj_make_class_constraints(), classobj_make_index_filter_pred_info(), classobj_oid_from_property_value(), classobj_put_foreign_key_ref(), classobj_put_prop(), col_find(), col_insert(), col_put(), construct_instance(), csql_db_value_as_string(), csql_display_trace(), cursor_fetch_page_having_tuple(), cursor_fixup_set_vobjs(), cursor_has_set_vobjs(), date_to_char(), db_add_months(), db_add_time(), db_bigint_to_binary_string(), db_blob_to_bit(), db_conv_tz(), db_date_dbval(), db_date_format(), db_execute_oid(), db_format(), db_from_tz(), db_from_unixtime(), db_get_cs_coll_info(), db_get_db_value_query_result(), db_months_between(), db_new_time(), db_seq_insert(), db_seq_put(), db_set_add(), db_str_to_date(), db_string_truncate(), db_string_value(), db_time_dbval(), db_time_format(), db_to_date(), db_to_datetime(), db_to_number(), db_to_time(), db_to_timestamp(), db_typeof_dbval(), db_unix_timestamp(), db_value_get(), db_width_bucket(), db_width_bucket_calculate_numeric(), dbt_put_internal(), desc_value_print(), desc_value_special_fprint(), db_value_printer::describe_data(), db_value_printer::describe_value(), disk_to_attribute(), disk_volume_header_start_scan(), do_alter_change_owner(), do_alter_trigger(), do_evaluate_default_expr(), do_get_serial_cached_num(), do_replace_names_for_insert_values_pre(), do_set_optimization_param(), do_set_xaction(), emit_class_owner(), eval_key_filter(), eval_pred(), ex_contains_object_reference(), export_serial(), fetch_peek_arith(), fetch_peek_dbval(), fetch_set_internal(), find_all_triggers(), find_unique(), fprint_special_strings(), get_attribute_number(), get_current_result(), get_grants(), get_object_value(), get_savepoint_name_from_db_value(), get_set_value(), get_string(), get_user_name(), get_user_trigger_objects(), heap_header_capacity_start_scan(), insert_object_attr(), jsp_get_value_size(), jsp_pack_argument(), la_get_item_pk_value(), log_active_log_header_start_scan(), log_archive_log_header_start_scan(), method_invoke_for_server(), method_receive_results_for_stand_alone(), mq_replace_virtual_oid_with_real_oid(), mr_data_lengthval_object(), mr_data_writeval_object(), mr_index_writeval_oid(), mr_setval_object(), number_to_char(), numeric_db_value_add(), numeric_db_value_coerce_to_num(), numeric_db_value_compare(), numeric_db_value_div(), numeric_db_value_increase(), numeric_db_value_is_positive(), numeric_db_value_mul(), numeric_db_value_negate(), numeric_db_value_sub(), obj_desc_set(), obj_find_object_by_cons_and_key(), obj_find_object_by_pkey(), obj_get_path(), obj_get_value(), obj_set(), obj_set_shared(), object_to_trigger(), obt_convert_set_templates(), obt_desc_set(), obt_final_check(), obt_final_check_set(), obt_free_assignment(), obt_set(), or_cl_get_prop_nocopy(), or_get_constraint_comment(), or_get_current_representation(), or_install_btids(), or_install_btids_class(), or_install_btids_constraint(), or_install_btids_filter_pred(), or_install_btids_function_info(), or_pack_mem_value(), or_packed_value_size(), or_put_set(), or_put_value(), partition_attrinfo_get_key(), partition_decrement_value(), partition_load_partition_predicate(), partition_prune_hash(), populate_defaults(), pr_midxkey_add_prefix(), pr_midxkey_common_prefix(), process_class(), process_value(), pt_associate_label_with_value(), pt_bind_parameter(), pt_check_and_coerce_to_time(), pt_check_filter_index_expr_pre(), pt_coerce_node_collation(), pt_dbval_to_value(), pt_eval_path_expr(), pt_evaluate_db_value_expr(), pt_find_value_of_label(), pt_fold_const_expr(), pt_free_label(), pt_is_reference_to_reusable_oid(), pt_print_db_value(), pt_resolve_object(), pt_set_value_to_db(), pt_to_list_key(), qdata_add_bigint_to_dbval(), qdata_add_bigint_to_timestamptz(), qdata_add_dbval(), qdata_add_int_to_dbval(), qdata_add_int_to_timestamptz(), qdata_add_short_to_dbval(), qdata_add_short_to_timestamptz(), qdata_evaluate_aggregate_list(), qdata_evaluate_analytic_func(), qdata_get_dbval_from_constant_regu_variable(), qdata_list_dbs(), qdata_subtract_timestampltz_to_dbval(), qdata_subtract_timestamptz_to_dbval(), qexec_analytic_evaluate_interpolation_function(), qexec_execute_insert(), qexec_resolve_domains_for_aggregation(), qexec_resolve_domains_for_group_by(), qexec_setup_topn_proc(), qexec_topn_tuples_to_list_id(), qmgr_execute_query(), qo_set_cost(), quick_validate(), regu_make_constant_vid(), scan_regu_key_to_index_key(), session_set_cur_insert_id(), setobj_filter(), setobj_get_element(), setobj_sort(), sl_print_pk(), spage_header_start_scan(), spage_slots_start_scan(), swizzle_value(), synccoll_check(), tp_domain_resolve_value(), tp_domain_select(), tp_dtoa(), tp_ftoa(), tp_set_compare(), tp_value_cast_internal(), tp_value_change_coll_and_codeset(), tp_value_coerce_strict(), tp_value_compare_with_error(), tp_value_domain_name(), tp_value_string_to_double(), tr_dump_selective_triggers(), tr_status_as_string(), tr_update_user_cache(), trigger_table_drop(), trigger_table_find(), trigger_table_rename(), tzc_compute_timezone_checksum(), uci_get_value_indirect(), valcnv_convert_data_to_string(), valcnv_convert_db_value_to_string(), value_as_boolean(), vid_build_non_upd_object(), vid_fetch_instance(), vid_flush_and_rehash_lbl(), vid_get_referenced_mop(), vid_oid_to_object(), vid_vobj_to_object(), ws_move_label_value_list(), and ws_rehash_vmop().

Function Documentation

int db_convert_json_into_scalar ( const DB_VALUE src,
DB_VALUE dest 
)

Definition at line 4981 of file db_macro.c.

void db_date_decode ( const DB_DATE date,
int *  monthp,
int *  dayp,
int *  yearp 
)

Definition at line 338 of file db_date.c.

int db_date_encode ( DB_DATE date,
int  month,
int  day,
int  year 
)

Definition at line 275 of file db_date.c.

const char* db_default_expression_string ( DB_DEFAULT_EXPR_TYPE  default_expr_type)

Definition at line 4947 of file db_macro.c.

DB_CURRENCY db_get_currency_default ( void  )

Definition at line 1870 of file db_macro.c.

int db_get_deep_copy_of_json ( const DB_JSON src,
DB_JSON dst 
)

Definition at line 2022 of file db_macro.c.

char* db_get_json_raw_body ( const DB_VALUE value)
int db_init_db_json_pointers ( DB_JSON val)

Definition at line 2042 of file db_macro.c.

bool db_is_json_doc_type ( DB_TYPE  type)

Definition at line 5066 of file db_macro.c.

bool db_is_json_value_type ( DB_TYPE  type)

Definition at line 5043 of file db_macro.c.

int db_json_val_from_str ( const char *  raw_str,
const int  str_size,
DB_VALUE json_val 
)

Definition at line 3578 of file parse_dbi.c.

References assert, db_json_get_json_from_str(), db_make_json(), NO_ERROR, and NULL.

Referenced by netval_to_dbval().

Here is the caller graph for this function:

int db_string_truncate ( DB_VALUE value,
const int  max_precision 
)

Definition at line 962 of file db_macro.c.

void db_time_decode ( DB_TIME timeval,
int *  hourp,
int *  minutep,
int *  secondp 
)

Definition at line 432 of file db_date.c.

int db_time_encode ( DB_TIME timeval,
int  hour,
int  minute,
int  second 
)

Definition at line 370 of file db_date.c.

DB_DOMAIN* db_type_to_db_domain ( DB_TYPE  type)

Definition at line 1710 of file db_macro.c.

int db_value_alter_type ( DB_VALUE value,
DB_TYPE  type 
)

Definition at line 1225 of file db_macro.c.

int db_value_clear ( DB_VALUE value)

Definition at line 1588 of file db_macro.c.

int db_value_clear_array ( DB_VALUE_ARRAY value_array)

Definition at line 1633 of file db_macro.c.

int db_value_clone ( DB_VALUE src,
DB_VALUE dest 
)

Definition at line 1564 of file db_macro.c.

int db_value_coerce ( const DB_VALUE src,
DB_VALUE dest,
const DB_DOMAIN desired_domain 
)

Definition at line 1779 of file db_macro.c.

int db_value_compare ( const DB_VALUE value1,
const DB_VALUE value2 
)

Definition at line 1855 of file db_macro.c.

DB_VALUE* db_value_copy ( DB_VALUE value)

Definition at line 1537 of file db_macro.c.

DB_VALUE* db_value_create ( void  )

Definition at line 1517 of file db_macro.c.

int db_value_domain_default ( DB_VALUE value,
const DB_TYPE  type,
const int  precision,
const int  scale,
const int  codeset,
const int  collation_id,
DB_ENUMERATION enumeration 
)

Definition at line 756 of file db_macro.c.

int db_value_domain_init ( DB_VALUE value,
DB_TYPE  type,
const int  precision,
const int  scale 
)

Definition at line 153 of file db_macro.c.

void db_value_domain_init_default ( DB_VALUE value,
const DB_TYPE  type 
)

Definition at line 394 of file db_macro.c.

References DB_DEFAULT_PRECISION, DB_DEFAULT_SCALE, and db_value_domain_init().

Referenced by pt_data_type_init_value().

Here is the caller graph for this function:

int db_value_domain_max ( DB_VALUE value,
DB_TYPE  type,
const int  precision,
const int  scale,
const int  codeset,
const int  collation_id,
const DB_ENUMERATION enumeration 
)

Definition at line 581 of file db_macro.c.

int db_value_domain_min ( DB_VALUE value,
DB_TYPE  type,
const int  precision,
const int  scale,
const int  codeset,
const int  collation_id,
const DB_ENUMERATION enumeration 
)

Definition at line 413 of file db_macro.c.

int db_value_domain_zero ( DB_VALUE value,
const DB_TYPE  type,
const int  precision,
const int  scale 
)

Definition at line 903 of file db_macro.c.

int db_value_equal ( const DB_VALUE value1,
const DB_VALUE value2 
)

Definition at line 1803 of file db_macro.c.

void db_value_fprint ( FILE *  fp,
const DB_VALUE value 
)

Definition at line 1681 of file db_macro.c.

int db_value_free ( DB_VALUE value)

Definition at line 1610 of file db_macro.c.

int db_value_get ( DB_VALUE value,
const DB_TYPE_C  type,
void *  buf,
const int  buflen,
int *  transferlen,
int *  outputlen 
)

Definition at line 2077 of file db_macro.c.

double db_value_get_monetary_amount_as_double ( const DB_VALUE value)

Definition at line 1505 of file db_macro.c.

DB_CURRENCY db_value_get_monetary_currency ( const DB_VALUE value)

Definition at line 1492 of file db_macro.c.

void db_value_print ( const DB_VALUE value)

Definition at line 1663 of file db_macro.c.

int db_value_put ( DB_VALUE value,
const DB_TYPE_C  c_type,
void *  input,
const int  input_length 
)

Definition at line 1256 of file db_macro.c.

int db_value_put_encoded_date ( DB_VALUE value,
const DB_DATE date_value 
)

Definition at line 1383 of file db_macro.c.

int db_value_put_encoded_time ( DB_VALUE value,
const DB_TIME time_value 
)

Definition at line 1357 of file db_macro.c.

int db_value_put_monetary_amount_as_double ( DB_VALUE value,
const double  amount 
)

Definition at line 1470 of file db_macro.c.

int db_value_put_monetary_currency ( DB_VALUE value,
const DB_CURRENCY  type 
)

Definition at line 1409 of file db_macro.c.

int db_value_put_null ( DB_VALUE value)

Definition at line 122 of file db_macro.c.

bool db_value_type_is_collection ( const DB_VALUE value)

Definition at line 1144 of file db_macro.c.

DB_TYPE setobj_type ( struct setobj set)

Definition at line 6158 of file set_object.c.

Referenced by or_packed_set_length(), and or_put_set().

Here is the caller graph for this function: