|
drizzle
C++ MySQL-protocol-compatible database server
|
This class defines the information for foreign keys. More...
#include <table.h>
Public Member Functions | |
| ForeignKeyInfo (lex_string_t *in_foreign_id, lex_string_t *in_referenced_db, lex_string_t *in_referenced_table, lex_string_t *in_update_method, lex_string_t *in_delete_method, lex_string_t *in_referenced_key_name, List< lex_string_t > in_foreign_fields, List< lex_string_t > in_referenced_fields) | |
| This is the constructor with all properties set. | |
| ForeignKeyInfo () | |
| This is the default constructor. All properties are set to default values for their types. | |
| const lex_string_t * | getForeignId () const |
| Gets the foreign id. | |
| const lex_string_t * | getReferencedDb () const |
| Gets the name of the referenced database. | |
| const lex_string_t * | getReferencedTable () const |
| Gets the name of the referenced table. | |
| const lex_string_t * | getUpdateMethod () const |
| Gets the update method. | |
| const lex_string_t * | getDeleteMethod () const |
| Gets the delete method. | |
| const lex_string_t * | getReferencedKeyName () const |
| Gets the name of the referenced key. | |
| const List< lex_string_t > & | getForeignFields () const |
| Gets the foreign fields. | |
| const List< lex_string_t > & | getReferencedFields () const |
| Gets the referenced fields. | |
This class defines the information for foreign keys.
Definition at line 641 of file drizzled/table.h.
|
inline |
This is the constructor with all properties set.
| [in] | in_foreign_id | The id of the foreign key |
| [in] | in_referenced_db | The referenced database name of the foreign key |
| [in] | in_referenced_table | The referenced table name of the foreign key |
| [in] | in_update_method | The update method of the foreign key. |
| [in] | in_delete_method | The delete method of the foreign key. |
| [in] | in_referenced_key_name | The name of referenced key |
| [in] | in_foreign_fields | The foreign fields |
| [in] | in_referenced_fields | The referenced fields |
Definition at line 657 of file drizzled/table.h.
|
inline |
This is the default constructor. All properties are set to default values for their types.
Definition at line 680 of file drizzled/table.h.
|
inline |
|
inline |
Gets the foreign fields.
@ retval the foreign fields
Definition at line 757 of file drizzled/table.h.
|
inline |
|
inline |
Gets the name of the referenced database.
@ retval the name of the referenced database
Definition at line 702 of file drizzled/table.h.
|
inline |
Gets the referenced fields.
@ retval the referenced fields
Definition at line 768 of file drizzled/table.h.
|
inline |
Gets the name of the referenced key.
@ retval the name of the referenced key
Definition at line 746 of file drizzled/table.h.
|
inline |
Gets the name of the referenced table.
@ retval the name of the referenced table
Definition at line 713 of file drizzled/table.h.
|
inline |
|
private |
The delete method.
Definition at line 792 of file drizzled/table.h.
|
private |
The foreign fields.
Definition at line 800 of file drizzled/table.h.
|
private |
The foreign id.
Definition at line 776 of file drizzled/table.h.
|
private |
The name of the reference database.
Definition at line 780 of file drizzled/table.h.
|
private |
The referenced fields.
Definition at line 804 of file drizzled/table.h.
|
private |
The name of the referenced key.
Definition at line 796 of file drizzled/table.h.
|
private |
The name of the reference table.
Definition at line 784 of file drizzled/table.h.
|
private |
The update method.
Definition at line 788 of file drizzled/table.h.