Skip to content

File object_representation_sr.h

FileList > base > object_representation_sr.h

Go to the source code of this file

  • #include "dbtype_def.h"
  • #include "log_lsa.hpp"
  • #include "mvcc.h"
  • #include "storage_common.h"
  • #include "system_catalog.h"
  • #include <atomic>

Classes

Type Name
struct or_attribute
struct or_auto_increment
struct or_class
struct or_classrep
struct or_default_value
struct or_foreign_key
struct or_function_index
struct or_index
struct or_partition
struct or_predicate

Public Types

Type Name
typedef struct or_attribute OR_ATTRIBUTE
typedef struct or_class OR_CLASS
typedef struct or_classrep OR_CLASSREP
typedef struct or_default_value OR_DEFAULT_VALUE
typedef struct or_foreign_key OR_FOREIGN_KEY
typedef struct or_function_index OR_FUNCTION_INDEX
typedef struct or_index OR_INDEX
enum OR_INDEX_STATUS
typedef struct or_partition OR_PARTITION
typedef struct or_predicate OR_PREDICATE
union or_aligned_oid

Public Functions

Type Name
int or_class_get_partition_info (RECDES * record, OR_PARTITION * partition_info, REPR_ID * repr_id, int * has_partition_info)
void or_class_hfid (RECDES * record, HFID * hfid)
void or_class_rep_dir (RECDES * record, OID * rep_dir_p)
void or_class_statistics (RECDES * record, OID * oid)
int or_class_subclasses (RECDES * record, int * array_size, OID ** array_ptr)
void or_class_tde_algorithm (RECDES * record, TDE_ALGORITHM * tde_algo)
OR_CLASSREP * or_classrep_load_indexes (OR_CLASSREP * rep, RECDES * record)
int or_classrep_needs_indexes (OR_CLASSREP * rep)
void or_free_classrep (OR_CLASSREP * rep)
OR_CLASSREP ** or_get_all_representation (RECDES * record, bool do_indexes, int * count)
int or_get_attrcomment (RECDES * record, int attrid, char ** string, int * alloced_string)
int or_get_attrname (RECDES * record, int attrid, char ** string, int * alloced_string)
OR_CLASSREP * or_get_classrep (RECDES * record, int repid)
OR_CLASSREP * or_get_classrep_noindex (RECDES * record, int repid)
const char * or_get_constraint_comment (RECDES * record, const char * constraint_name)
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 or_mvcc_add_header (RECDES * record, MVCC_REC_HEADER * mvcc_rec_header, int bound_bit, int variable_offset_size)
int or_mvcc_get_header (RECDES * record, MVCC_REC_HEADER * mvcc_rec_header)
int or_mvcc_set_header (RECDES * record, MVCC_REC_HEADER * mvcc_rec_header)
int or_mvcc_set_log_lsa_to_record (RECDES * record, LOG_LSA * lsa)
int or_replace_rep_id (RECDES * record, int repid)
void orc_class_hfid_from_record (RECDES * record, HFID * hfid)
CLS_INFO * orc_class_info_from_record (RECDES * record)
void orc_class_rep_dir (RECDES * record, OID * rep_dir_p)
DISK_REPR * orc_diskrep_from_record (THREAD_ENTRY * thread_p, RECDES * record)
void orc_free_class_info (CLS_INFO * info)
void orc_free_diskrep (DISK_REPR * rep)
int orc_subclasses_from_record (RECDES * record, int * array_size, OID ** array_ptr)
int orc_superclasses_from_record (RECDES * record, int * array_size, OID ** array_ptr)

Macros

Type Name
define OR_ATT_BTID_PREALLOC 8

Public Types Documentation

typedef OR_ATTRIBUTE

typedef struct or_attribute OR_ATTRIBUTE;

typedef OR_CLASS

typedef struct or_class OR_CLASS;

typedef OR_CLASSREP

typedef struct or_classrep OR_CLASSREP;

typedef OR_DEFAULT_VALUE

typedef struct or_default_value OR_DEFAULT_VALUE;

typedef OR_FOREIGN_KEY

typedef struct or_foreign_key OR_FOREIGN_KEY;

typedef OR_FUNCTION_INDEX

typedef struct or_function_index OR_FUNCTION_INDEX;

typedef OR_INDEX

typedef struct or_index OR_INDEX;

enum OR_INDEX_STATUS

