24#ifndef DD__ENTITY_OBJECT_TABLE_IMPL_INCLUDED
25#define DD__ENTITY_OBJECT_TABLE_IMPL_INCLUDED
40class Object_table_definition;
41class Open_dictionary_tables_ctx;
79 const Properties &table_def_properties)
const override {
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
Definition: entity_object_table_impl.h:46
Object_table_definition_impl * target_table_definition() override
Get the target definition for the dictionary table.
Definition: entity_object_table_impl.h:58
bool restore_object_from_record(Open_dictionary_tables_ctx *otx, const Raw_record &record, Entity_object **o) const override
Prepare a DD object by given raw record.
Definition: entity_object_table_impl.cc:51
~Entity_object_table_impl() override=default
const Object_table_definition_impl * target_table_definition() const override
Definition: entity_object_table_impl.h:62
bool is_abandoned() const override
Check if the dictionary table is abandoned.
Definition: entity_object_table_impl.h:70
int field_number(const String_type &field_label) const override
Get the field ordinal position in the object table.
Definition: entity_object_table_impl.h:88
const Object_table_definition_impl * actual_table_definition() const override
Get the actual definition for the dictionary table.
Definition: entity_object_table_impl.h:74
bool populate(THD *thd) const override
Execute low level code for populating the table.
Definition: entity_object_table_impl.h:92
bool set_actual_table_definition(const Properties &table_def_properties) const override
Set the actual definition for the dictionary table.
Definition: entity_object_table_impl.h:78
const String_type & name() const override
Get the table name used by the target definition for the dictionary table.
Definition: entity_object_table_impl.h:56
bool is_hidden() const override
Check if the table should be hidden.
Definition: entity_object_table_impl.h:96
int field_number(int target_field_number, const String_type &field_label) const override
Definition: entity_object_table_impl.h:83
void set_hidden(bool hidden) override
Mark the dictionary table as hidden or visible.
Definition: entity_object_table_impl.h:98
void set_abandoned(uint last_dd_version) const override
Mark the target definition for the dictionary table as abandoned.
Definition: entity_object_table_impl.h:66
This class represents DD table like mysql.schemata, mysql.tables, mysql.tablespaces and more.
Definition: entity_object_table.h:49
Base class for dictionary objects which has single column integer primary key.
Definition: entity_object.h:48
Definition: object_table_definition_impl.h:44
Definition: object_table_impl.h:36
Object_table_definition_impl * target_table_definition() override
Get the target definition for the dictionary table.
Definition: object_table_impl.h:94
void set_hidden(bool hidden) override
Mark the dictionary table as hidden or visible.
Definition: object_table_impl.h:124
void set_abandoned(uint last_dd_version) const override
Mark the target definition for the dictionary table as abandoned.
Definition: object_table_impl.h:102
bool populate(THD *) const override
Execute low level code for populating the table.
Definition: object_table_impl.h:120
bool is_abandoned() const override
Check if the dictionary table is abandoned.
Definition: object_table_impl.h:106
const Object_table_definition_impl * actual_table_definition() const override
Get the actual definition for the dictionary table.
Definition: object_table_impl.h:108
bool set_actual_table_definition(const Properties &table_def_properties) const override
Set the actual definition for the dictionary table.
Definition: object_table_impl.cc:55
virtual int field_number(int target_field_number, const String_type &field_label) const
Definition: object_table_impl.cc:61
const String_type & name() const override
Get the table name used by the target definition for the dictionary table.
Definition: object_table_impl.h:90
bool is_hidden() const override
Check if the table should be hidden.
Definition: object_table_impl.h:122
Auxiliary class for opening dictionary tables.
Definition: transaction_impl.h:76
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
Header for compiler-dependent features.
static int record
Definition: mysqltest.cc:195
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:51