CUBRID Engine
latest
|
#include <class_description.hpp>
Public Types | |
enum | type { CSQL_SCHEMA_COMMAND, SHOW_CREATE_TABLE } |
Public Member Functions | |
class_description () | |
~class_description () | |
int | init (const char *name) |
int | init (struct db_object *op, type prt_type) |
int | init (struct db_object *op, type prt_type, string_buffer &sb) |
Public Attributes | |
char * | name |
char * | class_type |
char * | collation |
char ** | supers |
char ** | subs |
char ** | attributes |
char ** | class_attributes |
char ** | methods |
char ** | class_methods |
char ** | resolutions |
char ** | method_files |
char ** | query_spec |
char * | object_id |
std::vector< char * > | triggers |
char ** | constraints |
std::vector< char * > | partition |
char * | comment |
Definition at line 45 of file class_description.hpp.
Enumerator | |
---|---|
CSQL_SCHEMA_COMMAND | |
SHOW_CREATE_TABLE |
Definition at line 47 of file class_description.hpp.
class_description::class_description | ( | ) |
Definition at line 94 of file class_description.cpp.
class_description::~class_description | ( | ) |
Definition at line 115 of file class_description.cpp.
References attributes, class_attributes, class_methods, class_type, collation, comment, constraints, object_print::free_strarray(), method_files, methods, name, NULL, object_id, partition, query_spec, resolutions, subs, and supers.
Referenced by init().
int class_description::init | ( | const char * | name | ) |
Definition at line 173 of file class_description.cpp.
References ASSERT_ERROR_AND_SET, CSQL_SCHEMA_COMMAND, NO_ERROR, NULL, and sm_find_class().
Referenced by csql_help_schema(), object_printer::describe_class(), help_print_obj(), and init().
Definition at line 185 of file class_description.cpp.
int class_description::init | ( | struct db_object * | op, |
type | prt_type, | ||
string_buffer & | sb | ||
) |
Definition at line 192 of file class_description.cpp.
References ARG_FILE_LINE, assert, sm_class::att_count, attributes, sm_class_constraint::attributes, sm_class::attributes, au_fetch_class(), AU_FETCH_READ, AU_SELECT, sm_class::class_attribute_count, class_attributes, sm_class::class_attributes, sm_class::class_method_count, class_methods, sm_class::class_methods, sm_attribute::class_mop, sm_method::class_mop, class_type, sm_class::class_type, string_buffer::clear(), collation, sm_class::collation_id, comment, sm_class::comment, constraints, sm_class::constraints, object_print::copy_string(), cubregex::count(), CSQL_SCHEMA_COMMAND, DB_FETCH_READ, object_printer::describe_attribute(), object_printer::describe_comment(), object_printer::describe_constraint(), object_printer::describe_method(), object_printer::describe_method_file(), object_printer::describe_partition_info(), object_printer::describe_partition_parts(), object_printer::describe_resolution(), er_errid(), ER_ERROR_SEVERITY, ER_FAILED, ER_OBJ_INVALID_ARGUMENTS, ER_OUT_OF_VIRTUAL_MEMORY, er_set(), err, string_buffer::get_buffer(), sm_attribute::header, sm_method::header, i, sm_class::inheritance, is_class(), lang_get_collation_name(), LANG_SYS_COLLATION, string_buffer::len(), locator_is_class(), locator_is_root(), sm_class::method_count, method_files, sm_class::method_files, methods, sm_class::methods, MSGCAT_CATALOG_CUBRID, MSGCAT_HELP_CLASS_HEADER, MSGCAT_HELP_META_CLASS_HEADER, MSGCAT_HELP_VCLASS_HEADER, msgcat_message(), MSGCAT_SET_HELP, name, sm_component::next, db_objlist::next, sm_class_constraint::next, sm_query_spec::next, NO_ERROR, NULL, db_objlist::op, sm_attribute::order_link, sm_class::ordered_attributes, p, partition, sm_class::partition, sm_partition::partition_type, sm_partition::pname, PT_PARTITION_HASH, query_spec, sm_class::query_spec, resolutions, sm_class::resolutions, sm_class::shared, sm_class::shared_count, SHOW_CREATE_TABLE, sm_ch_name(), SM_CLASS_CT, sm_clean_class(), sm_get_ch_name(), SM_IS_CONSTRAINT_INDEX_FAMILY, SM_MAX_CLASS_COMMENT_LENGTH, SM_MAX_IDENTIFIER_LENGTH, SM_VCLASS_CT, sm_query_spec::specification, subs, supers, sm_class_constraint::type, sm_class::users, ws_list_length(), and ~class_description().
char** class_description::attributes |
Definition at line 58 of file class_description.hpp.
Referenced by csql_help_schema(), object_printer::describe_class(), help_print_obj(), init(), and ~class_description().
char** class_description::class_attributes |
Definition at line 59 of file class_description.hpp.
Referenced by csql_help_schema(), object_printer::describe_class(), help_print_obj(), init(), and ~class_description().
char** class_description::class_methods |
Definition at line 61 of file class_description.hpp.
Referenced by csql_help_schema(), object_printer::describe_class(), help_print_obj(), init(), and ~class_description().
char* class_description::class_type |
Definition at line 54 of file class_description.hpp.
Referenced by csql_help_schema(), help_print_obj(), init(), and ~class_description().
char* class_description::collation |
Definition at line 55 of file class_description.hpp.
Referenced by object_printer::describe_class(), init(), and ~class_description().
char* class_description::comment |
Definition at line 69 of file class_description.hpp.
Referenced by object_printer::describe_class(), init(), and ~class_description().
char** class_description::constraints |
Definition at line 67 of file class_description.hpp.
Referenced by csql_help_schema(), object_printer::describe_class(), init(), and ~class_description().
char** class_description::method_files |
Definition at line 63 of file class_description.hpp.
Referenced by csql_help_schema(), object_printer::describe_class(), help_print_obj(), init(), and ~class_description().
char** class_description::methods |
Definition at line 60 of file class_description.hpp.
Referenced by csql_help_schema(), object_printer::describe_class(), help_print_obj(), init(), and ~class_description().
char* class_description::name |
Definition at line 53 of file class_description.hpp.
Referenced by csql_help_schema(), object_printer::describe_class(), help_print_obj(), init(), and ~class_description().
char* class_description::object_id |
Definition at line 65 of file class_description.hpp.
Referenced by csql_help_schema(), and ~class_description().
std::vector<char *> class_description::partition |
Definition at line 68 of file class_description.hpp.
Referenced by csql_help_schema(), object_printer::describe_class(), init(), and ~class_description().
char** class_description::query_spec |
Definition at line 64 of file class_description.hpp.
Referenced by csql_help_schema(), help_print_obj(), init(), and ~class_description().
char** class_description::resolutions |
Definition at line 62 of file class_description.hpp.
Referenced by csql_help_schema(), object_printer::describe_class(), help_print_obj(), init(), and ~class_description().
char** class_description::subs |
Definition at line 57 of file class_description.hpp.
Referenced by csql_help_schema(), help_print_obj(), init(), and ~class_description().
char** class_description::supers |
Definition at line 56 of file class_description.hpp.
Referenced by csql_help_schema(), object_printer::describe_class(), help_print_obj(), init(), and ~class_description().
std::vector<char *> class_description::triggers |
Definition at line 66 of file class_description.hpp.
Referenced by csql_help_schema(), and help_print_obj().