enum OR_INDEX_STATUS {
    OR_NO_INDEX = 0,
    OR_NORMAL_INDEX = 1,
    OR_INVISIBLE_INDEX = 2,
    OR_ONLINE_INDEX_BUILDING_IN_PROGRESS = 3,
    OR_RESERVED_INDEX_STATUS1 = 4,
    OR_RESERVED_INDEX_STATUS2 = 5,
    OR_RESERVED_INDEX_STATUS3 = 6,
    OR_RESERVED_INDEX_STATUS4 = 7,
    OR_RESERVED_INDEX_STATUS5 = 8,
    OR_RESERVED_INDEX_STATUS6 = 9,
    OR_LAST_INDEX_STATUS = 10
};

typedef OR_PARTITION

typedef struct or_partition OR_PARTITION;

typedef OR_PREDICATE

typedef struct or_predicate OR_PREDICATE;

union or_aligned_oid



Public Functions Documentation

function or_class_get_partition_info

int or_class_get_partition_info (
    RECDES * record,
    OR_PARTITION * partition_info,
    REPR_ID * repr_id,
    int * has_partition_info
) 

function or_class_hfid

void or_class_hfid (
    RECDES * record,
    HFID * hfid
) 

function or_class_rep_dir

void or_class_rep_dir (
    RECDES * record,
    OID * rep_dir_p
) 

function or_class_statistics

void or_class_statistics (
    RECDES * record,
    OID * oid
) 

function or_class_subclasses

int or_class_subclasses (
    RECDES * record,
    int * array_size,
    OID ** array_ptr
) 

function or_class_tde_algorithm

void or_class_tde_algorithm (
    RECDES * record,
    TDE_ALGORITHM * tde_algo
) 

function or_classrep_load_indexes

OR_CLASSREP * or_classrep_load_indexes (
    OR_CLASSREP * rep,
    RECDES * record
) 

function or_classrep_needs_indexes

int or_classrep_needs_indexes (
    OR_CLASSREP * rep
) 

function or_free_classrep

void or_free_classrep (
    OR_CLASSREP * rep
) 

function or_get_all_representation

OR_CLASSREP ** or_get_all_representation (
    RECDES * record,
    bool do_indexes,
    int * count
) 

function or_get_attrcomment

int or_get_attrcomment (
    RECDES * record,
    int attrid,
    char ** string,
    int * alloced_string
) 

function or_get_attrname

int or_get_attrname (
    RECDES * record,
    int attrid,
    char ** string,
    int * alloced_string
) 

function or_get_classrep

OR_CLASSREP * or_get_classrep (
    RECDES * record,
    int repid
) 

function or_get_classrep_noindex

OR_CLASSREP * or_get_classrep_noindex (
    RECDES * record,
    int repid
) 

function or_get_constraint_comment

const  char * or_get_constraint_comment (
    RECDES * record,
    const  char * constraint_name
) 

function or_get_unique_hierarchy

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
) 

function or_mvcc_add_header

int or_mvcc_add_header (
    RECDES * record,
    MVCC_REC_HEADER * mvcc_rec_header,
    int bound_bit,
    int variable_offset_size
) 

function or_mvcc_get_header

int or_mvcc_get_header (
    RECDES * record,
    MVCC_REC_HEADER * mvcc_rec_header
) 

function or_mvcc_set_header

int or_mvcc_set_header (
    RECDES * record,
    MVCC_REC_HEADER * mvcc_rec_header
) 

function or_mvcc_set_log_lsa_to_record

int or_mvcc_set_log_lsa_to_record (
    RECDES * record,
    LOG_LSA * lsa
) 

function or_replace_rep_id

int or_replace_rep_id (
    RECDES * record,
    int repid
) 

function orc_class_hfid_from_record

void orc_class_hfid_from_record (
    RECDES * record,
    HFID * hfid
) 

function orc_class_info_from_record

CLS_INFO * orc_class_info_from_record (
    RECDES * record
) 

function orc_class_rep_dir

void orc_class_rep_dir (
    RECDES * record,
    OID * rep_dir_p
) 

function orc_diskrep_from_record

DISK_REPR * orc_diskrep_from_record (
    THREAD_ENTRY * thread_p,
    RECDES * record
) 

function orc_free_class_info

void orc_free_class_info (
    CLS_INFO * info
) 

function orc_free_diskrep

void orc_free_diskrep (
    DISK_REPR * rep
) 

function orc_subclasses_from_record

int orc_subclasses_from_record (
    RECDES * record,
    int * array_size,
    OID ** array_ptr
) 

function orc_superclasses_from_record

int orc_superclasses_from_record (
    RECDES * record,
    int * array_size,
    OID ** array_ptr
) 

Macro Definition Documentation

define OR_ATT_BTID_PREALLOC

#define OR_ATT_BTID_PREALLOC `8`


The documentation for this class was generated from the following file cubrid/src/base/object_representation_sr.h