24 #ifndef _EXECUTE_SCHEMA_H_ 25 #define _EXECUTE_SCHEMA_H_ 29 #if defined (SERVER_MODE) 30 #error Does not belong to server module 36 #define UNIQUE_PARTITION_SAVEPOINT_GRANT "pARTITIONgRANT" 37 #define UNIQUE_PARTITION_SAVEPOINT_REVOKE "pARTITIONrEVOKE" 38 #define UNIQUE_PARTITION_SAVEPOINT_RENAME "pARTITIONrENAME" 39 #define UNIQUE_PARTITION_SAVEPOINT_DROP "pARTITIONdROP" 40 #define UNIQUE_PARTITION_SAVEPOINT_OWNER "pARTITIONoWNER" 41 #define UNIQUE_PARTITION_SAVEPOINT_INDEX "pARTITIONiNDEX" 42 #define UNIQUE_PARTITION_SAVEPOINT_ALTER "pARTITIONaLTER" 43 #define PARTITION_CATALOG_CLASS "_db_partition" 44 #define PARTITION_VARCHAR_LEN (DB_MAX_IDENTIFIER_LENGTH) 45 #define CLASS_ATT_NAME "class_name" 46 #define CLASS_IS_PARTITION "partition_of" 48 #define CHECK_PARTITION_NONE 0x0000 49 #define CHECK_PARTITION_PARENT 0x0001 50 #define CHECK_PARTITION_SUBS 0x0010 103 const char *new_cls_name);
105 PT_NODE * alter,
const char *src_cls_name,
const char *new_cls_name);
int do_check_rows_for_null(MOP class_mop, const char *att_name, bool *has_nulls)
int do_is_partitioned_subclass(int *is_partitioned, const char *classname, char *keyattr)
int do_drop_partitioned_class(MOP class_, int drop_sub_flag, bool is_cascade_constraints)
int do_add_methods(PARSER_CONTEXT *parser, DB_CTMPL *ctemplate, PT_NODE *methods)
int do_add_queries(PARSER_CONTEXT *parser, DB_CTMPL *ctemplate, const PT_NODE *queries)
int do_get_partition_size(MOP class_)
int do_add_constraints(DB_CTMPL *ctemplate, PT_NODE *constraints)
int do_check_fk_constraints(DB_CTMPL *ctemplate, PT_NODE *constraints)
int do_add_supers(const PARSER_CONTEXT *parser, DB_CTMPL *ctemplate, const PT_NODE *supers)
CLIENT_UPDATE_CLASS_INFO * cls_info
int do_drop_partition_list(MOP class_, PT_NODE *name_list, DB_CTMPL *tmpl)
int do_get_partition_keycol(char *keycol, MOP class_)
CLIENT_UPDATE_INFO * first_assign
int do_add_resolutions(const PARSER_CONTEXT *parser, DB_CTMPL *ctemplate, const PT_NODE *resolution)
int do_rename_partition(MOP old_class, const char *newname)
int do_create_entity(PARSER_CONTEXT *parser, PT_NODE *node)
int do_check_partitioned_class(DB_OBJECT *classop, int check_map, char *keyattr)
int do_set_object_id(const PARSER_CONTEXT *parser, DB_CTMPL *ctemplate, PT_NODE *object_id_list)
int do_create_local(PARSER_CONTEXT *parser, DB_CTMPL *ctemplate, PT_NODE *pt_node, DB_QUERY_TYPE *create_select_columns)
int do_get_partition_parent(DB_OBJECT *const classop, MOP *const parentop)
int do_recreate_filter_index_constr(PARSER_CONTEXT *parser, SM_PREDICATE_INFO *filter_index_info, PT_NODE *alter, const char *src_cls_name, const char *new_cls_name)
int do_add_method_files(const PARSER_CONTEXT *parser, DB_CTMPL *ctemplate, PT_NODE *method_files)
int do_add_attributes(PARSER_CONTEXT *parser, DB_CTMPL *ctemplate, PT_NODE *atts, PT_NODE *constraints, DB_QUERY_TYPE *create_select_columns)
CLIENT_UPDATE_INFO * next
int do_recreate_func_index_constr(PARSER_CONTEXT *parser, SM_CONSTRAINT_INFO *constr, SM_FUNCTION_INFO *func_index_info, PT_NODE *alter, const char *src_cls_name, const char *new_cls_name)