Skip to content

File virtual_object.h

FileList > cubrid > src > object > virtual_object.h

Go to the source code of this file

  • #include "locator_cl.h"
  • #include "class_object.h"

Public Types

Type Name
typedef enum vid_statement_type VID_STATEMENT_TYPE
enum vid_statement_type

Public Attributes

Type Name
const LOCK lk_Conv
const bool vid_inhibit_null_check

Public Functions

Type Name
MOP vid_add_virtual_instance (MOBJ instance, MOP vclass_mop, MOP bclass_mop, SM_CLASS * bclass)
int vid_allflush (void)
bool vid_att_in_obj_id (SM_ATTRIBUTE * attribute_p)
MOP vid_base_instance (MOP mop)
MOP vid_build_virtual_mop (MOP bmop, MOP vclass_mop)
bool vid_compare_non_updatable_objects (MOP mop1, MOP mop2)
void vid_decache_instance (MOP mop)
int vid_decode_object (const char * string, DB_OBJECT ** object)
int vid_encode_object (DB_OBJECT * object, char * string, int allocated_length, int * actual_length)
MOBJ vid_fetch_instance (MOP mop, DB_FETCH_MODE purpose, LC_FETCH_VERSION_TYPE read_fetch_version_type)
int vid_flush_all_instances (MOP class_mop, bool decache)
int vid_flush_and_rehash (MOP mop)
DB_VALUE * vid_flush_and_rehash_lbl (DB_VALUE * value)
int vid_flush_instance (MOP mop, void * arg)
void vid_get_keys (MOP mop, DB_VALUE * value)
MOP vid_get_referenced_mop (MOP mop)
DB_OBJLIST * vid_getall_mops (MOP class_mop, SM_CLASS * class_p, DB_FETCH_MODE purpose)
bool vid_is_base_instance (MOP mop)
int vid_is_new_pobj (MOP mop)
bool vid_is_updatable (MOP mop)
int vid_make_vobj (const OID * view_oid, const OID * class_oid, const DB_VALUE * keys, DB_VALUE * vobj)
int vid_object_to_vobj (const DB_OBJECT * obj, DB_VALUE * vobj)
int vid_oid_to_object (const DB_VALUE * value, DB_OBJECT ** mop)
int vid_record_update (MOP mop, SM_CLASS * class_p, SM_ATTRIBUTE * attribute_p)
void vid_rem_instance (MOP mop)
int vid_set_att_obj_id (const char * class_name, SM_ATTRIBUTE * attribute_p, int id_no)
MOBJ vid_upd_instance (MOP mop)
int vid_vobj_to_object (const DB_VALUE * vobj, DB_OBJECT ** mop)

Public Types Documentation

typedef VID_STATEMENT_TYPE

typedef enum vid_statement_type VID_STATEMENT_TYPE;

enum vid_statement_type

enum vid_statement_type {
    VID_FETCH,
    VID_STORE,
    VID_REMOVE
};

Public Attributes Documentation

variable lk_Conv

const LOCK lk_Conv[][9];

variable vid_inhibit_null_check

const bool vid_inhibit_null_check;

Public Functions Documentation

function vid_add_virtual_instance

MOP vid_add_virtual_instance (
    MOBJ instance,
    MOP vclass_mop,
    MOP bclass_mop,
    SM_CLASS * bclass
) 

function vid_allflush

int vid_allflush (
    void
) 

function vid_att_in_obj_id

bool vid_att_in_obj_id (
    SM_ATTRIBUTE * attribute_p
) 

function vid_base_instance

MOP vid_base_instance (
    MOP mop
) 

function vid_build_virtual_mop

MOP vid_build_virtual_mop (
    MOP bmop,
    MOP vclass_mop
) 

function vid_compare_non_updatable_objects

bool vid_compare_non_updatable_objects (
    MOP mop1,
    MOP mop2
) 

function vid_decache_instance

void vid_decache_instance (
    MOP mop
) 

function vid_decode_object

int vid_decode_object (
    const  char * string,
    DB_OBJECT ** object
) 

function vid_encode_object

int vid_encode_object (
    DB_OBJECT * object,
    char * string,
    int allocated_length,
    int * actual_length
) 

function vid_fetch_instance

MOBJ vid_fetch_instance (
    MOP mop,
    DB_FETCH_MODE purpose,
    LC_FETCH_VERSION_TYPE read_fetch_version_type
) 

function vid_flush_all_instances

int vid_flush_all_instances (
    MOP class_mop,
    bool decache
) 

function vid_flush_and_rehash

int vid_flush_and_rehash (
    MOP mop
) 

function vid_flush_and_rehash_lbl

DB_VALUE * vid_flush_and_rehash_lbl (
    DB_VALUE * value
) 

function vid_flush_instance

int vid_flush_instance (
    MOP mop,
    void * arg
) 

function vid_get_keys

void vid_get_keys (
    MOP mop,
    DB_VALUE * value
) 

function vid_get_referenced_mop

MOP vid_get_referenced_mop (
    MOP mop
) 

function vid_getall_mops

DB_OBJLIST * vid_getall_mops (
    MOP class_mop,
    SM_CLASS * class_p,
    DB_FETCH_MODE purpose
) 

function vid_is_base_instance

bool vid_is_base_instance (
    MOP mop
) 

function vid_is_new_pobj

int vid_is_new_pobj (
    MOP mop
) 

function vid_is_updatable

bool vid_is_updatable (
    MOP mop
) 

function vid_make_vobj

int vid_make_vobj (
    const  OID * view_oid,
    const  OID * class_oid,
    const  DB_VALUE * keys,
    DB_VALUE * vobj
) 

function vid_object_to_vobj

int vid_object_to_vobj (
    const  DB_OBJECT * obj,
    DB_VALUE * vobj
) 

function vid_oid_to_object

int vid_oid_to_object (
    const  DB_VALUE * value,
    DB_OBJECT ** mop
) 

function vid_record_update

int vid_record_update (
    MOP mop,
    SM_CLASS * class_p,
    SM_ATTRIBUTE * attribute_p
) 

function vid_rem_instance

void vid_rem_instance (
    MOP mop
) 

function vid_set_att_obj_id

int vid_set_att_obj_id (
    const  char * class_name,
    SM_ATTRIBUTE * attribute_p,
    int id_no
) 

function vid_upd_instance

MOBJ vid_upd_instance (
    MOP mop
) 

function vid_vobj_to_object

int vid_vobj_to_object (
    const  DB_VALUE * vobj,
    DB_OBJECT ** mop
) 


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