24#ifndef DD__EVENT_INCLUDED
25#define DD__EVENT_INCLUDED
A facade to the functionality of the Event Scheduler.
Definition: events.h:96
Base class for dictionary objects which has single column integer primary key.
Definition: entity_object.h:48
virtual const String_type & name() const =0
Definition: event_impl.h:48
enum_event_status
Definition: event.h:97
@ ES_DISABLED
Definition: event.h:99
@ ES_REPLICA_SIDE_DISABLED
Definition: event.h:100
@ ES_ENABLED
Definition: event.h:98
virtual void set_definition_utf8(const String_type &definition_utf8)=0
virtual void set_comment(const String_type &comment)=0
virtual my_time_t execute_at() const =0
virtual const String_type & definition() const =0
virtual void set_connection_collation_id(Object_id connection_collation_id)=0
~Event() override=default
virtual void set_execute_at_null(bool is_null)=0
virtual const String_type & definer_host() const =0
virtual Event * clone_dropped_object_placeholder() const =0
Allocate a new object which can serve as a placeholder for the original object in the Dictionary_clie...
Void_key Aux_key
Definition: event.h:55
virtual bool update_aux_key(Aux_key *) const
Definition: event.h:71
tables::Events DD_table
Definition: event.h:52
virtual void set_event_status_null(bool is_null)=0
virtual bool is_execute_at_null() const =0
virtual bool is_interval_value_null() const =0
virtual bool is_starts_null() const =0
virtual bool is_ends_null() const =0
Event_impl Impl
Definition: event.h:50
virtual void set_originator(ulonglong originator)=0
virtual void set_starts_null(bool is_null)=0
virtual Event * clone() const =0
Allocate a new object graph and invoke the copy constructor for each object.
virtual const String_type & comment() const =0
virtual uint interval_value() const =0
virtual ulonglong last_altered(bool convert_time) const =0
virtual enum_on_completion on_completion() const =0
virtual bool is_event_status_null() const =0
virtual const String_type & definer_user() const =0
virtual void set_definer(const String_type &username, const String_type &hostname)=0
virtual void set_starts(my_time_t starts)=0
virtual bool is_interval_field_null() const =0
virtual void set_client_collation_id(Object_id client_collation_id)=0
virtual ulonglong originator() const =0
Item_name_key Name_key
Definition: event.h:54
virtual void set_schema_collation_id(Object_id schema_collation_id)=0
virtual void set_sql_mode(ulonglong sm)=0
virtual void set_interval_value_null(bool is_null)=0
virtual my_time_t starts() const =0
virtual void set_last_executed_null(bool is_null)=0
enum_interval_field
Definition: event.h:74
@ IF_SECOND
Definition: event.h:82
@ IF_HOUR_MINUTE
Definition: event.h:88
@ IF_HOUR_SECOND
Definition: event.h:89
@ IF_MINUTE_MICROSECOND
Definition: event.h:93
@ IF_MINUTE_SECOND
Definition: event.h:90
@ IF_QUARTER
Definition: event.h:76
@ IF_HOUR_MICROSECOND
Definition: event.h:92
@ IF_HOUR
Definition: event.h:79
@ IF_MONTH
Definition: event.h:77
@ IF_DAY_SECOND
Definition: event.h:87
@ IF_WEEK
Definition: event.h:81
@ IF_DAY_MICROSECOND
Definition: event.h:91
@ IF_YEAR
Definition: event.h:75
@ IF_DAY_HOUR
Definition: event.h:85
@ IF_MINUTE
Definition: event.h:80
@ IF_SECOND_MICROSECOND
Definition: event.h:94
@ IF_DAY_MINUTE
Definition: event.h:86
@ IF_MICROSECOND
Definition: event.h:83
@ IF_YEAR_MONTH
Definition: event.h:84
@ IF_DAY
Definition: event.h:78
virtual Object_id schema_collation_id() const =0
virtual bool update_id_key(Id_key *key) const
Definition: event.h:58
virtual void set_ends(my_time_t ends)=0
virtual const String_type & definition_utf8() const =0
virtual bool update_name_key(Name_key *key) const
Definition: event.h:64
static void create_mdl_key(const String_type &schema_name, const String_type &name, MDL_key *key)
Definition: event_impl.cc:298
virtual void set_last_executed(my_time_t last_executed)=0
virtual void set_created(ulonglong created)=0
virtual Object_id client_collation_id() const =0
virtual void set_schema_id(Object_id schema_id)=0
virtual enum_interval_field interval_field() const =0
virtual Object_id schema_id() const =0
virtual enum_event_status event_status() const =0
virtual ulonglong sql_mode() const =0
virtual void set_interval_field(enum_interval_field interval_field)=0
virtual void set_time_zone(const String_type &time_zone)=0
Primary_id_key Id_key
Definition: event.h:53
virtual my_time_t last_executed() const =0
enum_on_completion
Definition: event.h:103
@ OC_DROP
Definition: event.h:103
@ OC_PRESERVE
Definition: event.h:103
virtual void set_event_status(enum_event_status event_status)=0
virtual void set_ends_null(bool is_null)=0
virtual void set_execute_at(my_time_t execute_at)=0
virtual const String_type & time_zone() const =0
virtual void set_interval_field_null(bool is_null)=0
virtual void set_interval_value(uint interval_value)=0
virtual my_time_t ends() const =0
virtual void set_last_altered(ulonglong last_altered)=0
Event Cache_partition
Definition: event.h:51
virtual Object_id connection_collation_id() const =0
virtual bool is_last_executed_null() const =0
virtual ulonglong created(bool convert_time) const =0
virtual void set_definition(const String_type &definition)=0
virtual void set_on_completion(enum_on_completion on_completion)=0
Definition: object_keys.h:166
Definition: object_keys.h:77
Definition: object_keys.h:54
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:56
int64_t my_time_t
Portable time_t replacement.
Definition: my_time_t.h:32
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
unsigned long long Object_id
Definition: object_id.h:31
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51
required string key
Definition: replication_asynchronous_connection_failover.proto:60
Metadata lock object key.
Definition: mdl.h:365