24#ifndef DD__FUNCTION_IMPL_INCLUDED
25#define DD__FUNCTION_IMPL_INCLUDED
47class Open_dictionary_tables_ctx;
349 placeholder->
set_id(
id());
Definition: collection.h:44
Definition: entity_object_impl.h:44
void set_name(const String_type &name) override
Definition: entity_object_impl.h:62
void set_id(Object_id id)
Definition: entity_object_impl.h:51
Object_id id() const override
The unique dictionary object id.
Definition: entity_object_impl.h:49
const String_type & name() const override
Definition: entity_object_impl.h:60
Entity_object_impl * impl() override
Definition: entity_object_impl.h:68
bool is_persistent() const override
Is dictionary object persistent in dictionary tables ?
Definition: entity_object_impl.h:57
Definition: function_impl.h:52
Entity_object_impl * impl() override
Definition: function_impl.h:208
const String_type & definer_user() const override
Definition: function_impl.h:268
enum_routine_type type() const override
Definition: function_impl.h:229
const String_type & definition() const override
Definition: function_impl.h:230
void set_result_data_type_null(bool is_null) override
Definition: function_impl.h:87
void debug_print(String_type &outb) const override
Definition: function_impl.cc:150
const Object_table & object_table() const override
Definition: function_impl.h:222
Function_impl * clone() const override
Allocate a new object graph and invoke the copy constructor for each object.
Definition: function_impl.h:343
void set_result_numeric_scale(uint result_numeric_scale) override
Definition: function_impl.h:161
virtual void set_result_datetime_precision_null(bool is_null)
Definition: function_impl.h:187
bool store_attributes(Raw_record *r) override
Definition: function_impl.cc:109
bool validate() const override
Definition: function_impl.cc:65
enum_column_types m_result_data_type
Definition: function_impl.h:323
bool m_result_numeric_precision_null
Definition: function_impl.h:330
const Entity_object_impl * impl() const override
Definition: function_impl.h:209
virtual bool is_result_numeric_precision_null() const
Definition: function_impl.h:151
void set_client_collation_id(Object_id client_collation_id) override
Definition: function_impl.h:281
void set_definition_utf8(const String_type &definition_utf8) override
Definition: function_impl.h:239
bool is_result_data_type_null() const override
Definition: function_impl.h:83
void set_sql_mode(ulonglong sm) override
Definition: function_impl.h:267
const String_type & comment() const override
Definition: function_impl.h:308
bool is_persistent() const override
Is dictionary object persistent in dictionary tables ?
Definition: function_impl.h:213
const String_type & result_data_type_utf8() const override
Definition: function_impl.h:95
bool m_result_datetime_precision_null
Definition: function_impl.h:332
bool update_name_key(Name_key *key) const override
Definition: function_impl.h:318
enum_sql_data_access sql_data_access() const override
Definition: function_impl.h:254
Object_id m_result_collation_id
Definition: function_impl.h:340
void set_created(ulonglong created) override
Definition: function_impl.h:299
void set_result_datetime_precision(uint result_datetime_precision) override
Definition: function_impl.h:182
View::enum_security_type security_type() const override
Definition: function_impl.h:260
const String_type & parameter_str() const override
Definition: function_impl.h:242
bool m_result_numeric_scale_null
Definition: function_impl.h:331
virtual void set_result_numeric_precision_null(bool is_null)
Definition: function_impl.h:147
Function_impl()
Definition: function_impl.cc:47
void set_result_numeric_scale_null(bool is_null) override
Definition: function_impl.h:166
uint m_result_numeric_precision
Definition: function_impl.h:334
size_t m_result_char_length
Definition: function_impl.h:338
void set_deterministic(bool deterministic) override
Definition: function_impl.h:251
uint result_numeric_scale() const override
Definition: function_impl.h:159
ulonglong created(bool convert_time) const override
Definition: function_impl.h:296
ulonglong last_altered(bool convert_time) const override
Definition: function_impl.h:302
const String_type & definition_utf8() const override
Definition: function_impl.h:236
void set_result_data_type_utf8(const String_type &result_data_type_utf8) override
Definition: function_impl.h:99
bool is_result_numeric_scale_null() const override
Definition: function_impl.h:170
size_t result_char_length() const override
Definition: function_impl.h:128
Object_id id() const override
The unique dictionary object id.
Definition: function_impl.h:212
void set_comment(const String_type &comment) override
Definition: function_impl.h:311
bool update_routine_name_key(Name_key *key, Object_id schema_id, const String_type &name) const override
Definition: function_impl.cc:134
bool m_result_data_type_null
Definition: function_impl.h:326
uint result_numeric_precision() const override
Definition: function_impl.h:138
const String_type & name() const override
Definition: function_impl.h:216
~Function_impl() override=default
enum_column_types result_data_type() const override
Definition: function_impl.h:75
void set_definition(const String_type &definition) override
Definition: function_impl.h:233
Parameter * add_parameter() override
Definition: function_impl.h:314
Object_id schema_id() const override
Definition: function_impl.h:225
bool result_is_zerofill() const override
Definition: function_impl.h:108
bool m_result_is_zerofill
Definition: function_impl.h:327
void set_connection_collation_id(Object_id connection_collation_id) override
Definition: function_impl.h:287
void set_definer(const String_type &username, const String_type &hostname) override
Definition: function_impl.h:274
void set_result_collation_id(Object_id result_collation_id) override
Definition: function_impl.h:203
void set_result_unsigned(bool unsigned_flag) override
Definition: function_impl.h:120
uint m_result_numeric_scale
Definition: function_impl.h:335
Function_impl * clone_dropped_object_placeholder() const override
Allocate a new object which can serve as a placeholder for the original object in the Dictionary_clie...
Definition: function_impl.h:347
Object_id result_collation_id() const override
Definition: function_impl.h:199
virtual bool is_result_datetime_precision_null() const
Definition: function_impl.h:191
void set_result_data_type(enum_column_types result_data_type) override
Definition: function_impl.h:79
ulonglong sql_mode() const override
Definition: function_impl.h:266
uint m_result_datetime_precision
Definition: function_impl.h:336
void set_result_numeric_precision(uint result_numeric_precision) override
Definition: function_impl.h:142
bool result_is_unsigned() const override
Definition: function_impl.h:118
void set_schema_id(Object_id schema_id) override
Definition: function_impl.h:226
uint result_datetime_precision() const override
Definition: function_impl.h:178
void set_last_altered(ulonglong last_altered) override
Definition: function_impl.h:305
void set_result_zerofill(bool zerofill) override
Definition: function_impl.h:110
void set_security_type(View::enum_security_type security_type) override
Definition: function_impl.h:263
Object_id connection_collation_id() const override
Definition: function_impl.h:284
void set_parameter_str(const String_type ¶meter_str) override
Definition: function_impl.h:245
void set_schema_collation_id(Object_id schema_collation_id) override
Definition: function_impl.h:293
Object_id client_collation_id() const override
Definition: function_impl.h:278
bool restore_attributes(const Raw_record &r) override
Definition: function_impl.cc:77
Object_id schema_collation_id() const override
Definition: function_impl.h:290
bool is_deterministic() const override
Definition: function_impl.h:248
void set_sql_data_access(enum_sql_data_access sda) override
Definition: function_impl.h:257
void set_result_char_length(size_t char_length) override
Definition: function_impl.h:130
bool m_result_is_unsigned
Definition: function_impl.h:328
const String_type & definer_host() const override
Definition: function_impl.h:271
String_type m_result_data_type_utf8
Definition: function_impl.h:324
const Parameter_collection & parameters() const override
Definition: function_impl.h:315
void set_name(const String_type &name) override
Definition: function_impl.h:219
Definition: function.h:39
bool update_name_key(Name_key *key) const override
Definition: function.h:43
This class represents all data dictionary table like mysql.tables, mysql.columns and more.
Definition: object_table.h:72
Definition: parameter.h:45
Definition: raw_record.h:46
Definition: routine_impl.h:52
void set_definer(const String_type &username, const String_type &hostname) override
Definition: routine_impl.h:174
bool is_deterministic() const override
Definition: routine_impl.h:128
Object_id schema_collation_id() const override
Definition: routine_impl.h:200
const Object_table & object_table() const override
Definition: routine_impl.cc:244
ulonglong created(bool convert_time) const override
Definition: routine_impl.h:212
void set_comment(const String_type &comment) override
Definition: routine_impl.h:237
void set_parameter_str(const String_type ¶meter_str) override
Definition: routine_impl.h:120
void set_sql_mode(ulonglong sm) override
Definition: routine_impl.h:164
ulonglong sql_mode() const override
Definition: routine_impl.h:162
const String_type & definer_host() const override
Definition: routine_impl.h:172
enum_sql_data_access sql_data_access() const override
Definition: routine_impl.h:138
Object_id client_collation_id() const override
Definition: routine_impl.h:184
void set_security_type(View::enum_security_type security_type) override
Definition: routine_impl.h:154
View::enum_security_type security_type() const override
Definition: routine_impl.h:150
const String_type & definer_user() const override
Definition: routine_impl.h:170
const String_type & parameter_str() const override
Definition: routine_impl.h:118
ulonglong last_altered(bool convert_time) const override
Definition: routine_impl.h:222
void set_schema_collation_id(Object_id schema_collation_id) override
Definition: routine_impl.h:204
void set_deterministic(bool deterministic) override
Definition: routine_impl.h:130
void set_definition(const String_type &definition) override
Definition: routine_impl.h:102
Object_id schema_id() const override
Definition: routine_impl.h:82
void set_definition_utf8(const String_type &definition_utf8) override
Definition: routine_impl.h:110
Object_id connection_collation_id() const override
Definition: routine_impl.h:192
void set_client_collation_id(Object_id client_collation_id) override
Definition: routine_impl.h:188
const String_type & definition_utf8() const override
Definition: routine_impl.h:106
void set_sql_data_access(enum_sql_data_access sda) override
Definition: routine_impl.h:142
void set_created(ulonglong created) override
Definition: routine_impl.h:216
const Parameter_collection & parameters() const override
Definition: routine_impl.h:245
enum_routine_type type() const override
Definition: routine_impl.h:90
Parameter * add_parameter() override
Definition: routine_impl.cc:236
void set_schema_id(Object_id schema_id) override
Definition: routine_impl.h:84
const String_type & definition() const override
Definition: routine_impl.h:100
void set_connection_collation_id(Object_id connection_collation_id) override
Definition: routine_impl.h:196
void set_last_altered(ulonglong last_altered) override
Definition: routine_impl.h:227
const String_type & comment() const override
Definition: routine_impl.h:235
Definition: object_keys.h:435
enum_sql_data_access
Definition: routine.h:90
enum_routine_type
Definition: routine.h:88
enum_security_type
Definition: view.h:58
Some integer typedefs for easier portability.
unsigned long long int ulonglong
Definition: my_inttypes.h:56
constexpr value_type zerofill
Definition: classic_protocol_constants.h:274
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
unsigned long long Object_id
Definition: object_id.h:31
enum_column_types
Definition: column.h:53
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51
const mysql_service_registry_t * r
Definition: pfs_example_plugin_employee.cc:86
required string key
Definition: replication_asynchronous_connection_failover.proto:60
unsigned int uint
Definition: uca9-dump.cc:75