#include <foreign_key.h>
◆ DD_table
◆ Foreign_key_elements
◆ Impl
◆ enum_match_option
Enumerator |
---|
OPTION_NONE | |
OPTION_PARTIAL | |
OPTION_FULL | |
◆ enum_rule
Enumerator |
---|
RULE_NO_ACTION | |
RULE_RESTRICT | |
RULE_CASCADE | |
RULE_SET_NULL | |
RULE_SET_DEFAULT | |
◆ ~Foreign_key()
dd::Foreign_key::~Foreign_key |
( |
| ) |
|
|
overridedefault |
◆ add_element()
◆ delete_rule()
virtual enum_rule dd::Foreign_key::delete_rule |
( |
| ) |
const |
|
pure virtual |
◆ deserialize()
Re-establishes the state of *this by reading sdi information from the rapidjson DOM subobject provided.
Cross-references encountered within this object are tracked in sdictx, so that they can be updated when the entire object graph has been established.
- Parameters
-
rctx | stores book-keeping information for the deserialization process |
val | subobject of rapidjson DOM containing json representation of this object |
- Return values
-
Implemented in dd::Foreign_key_impl.
◆ elements() [1/2]
◆ elements() [2/2]
◆ match_option()
◆ referenced_table_catalog_name()
virtual const String_type & dd::Foreign_key::referenced_table_catalog_name |
( |
| ) |
const |
|
pure virtual |
◆ referenced_table_name()
virtual const String_type & dd::Foreign_key::referenced_table_name |
( |
| ) |
const |
|
pure virtual |
◆ referenced_table_schema_name()
virtual const String_type & dd::Foreign_key::referenced_table_schema_name |
( |
| ) |
const |
|
pure virtual |
◆ serialize()
Converts *this into json.
Converts all member variables that are to be included in the sdi into json by transforming them appropriately and passing them to the rapidjson writer provided.
- Parameters
-
wctx | opaque context for data needed by serialization |
w | rapidjson writer which will perform conversion to json |
Implemented in dd::Foreign_key_impl.
◆ set_delete_rule()
virtual void dd::Foreign_key::set_delete_rule |
( |
enum_rule |
delete_rule | ) |
|
|
pure virtual |
◆ set_match_option()
◆ set_referenced_table_catalog_name()
virtual void dd::Foreign_key::set_referenced_table_catalog_name |
( |
const String_type & |
name | ) |
|
|
pure virtual |
◆ set_referenced_table_name()
virtual void dd::Foreign_key::set_referenced_table_name |
( |
const String_type & |
name | ) |
|
|
pure virtual |
◆ set_referenced_table_schema_name()
virtual void dd::Foreign_key::set_referenced_table_schema_name |
( |
const String_type & |
name | ) |
|
|
pure virtual |
◆ set_unique_constraint_name()
virtual void dd::Foreign_key::set_unique_constraint_name |
( |
const String_type & |
name | ) |
|
|
pure virtual |
◆ set_update_rule()
virtual void dd::Foreign_key::set_update_rule |
( |
enum_rule |
update_rule | ) |
|
|
pure virtual |
◆ table() [1/2]
virtual const Table & dd::Foreign_key::table |
( |
| ) |
const |
|
pure virtual |
◆ table() [2/2]
virtual Table & dd::Foreign_key::table |
( |
| ) |
|
|
pure virtual |
◆ unique_constraint_name()
virtual const String_type & dd::Foreign_key::unique_constraint_name |
( |
| ) |
const |
|
pure virtual |
◆ update_rule()
virtual enum_rule dd::Foreign_key::update_rule |
( |
| ) |
const |
|
pure virtual |
The documentation for this class was generated from the following file: