23#ifndef DD__COLLATION_IMPL_INCLUDED
24#define DD__COLLATION_IMPL_INCLUDED
42class Open_dictionary_tables_ctx;
124 "COLLATION OBJECT: id= {OID: %lld}, name= %s,"
125 "charset_id= {OID: %lld}, is_compiled= %d, sort_length= %u",
Definition: collation_impl.h:46
void set_charset_id(Object_id charset_id) override
Definition: collation_impl.h:71
uint sort_length() const override
Definition: collation_impl.h:89
const String_type & name() const override
Definition: collation_impl.h:113
Entity_object_impl * impl() override
Definition: collation_impl.h:105
bool store_attributes(Raw_record *r) override
Definition: collation_impl.cc:82
Object_id id() const override
The unique dictionary object id.
Definition: collation_impl.h:109
Collation * clone() const override
Allocate a new object and invoke the copy constructor.
Definition: collation_impl.h:139
Collation * 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: collation_impl.h:141
bool restore_attributes(const Raw_record &r) override
Definition: collation_impl.cc:54
virtual void set_is_compiled(bool is_compiled)
Definition: collation_impl.h:81
virtual void set_pad_attribute(enum_pad_attribute pad_attribute)
Definition: collation_impl.h:99
virtual void set_sort_length(uint sort_length)
Definition: collation_impl.h:91
static void register_tables(Open_dictionary_tables_ctx *otx)
Definition: collation_impl.cc:126
bool validate() const override
Definition: collation_impl.cc:42
bool is_compiled() const override
Definition: collation_impl.h:79
uint m_sort_length
Definition: collation_impl.h:133
Collation_impl()
Definition: collation_impl.h:48
Object_id m_charset_id
Definition: collation_impl.h:137
enum_pad_attribute m_pad_attribute
Definition: collation_impl.h:134
Object_id charset_id() const override
Definition: collation_impl.h:69
void debug_print(String_type &outb) const override
Definition: collation_impl.h:121
const Object_table & object_table() const override
Definition: collation_impl.cc:120
const Entity_object_impl * impl() const override
Definition: collation_impl.h:106
void set_name(const String_type &name) override
Definition: collation_impl.h:116
bool m_is_compiled
Definition: collation_impl.h:132
bool is_persistent() const override
Is dictionary object persistent in dictionary tables ?
Definition: collation_impl.h:110
Definition: collation.h:45
enum_pad_attribute
Definition: collation.h:58
@ PA_UNDEFINED
Definition: collation.h:58
Definition: entity_object_impl.h:43
void set_name(const String_type &name) override
Definition: entity_object_impl.h:61
Object_id id() const override
The unique dictionary object id.
Definition: entity_object_impl.h:48
const String_type & name() const override
Definition: entity_object_impl.h:59
Entity_object_impl * impl() override
Definition: entity_object_impl.h:67
bool is_persistent() const override
Is dictionary object persistent in dictionary tables ?
Definition: entity_object_impl.h:56
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
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:42
unsigned long long Object_id
Definition: object_id.h:30
const Object_id INVALID_OBJECT_ID
The default object ID which represents that the DD object is new and not persistent in dictionary tab...
Definition: object_id.h:36
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
unsigned int uint
Definition: uca9-dump.cc:74