23#ifndef DD__COLUMN_TYPE_ELEMENT_IMPL_INCLUDED
24#define DD__COLUMN_TYPE_ELEMENT_IMPL_INCLUDED
42class Open_dictionary_tables_ctx;
Definition: column_impl.h:61
Definition: column_type_element_impl.h:51
Column_type_element_impl(Column_impl *column)
Definition: column_type_element_impl.h:55
virtual uint ordinal_position() const
Definition: column_type_element_impl.h:78
void set_name(const String_type &name) override
Definition: column_type_element_impl.h:101
uint m_index
Definition: column_type_element_impl.h:125
Object_key * create_primary_key() const override
Definition: column_type_element_impl.cc:148
const String_type & name() const override
Definition: column_type_element_impl.h:99
void set_ordinal_position(uint ordinal_position)
Definition: column_type_element_impl.h:74
bool store_attributes(Raw_record *r) override
Definition: column_type_element_impl.cc:105
uint index() const override
Definition: column_type_element_impl.h:113
const Column & column() const override
Definition: column_type_element_impl.cc:66
~Column_type_element_impl() override=default
Column_type_element_impl()
Definition: column_type_element_impl.h:53
void debug_print(String_type &outb) const override
Definition: column_type_element_impl.cc:136
bool restore_attributes(const Raw_record &r) override
Definition: column_type_element_impl.cc:90
const Object_table & object_table() const override
Definition: column_type_element_impl.cc:167
static void register_tables(Open_dictionary_tables_ctx *otx)
Definition: column_type_element_impl.cc:173
Column_impl * m_column
Definition: column_type_element_impl.h:128
bool validate() const override
Definition: column_type_element_impl.cc:68
void serialize(Sdi_wcontext *wctx, Sdi_writer *w) const override
Converts *this into json.
Definition: column_type_element_impl.cc:116
static Column_type_element_impl * clone(const Column_type_element_impl &other, Column_impl *column)
Definition: column_type_element_impl.h:89
bool has_new_primary_key() const override
Indicates that object is guaranteed to have primary key value which doesn't exist in database (e....
Definition: column_type_element_impl.cc:152
static Column_type_element_impl * restore_item(Column_impl *column)
Definition: column_type_element_impl.h:85
String_type m_name
Definition: column_type_element_impl.h:124
bool deserialize(Sdi_rcontext *rctx, const RJ_Value &val) override
Re-establishes the state of *this by reading sdi information from the rapidjson DOM subobject provide...
Definition: column_type_element_impl.cc:127
Definition: column_type_element.h:43
Definition: object_key.h:37
This class represents all data dictionary table like mysql.tables, mysql.columns and more.
Definition: object_table.h:71
Auxiliary class for opening dictionary tables.
Definition: transaction_impl.h:75
Definition: raw_record.h:45
Opaque context which keeps reusable resoureces needed during deserialization.
Definition: sdi.cc:230
Opaque context which keeps reusable resources needed during serialization.
Definition: sdi.cc:128
Definition: weak_object_impl.h:47
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:42
RJ_Writer Sdi_writer
Alias for the rapidjson Writer type to use in serialization.
Definition: sdi_fwd.h:63
rapidjson::GenericValue< RJ_Encoding, RJ_Allocator > RJ_Value
Definition: sdi_fwd.h:48
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:50
const mysql_service_registry_t * r
Definition: pfs_example_plugin_employee.cc:85
This header provides Rapidjson Type Aliases.
unsigned int uint
Definition: uca9-dump.cc:74