Skip to content

Class cubschema::class_truncate_context

ClassList > cubschema > class_truncate_context

Public Types

Type Name
typedef std::function< bool(const SM_CLASS_CONSTRAINT &)> cons_predicate
typedef std::function< bool(const SM_CONSTRAINT_INFO &)> saved_cons_predicate

Public Functions

Type Name
class_truncate_context (const OID & class_oid)
class_truncate_context (class_truncate_context && other)
class_truncate_context (const class_truncate_context & other) = delete
int drop_saved_constraints (saved_cons_predicate pred=nullptr)
class_truncate_context & operator= (const class_truncate_context & other) = delete
class_truncate_context & operator= (const class_truncate_context && other) = delete
int reset_serials ()
int restore_constraints (saved_cons_predicate pred=nullptr)
int save_constraints_or_clear (cons_predicate pred=nullptr)
int truncate_heap ()
~class_truncate_context ()

Public Types Documentation

typedef cons_predicate

using cubschema::class_truncate_context::cons_predicate =  std::function<bool (const SM_CLASS_CONSTRAINT &)>;

typedef saved_cons_predicate

using cubschema::class_truncate_context::saved_cons_predicate =  std::function<bool (const SM_CONSTRAINT_INFO &)>;

Public Functions Documentation

function class_truncate_context [1/3]

cubschema::class_truncate_context::class_truncate_context (
    const  OID & class_oid
) 

function class_truncate_context [2/3]

cubschema::class_truncate_context::class_truncate_context (
    class_truncate_context && other
) 

function class_truncate_context [3/3]

cubschema::class_truncate_context::class_truncate_context (
    const  class_truncate_context & other
) = delete

function drop_saved_constraints

int cubschema::class_truncate_context::drop_saved_constraints (
    saved_cons_predicate pred=nullptr
) 

function operator=

class_truncate_context & cubschema::class_truncate_context::operator= (
    const  class_truncate_context & other
) = delete

function operator=

class_truncate_context & cubschema::class_truncate_context::operator= (
    const  class_truncate_context && other
) = delete

function reset_serials

int cubschema::class_truncate_context::reset_serials () 

function restore_constraints

int cubschema::class_truncate_context::restore_constraints (
    saved_cons_predicate pred=nullptr
) 

function save_constraints_or_clear

int cubschema::class_truncate_context::save_constraints_or_clear (
    cons_predicate pred=nullptr
) 

function truncate_heap

int cubschema::class_truncate_context::truncate_heap () 

function ~class_truncate_context

cubschema::class_truncate_context::~class_truncate_context () 


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