Skip to content

File db_virt.c

FileList > compat > db_virt.c

Go to the source code of this file

  • #include "config.h"
  • #include <stdio.h>
  • #include <stdlib.h>
  • #include <stdarg.h>
  • #include <ctype.h>
  • #include <assert.h>
  • #include "authenticate.h"
  • #include "system_parameter.h"
  • #include "storage_common.h"
  • #include "db.h"
  • #include "class_object.h"
  • #include "object_print.h"
  • #include "server_interface.h"
  • #include "boot_cl.h"
  • #include "locator_cl.h"
  • #include "schema_manager.h"
  • #include "schema_template.h"
  • #include "object_accessor.h"
  • #include "object_primitive.h"
  • #include "set_object.h"
  • #include "virtual_object.h"
  • #include "parser.h"
  • #include "view_transform.h"

Public Functions

Type Name
int db_add_query_spec (MOP vclass, const char * query)
int db_change_query_spec (DB_OBJECT * vclass, const char * new_query, const int query_no)
DB_OBJECT * db_create_vclass (const char * name)
int db_drop_query_spec (DB_OBJECT * vclass, const int query_no)
DB_NAMELIST * db_get_object_id (MOP vclass)
DB_QUERY_SPEC * db_get_query_specs (DB_OBJECT * obj)
char * db_get_vclass_ldb_name (DB_OBJECT * op)
int db_instance_equal (DB_OBJECT * obj1, DB_OBJECT * obj2)
int db_is_real_instance (DB_OBJECT * obj)
int db_is_updatable_attribute (DB_OBJECT * obj, const char * attr_name)
int db_is_updatable_object (DB_OBJECT * obj)
int db_is_vclass (DB_OBJECT * op)
int db_namelist_add (DB_NAMELIST ** list, const char * name)
int db_namelist_append (DB_NAMELIST ** list, const char * name)
void db_namelist_free (DB_NAMELIST * list)
DB_QUERY_SPEC * db_query_spec_next (DB_QUERY_SPEC * query_spec)
const char * db_query_spec_string (DB_QUERY_SPEC * query_spec)
DB_OBJECT * db_real_instance (DB_OBJECT * obj)

Macros

Type Name
define ERROR_SET (error, code) /* multi line expression */

Public Functions Documentation

function db_add_query_spec

int db_add_query_spec (
    MOP vclass,
    const  char * query
) 

function db_change_query_spec

int db_change_query_spec (
    DB_OBJECT * vclass,
    const  char * new_query,
    const  int query_no
) 

function db_create_vclass

DB_OBJECT * db_create_vclass (
    const  char * name
) 

function db_drop_query_spec

int db_drop_query_spec (
    DB_OBJECT * vclass,
    const  int query_no
) 

function db_get_object_id

DB_NAMELIST * db_get_object_id (
    MOP vclass
) 

function db_get_query_specs

DB_QUERY_SPEC * db_get_query_specs (
    DB_OBJECT * obj
) 

function db_get_vclass_ldb_name

char * db_get_vclass_ldb_name (
    DB_OBJECT * op
) 

function db_instance_equal

int db_instance_equal (
    DB_OBJECT * obj1,
    DB_OBJECT * obj2
) 

function db_is_real_instance

int db_is_real_instance (
    DB_OBJECT * obj
) 

function db_is_updatable_attribute

int db_is_updatable_attribute (
    DB_OBJECT * obj,
    const  char * attr_name
) 

function db_is_updatable_object

int db_is_updatable_object (
    DB_OBJECT * obj
) 

function db_is_vclass

int db_is_vclass (
    DB_OBJECT * op
) 

function db_namelist_add

int db_namelist_add (
    DB_NAMELIST ** list,
    const  char * name
) 

function db_namelist_append

int db_namelist_append (
    DB_NAMELIST ** list,
    const  char * name
) 

function db_namelist_free

void db_namelist_free (
    DB_NAMELIST * list
) 

function db_query_spec_next

DB_QUERY_SPEC * db_query_spec_next (
    DB_QUERY_SPEC * query_spec
) 

function db_query_spec_string

const  char * db_query_spec_string (
    DB_QUERY_SPEC * query_spec
) 

function db_real_instance

DB_OBJECT * db_real_instance (
    DB_OBJECT * obj
) 

Macro Definition Documentation

define ERROR_SET

#define ERROR_SET (
    error,
    code
) `/* multi line expression */`


The documentation for this class was generated from the following file cubrid/src/compat/db_virt.c