MySQL 8.0.39
Source Code Documentation
|
#include <event_impl.h>
Public Member Functions | |
Event_impl () | |
Event_impl (const Event_impl &) | |
~Event_impl () override=default | |
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 |
Object_id | schema_id () const override |
void | set_schema_id (Object_id schema_id) 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 |
const String_type & | time_zone () const override |
void | set_time_zone (const String_type &time_zone) override |
const String_type & | definition () const override |
void | set_definition (const String_type &definition) override |
const String_type & | definition_utf8 () const override |
void | set_definition_utf8 (const String_type &definition_utf8) override |
my_time_t | execute_at () const override |
void | set_execute_at (my_time_t execute_at) override |
void | set_execute_at_null (bool is_null) override |
bool | is_execute_at_null () const override |
uint | interval_value () const override |
void | set_interval_value (uint interval_value) override |
void | set_interval_value_null (bool is_null) override |
bool | is_interval_value_null () const override |
enum_interval_field | interval_field () const override |
void | set_interval_field (enum_interval_field interval_field) override |
void | set_interval_field_null (bool is_null) override |
bool | is_interval_field_null () const override |
ulonglong | sql_mode () const override |
void | set_sql_mode (ulonglong sm) override |
my_time_t | starts () const override |
void | set_starts (my_time_t starts) override |
void | set_starts_null (bool is_null) override |
bool | is_starts_null () const override |
my_time_t | ends () const override |
void | set_ends (my_time_t ends) override |
void | set_ends_null (bool is_null) override |
bool | is_ends_null () const override |
enum_event_status | event_status () const override |
void | set_event_status (enum_event_status event_status) override |
void | set_event_status_null (bool is_null) override |
bool | is_event_status_null () const override |
enum_on_completion | on_completion () const override |
void | set_on_completion (enum_on_completion on_completion) override |
ulonglong | created (bool convert_time) const override |
void | set_created (ulonglong created) override |
ulonglong | last_altered (bool convert_time) const override |
void | set_last_altered (ulonglong last_altered) override |
my_time_t | last_executed () const override |
void | set_last_executed (my_time_t last_executed) override |
void | set_last_executed_null (bool is_null) override |
bool | is_last_executed_null () const override |
const String_type & | comment () const override |
void | set_comment (const String_type &comment) override |
ulonglong | originator () const override |
void | set_originator (ulonglong originator) 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::Event | |
virtual bool | update_id_key (Id_key *key) const |
virtual bool | update_name_key (Name_key *key) const |
virtual bool | update_aux_key (Aux_key *) const |
~Event () override=default | |
Static Public Member Functions | |
static void | register_tables (Open_dictionary_tables_ctx *otx) |
Static Public Member Functions inherited from dd::Event | |
static bool | update_id_key (Id_key *key, Object_id id) |
static bool | update_name_key (Name_key *key, Object_id schema_id, const String_type &name) |
static void | create_mdl_key (const String_type &schema_name, const String_type &name, MDL_key *key) |
Private Member Functions | |
Event * | clone () const override |
Allocate a new object graph and invoke the copy constructor for each object. More... | |
Event * | clone_dropped_object_placeholder () const override |
Allocate a new object which can serve as a placeholder for the original object in the Dictionary_client's dropped registry. More... | |
dd::Event_impl::Event_impl | ( | ) |
dd::Event_impl::Event_impl | ( | const Event_impl & | src | ) |
|
overridedefault |
|
inlineoverrideprivatevirtual |
Allocate a new object graph and invoke the copy constructor for each object.
Only used in unit testing.
Implements dd::Event.
|
inlineoverrideprivatevirtual |
Allocate a new object which can serve as a placeholder for the original object in the Dictionary_client's dropped registry.
Such object has the same keys as the original but has no other info and as result occupies less memory.
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
overridevirtual |
Implements dd::Weak_object.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
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 |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Is dictionary object persistent in dictionary tables ?
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Reimplemented from dd::Entity_object_impl.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
inlineoverridevirtual |
Implements dd::Event.
|
static |
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
inlineoverridevirtual |
Implements dd::Event.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
inlineoverridevirtual |
Implements dd::Event.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |