24#ifndef DD__COLLATION_IMPL_INCLUDED
25#define DD__COLLATION_IMPL_INCLUDED
43class Open_dictionary_tables_ctx;
125 "COLLATION OBJECT: id= {OID: %lld}, name= %s,"
126 "charset_id= {OID: %lld}, is_compiled= %d, sort_length= %u",
Definition: collation_impl.h:47
void set_charset_id(Object_id charset_id) override
Definition: collation_impl.h:72
uint sort_length() const override
Definition: collation_impl.h:90
const String_type & name() const override
Definition: collation_impl.h:114
Entity_object_impl * impl() override
Definition: collation_impl.h:106
bool store_attributes(Raw_record *r) override
Definition: collation_impl.cc:83
Object_id id() const override
The unique dictionary object id.
Definition: collation_impl.h:110
Collation * clone() const override
Allocate a new object and invoke the copy constructor.
Definition: collation_impl.h:140
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:142
bool restore_attributes(const Raw_record &r) override
Definition: collation_impl.cc:55
virtual void set_is_compiled(bool is_compiled)
Definition: collation_impl.h:82
virtual void set_pad_attribute(enum_pad_attribute pad_attribute)
Definition: collation_impl.h:100
virtual void set_sort_length(uint sort_length)
Definition: collation_impl.h:92
static void register_tables(Open_dictionary_tables_ctx *otx)
Definition: collation_impl.cc:127
bool validate() const override
Definition: collation_impl.cc:43
bool is_compiled() const override
Definition: collation_impl.h:80
uint m_sort_length
Definition: collation_impl.h:134
Collation_impl()
Definition: collation_impl.h:49
Object_id m_charset_id
Definition: collation_impl.h:138
enum_pad_attribute m_pad_attribute
Definition: collation_impl.h:135
Object_id charset_id() const override
Definition: collation_impl.h:70
void debug_print(String_type &outb) const override
Definition: collation_impl.h:122
const Object_table & object_table() const override
Definition: collation_impl.cc:121
const Entity_object_impl * impl() const override
Definition: collation_impl.h:107
void set_name(const String_type &name) override
Definition: collation_impl.h:117
bool m_is_compiled
Definition: collation_impl.h:133
bool is_persistent() const override
Is dictionary object persistent in dictionary tables ?
Definition: collation_impl.h:111
Definition: collation.h:46
enum_pad_attribute
Definition: collation.h:59
@ PA_UNDEFINED
Definition: collation.h:59
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: raw_record.h:46
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
unsigned long long Object_id
Definition: object_id.h:31
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:37
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