24#ifndef DD__OBJECT_TABLE_INCLUDED
25#define DD__OBJECT_TABLE_INCLUDED
36class Object_table_definition;
145 const Properties &table_def_properties)
const = 0;
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:36
The purpose of this interface is to enable retrieving the SQL statements necessary to create and popu...
Definition: object_table_definition.h:48
This class represents all data dictionary table like mysql.tables, mysql.columns and more.
Definition: object_table.h:72
virtual bool is_abandoned() const =0
Check if the dictionary table is abandoned.
virtual const Object_table_definition * actual_table_definition() const =0
Get the actual definition for the dictionary table.
virtual const String_type & name() const =0
Get the table name used by the target definition for the dictionary table.
virtual void set_abandoned(uint last_dd_version) const =0
Mark the target definition for the dictionary table as abandoned.
virtual int field_number(const String_type &field_label) const =0
Get the field ordinal position in the object table.
virtual ~Object_table()=default
static Object_table * create_object_table()
Allocate a new Object_table instance on the heap.
Definition: object_table_impl.cc:87
virtual bool is_hidden() const =0
Check if the table should be hidden.
virtual const Object_table_definition * target_table_definition() const =0
virtual bool populate(THD *thd) const =0
Execute low level code for populating the table.
virtual void set_hidden(bool hidden)=0
Mark the dictionary table as hidden or visible.
virtual Object_table_definition * target_table_definition()=0
Get the target definition for the dictionary table.
virtual bool set_actual_table_definition(const Properties &table_def_properties) const =0
Set the actual definition for the dictionary table.
The Properties class defines an interface for storing key=value pairs, where both key and value may b...
Definition: properties.h:74
Some integer typedefs for easier portability.
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