MySQL 8.0.40
Source Code Documentation
|
#include <trigger_impl.h>
Public Member Functions | |
Trigger_impl () | |
Trigger_impl (Table_impl *table) | |
Trigger_impl (const Trigger_impl &src, Table_impl *parent) | |
const Object_table & | object_table () const override |
bool | validate () const override |
bool | restore_attributes (const Raw_record &r) override |
bool | store_attributes (Raw_record *r) override |
void | debug_print (String_type &outb) const override |
void | set_ordinal_position (uint ordinal_position) |
uint | ordinal_position () const |
virtual const Table & | table () const |
virtual Table & | table () |
void | set_table (Table_impl *parent) |
const Table_impl & | table_impl () const |
Table_impl & | table_impl () |
Object_id | schema_id () const override |
enum_event_type | event_type () const override |
void | set_event_type (enum_event_type event_type) override |
Object_id | table_id () const override |
enum_action_timing | action_timing () const override |
void | set_action_timing (enum_action_timing action_timing) override |
uint | action_order () const override |
void | set_action_order (uint action_order) override |
const String_type & | action_statement () const override |
void | set_action_statement (const String_type &action_statement) override |
const String_type & | action_statement_utf8 () const override |
void | set_action_statement_utf8 (const String_type &action_statement_utf8) override |
my_timeval | created () const override |
void | set_created (my_timeval created) override |
my_timeval | last_altered () const override |
void | set_last_altered (my_timeval last_altered) override |
ulonglong | sql_mode () const override |
void | set_sql_mode (ulonglong sql_mode) override |
const String_type & | definer_user () const override |
const String_type & | definer_host () const override |
void | set_definer (const String_type &username, const String_type &hostname) override |
Object_id | client_collation_id () const override |
void | set_client_collation_id (Object_id client_collation_id) override |
Object_id | connection_collation_id () const override |
void | set_connection_collation_id (Object_id connection_collation_id) override |
Object_id | schema_collation_id () const override |
void | set_schema_collation_id (Object_id schema_collation_id) override |
Entity_object_impl * | impl () override |
const Entity_object_impl * | impl () const override |
Object_id | id () const override |
The unique dictionary object id. More... | |
bool | is_persistent () const override |
Is dictionary object persistent in dictionary tables ? More... | |
const String_type & | name () const override |
void | set_name (const String_type &name) override |
Public Member Functions inherited from dd::Entity_object_impl | |
Entity_object_impl () | |
void | set_id (Object_id id) |
Object_key * | create_primary_key () const override |
bool | has_new_primary_key () const override |
Indicates that object is guaranteed to have primary key value which doesn't exist in database (e.g. More... | |
Public Member Functions inherited from dd::Weak_object | |
Weak_object ()=default | |
Weak_object (const Weak_object &)=default | |
virtual | ~Weak_object ()=default |
Public Member Functions inherited from dd::Weak_object_impl_< use_pfs > | |
Weak_object_impl_ ()=default | |
~Weak_object_impl_ () override=default | |
void * | operator new (size_t size, const std::nothrow_t &nt) noexcept |
void | operator delete (void *ptr, const std::nothrow_t &nt) noexcept |
void * | operator new (size_t size) noexcept |
void | operator delete (void *ptr) noexcept |
virtual bool | store (Open_dictionary_tables_ctx *otx) |
Store the DD object into DD table. More... | |
bool | drop (Open_dictionary_tables_ctx *otx) const |
Drop the DD object from DD table. More... | |
virtual bool | restore_children (Open_dictionary_tables_ctx *) |
virtual bool | store_children (Open_dictionary_tables_ctx *) |
virtual bool | drop_children (Open_dictionary_tables_ctx *) const |
Public Member Functions inherited from dd::Trigger | |
~Trigger () override=default | |
virtual void | set_event_type (enum_event_type event_type)=0 |
Static Public Member Functions | |
static void | register_tables (Open_dictionary_tables_ctx *otx) |
static Trigger_impl * | restore_item (Table_impl *table) |
static Trigger_impl * | clone (const Trigger_impl &other, Table_impl *table) |
Static Public Member Functions inherited from dd::Trigger | |
static void | create_mdl_key (const String_type &schema_name, const String_type &name, MDL_key *key) |
static const CHARSET_INFO * | name_collation () |
Additional Inherited Members | |
Public Types inherited from dd::Trigger | |
enum class | enum_event_type { ET_INSERT = 1 , ET_UPDATE , ET_DELETE } |
enum class | enum_action_timing { AT_BEFORE = 1 , AT_AFTER } |
typedef Trigger_impl | Impl |
typedef tables::Triggers | DD_table |
Protected Member Functions inherited from dd::Entity_object_impl | |
void | set_primary_key_value (const Raw_new_record &r) override |
void | fix_has_new_primary_key () override |
void | restore_id (const Raw_record &r, int field_idx) |
void | restore_name (const Raw_record &r, int field_idx) |
bool | store_id (Raw_record *r, int field_idx) |
bool | store_name (Raw_record *r, int field_idx) |
bool | store_name (Raw_record *r, int field_idx, bool is_null) |
void | serialize (Sdi_wcontext *wctx, Sdi_writer *w) const |
bool | deserialize (Sdi_rcontext *rctx, const RJ_Value &val) |
Entity_object_impl (const Entity_object_impl &src) | |
Protected Member Functions inherited from dd::Weak_object_impl_< use_pfs > | |
bool | check_parent_consistency (Entity_object_impl *parent, Object_id parent_id) const |
dd::Trigger_impl::Trigger_impl | ( | ) |
dd::Trigger_impl::Trigger_impl | ( | Table_impl * | table | ) |
dd::Trigger_impl::Trigger_impl | ( | const Trigger_impl & | src, |
Table_impl * | parent | ||
) |
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlinestatic |
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlineoverridevirtual |
Implements dd::Trigger.
|
overridevirtual |
Implements dd::Weak_object.
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlineoverridevirtual |
The unique dictionary object id.
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Is dictionary object persistent in dictionary tables ?
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlineoverridevirtual |
Reimplemented from dd::Entity_object_impl.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
inline |
|
static |
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
inlinestatic |
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlineoverride |
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlineoverridevirtual |
Reimplemented from dd::Entity_object_impl.
|
inline |
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inline |
|
inlineoverridevirtual |
Implements dd::Trigger.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
virtual |
|
virtual |
|
inlineoverridevirtual |
Implements dd::Trigger.
|
inline |
|
inline |
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |