24#ifndef DD__INDEX_ELEMENT_IMPL_INCLUDED
25#define DD__INDEX_ELEMENT_IMPL_INCLUDED
46class Open_dictionary_tables_ctx;
Kerberos Client Authentication nullptr
Definition: auth_kerberos_client_plugin.cc:251
Definition: index_element_impl.h:54
bool m_hidden
Definition: index_element_impl.h:171
bool store_attributes(Raw_record *r) override
Definition: index_element_impl.cc:101
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: index_element_impl.cc:134
Column & column() override
Definition: index_element_impl.h:111
uint ordinal_position() const override
Definition: index_element_impl.h:117
void set_length(uint length) override
Definition: index_element_impl.h:125
static void register_tables(Open_dictionary_tables_ctx *otx)
Definition: index_element_impl.cc:223
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: index_element_impl.cc:167
Index_impl * m_index
Definition: index_element_impl.h:174
uint m_length
Definition: index_element_impl.h:167
const Index & index() const override
Definition: index_element_impl.h:101
Index & index() override
Definition: index_element_impl.h:103
bool is_hidden() const override
Definition: index_element_impl.h:135
void set_ordinal_position(uint ordinal_position)
Definition: index_element_impl.h:90
bool restore_attributes(const Raw_record &r) override
Definition: index_element_impl.cc:77
void set_order(enum_index_element_order order) override
Definition: index_element_impl.h:145
void set_length_null(bool) override
Definition: index_element_impl.h:127
uint length() const override
Definition: index_element_impl.h:123
Index_element_impl(Index_impl *index, Column *column)
Definition: index_element_impl.h:64
void serialize(Sdi_wcontext *wctx, Sdi_writer *w) const override
Converts *this into json.
Definition: index_element_impl.cc:122
Column * m_column
Definition: index_element_impl.h:175
static Index_element_impl * restore_item(Index_impl *index)
Definition: index_element_impl.h:150
enum_index_element_order m_order
Definition: index_element_impl.h:169
uint m_ordinal_position
Definition: index_element_impl.h:166
bool is_length_null() const override
Definition: index_element_impl.h:129
bool validate() const override
Definition: index_element_impl.cc:65
Object_key * create_primary_key() const override
Definition: index_element_impl.cc:162
void debug_print(String_type &outb) const override
Definition: index_element_impl.cc:145
~Index_element_impl() override=default
const Object_table & object_table() const override
Definition: index_element_impl.cc:217
Index_element_impl()
Definition: index_element_impl.h:56
enum_index_element_order order() const override
Definition: index_element_impl.h:143
static Index_element_impl * clone(const Index_element_impl &other, Index_impl *index)
Definition: index_element_impl.cc:196
bool is_prefix() const override
Check if index element represents prefix key part on the column.
Definition: index_element_impl.cc:180
void set_hidden(bool hidden) override
Definition: index_element_impl.h:137
const Column & column() const override
Definition: index_element_impl.h:109
Definition: index_element.h:46
enum_index_element_order
Definition: index_element.h:52
@ ORDER_ASC
Definition: index_element.h:52
Definition: index_impl.h:59
Definition: object_key.h:38
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: raw_record.h:46
Opaque context which keeps reusable resoureces needed during deserialization.
Definition: sdi.cc:231
Opaque context which keeps reusable resources needed during serialization.
Definition: sdi.cc:129
Definition: weak_object_impl.h:48
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
RJ_Writer Sdi_writer
Alias for the rapidjson Writer type to use in serialization.
Definition: sdi_fwd.h:64
rapidjson::GenericValue< RJ_Encoding, RJ_Allocator > RJ_Value
Definition: sdi_fwd.h:49
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
This header provides Rapidjson Type Aliases.