24#ifndef DD__PARAMETER_IMPL_INCLUDED
25#define DD__PARAMETER_IMPL_INCLUDED
48class Open_dictionary_tables_ctx;
Definition: collection.h:44
size_t size() const
Definition: collection.h:229
Definition: entity_object_impl.h:44
void set_name(const String_type &name) override
Definition: entity_object_impl.h:62
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
This class represents all data dictionary table like mysql.tables, mysql.columns and more.
Definition: object_table.h:72
Auxiliary class for opening dictionary tables.
Definition: transaction_impl.h:76
Definition: parameter_impl.h:55
virtual void set_datetime_precision_null(bool is_null)
Definition: parameter_impl.h:212
void set_collation_id(Object_id collation_id) override
Definition: parameter_impl.h:226
static Parameter_impl * restore_item(Routine_impl *routine)
Definition: parameter_impl.h:281
void set_numeric_scale_null(bool is_null) override
Definition: parameter_impl.h:195
bool set_options(const String_type &options_raw) override
Definition: parameter_impl.h:238
bool m_is_name_null
Definition: parameter_impl.h:292
void set_zerofill(bool zerofill) override
Definition: parameter_impl.h:143
void set_numeric_precision(uint numeric_precision) override
Definition: parameter_impl.h:171
bool m_numeric_precision_null
Definition: parameter_impl.h:305
size_t m_char_length
Definition: parameter_impl.h:303
bool is_numeric_scale_null() const override
Definition: parameter_impl.h:199
const Entity_object_impl * impl() const override
Definition: parameter_impl.h:266
void set_name(const String_type &name) override
Definition: parameter_impl.h:276
bool m_is_unsigned
Definition: parameter_impl.h:300
size_t char_length() const override
Definition: parameter_impl.h:159
enum_column_types data_type() const override
Definition: parameter_impl.h:121
enum_column_types m_data_type
Definition: parameter_impl.h:296
Object_id collation_id() const override
Definition: parameter_impl.h:224
bool m_parameter_mode_null
Definition: parameter_impl.h:295
enum_parameter_mode mode() const override
Definition: parameter_impl.h:107
virtual bool is_numeric_precision_null() const
Definition: parameter_impl.h:180
uint m_numeric_scale
Definition: parameter_impl.h:306
void set_unsigned(bool unsigned_flag) override
Definition: parameter_impl.h:151
uint m_ordinal_position
Definition: parameter_impl.h:302
void set_mode(enum_parameter_mode mode) override
Definition: parameter_impl.h:109
bool restore_attributes(const Raw_record &r) override
Definition: parameter_impl.cc:161
bool is_name_null() const override
Definition: parameter_impl.h:95
void set_data_type_utf8(const String_type &data_type_utf8) override
Definition: parameter_impl.h:133
Parameter_type_element_collection m_elements
Definition: parameter_impl.h:311
void set_data_type(enum_column_types type) override
Definition: parameter_impl.h:123
bool m_numeric_scale_null
Definition: parameter_impl.h:307
Properties & options() override
Definition: parameter_impl.h:236
bool is_zerofill() const override
Definition: parameter_impl.h:141
Routine_impl * m_routine
Definition: parameter_impl.h:316
Parameter_impl()
Definition: parameter_impl.cc:58
bool m_is_zerofill
Definition: parameter_impl.h:299
Object_id id() const override
The unique dictionary object id.
Definition: parameter_impl.h:269
const String_type & name() const override
Definition: parameter_impl.h:273
const Routine & routine() const override
Definition: parameter_impl.cc:101
bool is_unsigned() const override
Definition: parameter_impl.h:149
Entity_object_impl * impl() override
Definition: parameter_impl.h:265
bool drop_children(Open_dictionary_tables_ctx *otx) const override
Definition: parameter_impl.cc:149
Object_id m_collation_id
Definition: parameter_impl.h:320
virtual void set_numeric_precision_null(bool is_null)
Definition: parameter_impl.h:176
Parameter_type_element * add_element() override
Definition: parameter_impl.cc:267
void set_numeric_scale(uint numeric_scale) override
Definition: parameter_impl.h:190
void set_name_null(bool is_null) override
Definition: parameter_impl.h:93
bool store_children(Open_dictionary_tables_ctx *otx) override
Definition: parameter_impl.cc:143
size_t elements_count() const override
Definition: parameter_impl.h:262
bool m_datetime_precision_null
Definition: parameter_impl.h:309
const Object_table & object_table() const override
Definition: parameter_impl.cc:306
virtual bool is_datetime_precision_null() const
Definition: parameter_impl.h:216
bool restore_children(Open_dictionary_tables_ctx *otx) override
Definition: parameter_impl.cc:126
void debug_print(String_type &outb) const override
Definition: parameter_impl.cc:221
uint m_numeric_precision
Definition: parameter_impl.h:304
uint ordinal_position() const override
Definition: parameter_impl.h:101
void set_char_length(size_t char_length) override
Definition: parameter_impl.h:161
Properties_impl m_options
Definition: parameter_impl.h:313
uint numeric_scale() const override
Definition: parameter_impl.h:188
enum_parameter_mode m_parameter_mode
Definition: parameter_impl.h:294
bool validate() const override
Definition: parameter_impl.cc:108
const Parameter_type_element_collection & elements() const override
Definition: parameter_impl.h:256
uint m_datetime_precision
Definition: parameter_impl.h:308
uint numeric_precision() const override
Definition: parameter_impl.h:169
String_type m_data_type_utf8
Definition: parameter_impl.h:297
const Properties & options() const override
Definition: parameter_impl.h:234
static void register_tables(Open_dictionary_tables_ctx *otx)
Definition: parameter_impl.cc:312
static Parameter_impl * clone(const Parameter_impl &other, Routine_impl *routine)
Definition: parameter_impl.h:285
bool store_attributes(Raw_record *r) override
Definition: parameter_impl.cc:196
const String_type & data_type_utf8() const override
Definition: parameter_impl.h:129
void set_parameter_mode_null(bool is_null) override
Definition: parameter_impl.h:111
uint datetime_precision() const override
Definition: parameter_impl.h:205
bool is_parameter_mode_null() const override
Definition: parameter_impl.h:115
~Parameter_impl() override=default
bool is_persistent() const override
Is dictionary object persistent in dictionary tables ?
Definition: parameter_impl.h:270
void set_datetime_precision(uint datetime_precision) override
Definition: parameter_impl.h:207
void set_ordinal_position(uint ordinal_position)
Definition: parameter_impl.h:82
Definition: parameter_type_element.h:43
Definition: parameter.h:45
enum_parameter_mode
Definition: parameter.h:56
The Properties_impl class implements the Properties interface.
Definition: properties_impl.h:77
bool insert_values(const Properties &properties) override
Insert key/value pairs from a different property object.
Definition: properties_impl.cc:104
The Properties class defines an interface for storing key=value pairs, where both key and value may b...
Definition: properties.h:74
Definition: raw_record.h:46
Definition: routine_impl.h:52
Abstract base class for functions and procedures.
Definition: routine.h:61
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 type
Definition: replication_group_member_actions.proto:34