23#ifndef DD__ENTITY_OBJECT_TABLE_IMPL_INCLUDED
24#define DD__ENTITY_OBJECT_TABLE_IMPL_INCLUDED
39class Object_table_definition;
40class Open_dictionary_tables_ctx;
78 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:35
Definition: entity_object_table_impl.h:45
Object_table_definition_impl * target_table_definition() override
Get the target definition for the dictionary table.
Definition: entity_object_table_impl.h:57
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:50
~Entity_object_table_impl() override=default
const Object_table_definition_impl * target_table_definition() const override
Definition: entity_object_table_impl.h:61
bool is_abandoned() const override
Check if the dictionary table is abandoned.
Definition: entity_object_table_impl.h:69
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:87
const Object_table_definition_impl * actual_table_definition() const override
Get the actual definition for the dictionary table.
Definition: entity_object_table_impl.h:73
bool populate(THD *thd) const override
Execute low level code for populating the table.
Definition: entity_object_table_impl.h:91
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:77
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:55
bool is_hidden() const override
Check if the table should be hidden.
Definition: entity_object_table_impl.h:95
int field_number(int target_field_number, const String_type &field_label) const override
Definition: entity_object_table_impl.h:82
void set_hidden(bool hidden) override
Mark the dictionary table as hidden or visible.
Definition: entity_object_table_impl.h:97
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:65
This class represents DD table like mysql.schemata, mysql.tables, mysql.tablespaces and more.
Definition: entity_object_table.h:48
Base class for dictionary objects which has single column integer primary key.
Definition: entity_object.h:47
Definition: object_table_definition_impl.h:43
Definition: object_table_impl.h:35
Object_table_definition_impl * target_table_definition() override
Get the target definition for the dictionary table.
Definition: object_table_impl.h:93
void set_hidden(bool hidden) override
Mark the dictionary table as hidden or visible.
Definition: object_table_impl.h:123
void set_abandoned(uint last_dd_version) const override
Mark the target definition for the dictionary table as abandoned.
Definition: object_table_impl.h:101
bool populate(THD *) const override
Execute low level code for populating the table.
Definition: object_table_impl.h:119
bool is_abandoned() const override
Check if the dictionary table is abandoned.
Definition: object_table_impl.h:105
const Object_table_definition_impl * actual_table_definition() const override
Get the actual definition for the dictionary table.
Definition: object_table_impl.h:107
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:54
virtual int field_number(int target_field_number, const String_type &field_label) const
Definition: object_table_impl.cc:60
const String_type & name() const override
Get the table name used by the target definition for the dictionary table.
Definition: object_table_impl.h:89
bool is_hidden() const override
Check if the table should be hidden.
Definition: object_table_impl.h:121
Auxiliary class for opening dictionary tables.
Definition: transaction_impl.h:75
The Properties class defines an interface for storing key=value pairs, where both key and value may b...
Definition: properties.h:73
Definition: raw_record.h:45
Header for compiler-dependent features.
static int record
Definition: mysqltest.cc:194
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:42
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:50