25 #ifndef _OBJECT_REPRESENTATION_SR_H_ 26 #define _OBJECT_REPRESENTATION_SR_H_ 30 #if !defined (SERVER_MODE) && !defined (SA_MODE) 31 #error Belongs to server module 34 #if !defined (__cplusplus) 36 #endif // C++ required 46 #define OR_ATT_BTID_PREALLOC 8 117 unsigned is_autoincrement:1;
118 unsigned is_notnull:1;
215 unsigned needs_indexes:1;
216 unsigned has_partition_info:1;
234 #if defined (ENABLE_UNUSED_FUNCTION) 235 extern void or_class_statistics (
RECDES * record,
OID * oid);
236 extern int or_class_subclasses (
RECDES * record,
int *array_size,
OID ** array_ptr);
237 extern int or_classrep_needs_indexes (
OR_CLASSREP * rep);
240 OID ** class_oids,
HFID ** hfids,
int *num_heaps,
int *partition_local_index);
245 int *has_partition_info);
252 #if defined (ENABLE_UNUSED_FUNCTION) 253 extern void orc_class_rep_dir (
RECDES * record,
OID * rep_dir_p);
254 extern void orc_class_hfid_from_record (
RECDES * record,
HFID *
hfid);
269 int variable_offset_size);
OR_ATTRIBUTE * shared_attrs
OR_FUNCTION_INDEX * func_index_info
CLS_INFO * orc_class_info_from_record(RECDES *record)
OR_CLASSREP * or_get_classrep_noindex(RECDES *record, int repid)
OR_ATTRIBUTE * class_attrs
void or_class_hfid(RECDES *record, HFID *hfid)
int or_class_get_partition_info(RECDES *record, OR_PARTITION *partition_info, REPR_ID *repr_id, int *has_partition_info)
const char * or_get_constraint_comment(RECDES *record, const char *constraint_name)
int orc_subclasses_from_record(RECDES *record, int *array_size, OID **array_ptr)
#define OR_ATT_BTID_PREALLOC
int * attrs_prefix_length
void orc_free_diskrep(DISK_REPR *rep)
int or_get_attrcomment(RECDES *record, int attrid, char **string, int *alloced_string)
or_auto_increment auto_increment
DB_DEFAULT_EXPR_TYPE on_update_expr
int or_mvcc_add_header(RECDES *record, MVCC_REC_HEADER *mvcc_rec_header, int bound_bit, int variable_offset_size)
OR_DEFAULT_VALUE default_value
std::atomic< or_aligned_oid > serial_obj
int or_get_unique_hierarchy(THREAD_ENTRY *thread_p, RECDES *record, int attrid, BTID *btid, OID **class_oids, HFID **hfids, int *num_heaps, int *partition_local_index)
int orc_superclasses_from_record(RECDES *record, int *array_size, OID **array_ptr)
OR_PREDICATE * filter_predicate
int or_mvcc_set_header(RECDES *record, MVCC_REC_HEADER *mvcc_rec_header)
void or_class_rep_dir(RECDES *record, OID *rep_dir_p)
int count(int &result, const cub_regex_object ®, const std::string &src, const int position, const INTL_CODESET codeset)
std::int64_t dummy_for_alignemnt
void or_free_classrep(OR_CLASSREP *rep)
void or_class_tde_algorithm(RECDES *record, TDE_ALGORITHM *tde_algo)
int or_mvcc_get_header(RECDES *record, MVCC_REC_HEADER *mvcc_rec_header)
void orc_free_class_info(CLS_INFO *info)
int or_get_attrname(RECDES *record, int attrid, char **string, int *alloced_string)
OR_CLASSREP * or_get_classrep(RECDES *record, int repid)
int or_mvcc_set_log_lsa_to_record(RECDES *record, LOG_LSA *lsa)
OR_DEFAULT_VALUE current_default_value
OR_CLASSREP * or_classrep_load_indexes(OR_CLASSREP *rep, RECDES *record)
OR_INDEX_STATUS index_status
OR_ATTRIBUTE * attributes
OR_CLASSREP * representations
DB_DEFAULT_EXPR default_expr
DISK_REPR * orc_diskrep_from_record(THREAD_ENTRY *thread_p, RECDES *record)
OR_CLASSREP ** or_get_all_representation(RECDES *record, bool do_indexes, int *count)
int or_replace_rep_id(RECDES *record, int repid)