24#ifndef DD__CHECK_CONSTRAINTS_INCLUDED 
   25#define DD__CHECK_CONSTRAINTS_INCLUDED 
   34class Check_constraint_impl;
 
   37class Check_constraints;
 
Definition: check_constraint_impl.h:51
 
Definition: check_constraint.h:42
 
virtual Table & table()=0
 
~Check_constraint() override=default
 
virtual void serialize(Sdi_wcontext *wctx, Sdi_writer *w) const =0
Converts *this into json.
 
virtual bool deserialize(Sdi_rcontext *rctx, const RJ_Value &val)=0
Re-establishes the state of *this by reading sdi information from the rapidjson DOM subobject provide...
 
virtual enum_constraint_state constraint_state() const =0
 
virtual void set_alias_name(const String_type &alias_name)=0
 
virtual bool is_alter_mode() const =0
 
virtual void set_constraint_state(bool is_enforced)=0
 
Check_constraint_impl Impl
Definition: check_constraint.h:44
 
virtual const Table & table() const =0
 
virtual void set_check_clause_utf8(const String_type &check_clause_utf8)=0
 
virtual void set_check_clause(const String_type &check_clause)=0
 
virtual const String_type & check_clause_utf8() const =0
 
enum_constraint_state
Definition: check_constraint.h:48
 
@ CS_ENFORCED
Definition: check_constraint.h:48
 
@ CS_NOT_ENFORCED
Definition: check_constraint.h:48
 
virtual const String_type & check_clause() const =0
 
virtual void set_alter_mode(bool alter_mode)=0
 
virtual const String_type & alias_name() const =0
 
tables::Check_constraints DD_table
Definition: check_constraint.h:45
 
Base class for dictionary objects which has single column integer primary key.
Definition: entity_object.h:48
 
Opaque context which keeps reusable resoureces needed during deserialization.
Definition: sdi.cc:231
 
Opaque context which keeps reusable resources needed during serialization.
Definition: sdi.cc:129
 
Definition: check_constraints.h:40
 
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
 
RJ_Writer Sdi_writer
Alias for the rapidjson Writer type to use in serialization.
Definition: sdi_fwd.h:64
 
rapidjson::GenericValue< RJ_Encoding, RJ_Allocator > RJ_Value
Definition: sdi_fwd.h:49
 
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51
 
entry::Table Table
Definition: select.h:51