MySQL 8.0.39
Source Code Documentation
|
#include <routine_impl.h>
Public Member Functions | |
Routine_impl () | |
~Routine_impl () override | |
const Object_table & | object_table () const override |
bool | validate () const override |
bool | restore_children (Open_dictionary_tables_ctx *otx) override |
bool | store_children (Open_dictionary_tables_ctx *otx) override |
bool | drop_children (Open_dictionary_tables_ctx *otx) 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 |
enum_routine_type | type () const override |
virtual void | set_type (enum_routine_type routine_type) |
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 |
const String_type & | parameter_str () const override |
void | set_parameter_str (const String_type ¶meter_str) override |
bool | is_deterministic () const override |
void | set_deterministic (bool deterministic) override |
enum_sql_data_access | sql_data_access () const override |
void | set_sql_data_access (enum_sql_data_access sda) override |
View::enum_security_type | security_type () const override |
void | set_security_type (View::enum_security_type security_type) override |
ulonglong | sql_mode () const override |
void | set_sql_mode (ulonglong sm) 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 |
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 |
const String_type & | comment () const override |
void | set_comment (const String_type &comment) override |
Parameter * | add_parameter () override |
const Parameter_collection & | parameters () const 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... | |
Public Member Functions inherited from dd::Routine | |
virtual bool | update_id_key (Id_key *key) const |
virtual bool | update_name_key (Name_key *key) const |
virtual bool | update_routine_name_key (Name_key *key, Object_id schema_id, const String_type &name) const =0 |
virtual bool | update_aux_key (Aux_key *) const |
~Routine () override=default | |
virtual Routine * | clone () const =0 |
Allocate a new object graph and invoke the copy constructor for each object. More... | |
virtual Routine * | clone_dropped_object_placeholder () const =0 |
Allocate a new object which can serve as a placeholder for the original object in the Dictionary_client's dropped registry. More... | |
Static Public Member Functions | |
static void | register_tables (Open_dictionary_tables_ctx *otx) |
Static Public Member Functions inherited from dd::Routine | |
static bool | update_id_key (Id_key *key, Object_id id) |
static void | create_mdl_key (enum_routine_type type, const String_type &schema_name, const String_type &name, MDL_key *key) |
static const CHARSET_INFO * | name_collation () |
Protected Member Functions | |
Routine_impl (const Routine_impl &src) | |
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 |
Additional Inherited Members | |
Public Types inherited from dd::Routine | |
enum | enum_routine_type { RT_FUNCTION = 1 , RT_PROCEDURE } |
enum | enum_sql_data_access { SDA_CONTAINS_SQL = 1 , SDA_NO_SQL , SDA_READS_SQL_DATA , SDA_MODIFIES_SQL_DATA } |
typedef Routine_impl | Impl |
typedef Routine | Cache_partition |
typedef tables::Routines | DD_table |
typedef Primary_id_key | Id_key |
typedef Routine_name_key | Name_key |
typedef Void_key | Aux_key |
typedef Collection< Parameter * > | Parameter_collection |
dd::Routine_impl::Routine_impl | ( | ) |
|
overridedefault |
|
protected |
|
overridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
overridevirtual |
Implements dd::Weak_object.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
overridevirtual |
Reimplemented from dd::Weak_object_impl_< use_pfs >.
|
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::Routine.
|
inlineoverridevirtual |
Is dictionary object persistent in dictionary tables ?
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Reimplemented from dd::Entity_object_impl.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
static |
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
overridevirtual |
Reimplemented from dd::Weak_object_impl_< use_pfs >.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Reimplemented from dd::Entity_object_impl.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlinevirtual |
|
inlineoverridevirtual |
Implements dd::Routine.
|
inlineoverridevirtual |
Implements dd::Routine.
|
overridevirtual |
Implements dd::Weak_object_impl_< use_pfs >.
|
overridevirtual |
Reimplemented from dd::Weak_object_impl_< use_pfs >.
|
inlineoverridevirtual |
Implements dd::Routine.
|
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 |