MySQL 9.1.0
Source Code Documentation
|
This class represents DD table like mysql.schemata, mysql.tables, mysql.tablespaces and more. More...
#include <entity_object_table.h>
Public Member Functions | |
~Entity_object_table () override=default | |
virtual Entity_object * | create_entity_object (const Raw_record &record) const =0 |
virtual bool | restore_object_from_record (Open_dictionary_tables_ctx *otx, const Raw_record &record, Entity_object **o) const =0 |
Public Member Functions inherited from dd::Object_table | |
virtual const String_type & | name () const =0 |
Get the table name used by the target definition for the dictionary table. More... | |
virtual Object_table_definition * | target_table_definition ()=0 |
Get the target definition for the dictionary table. More... | |
virtual const Object_table_definition * | target_table_definition () const =0 |
virtual void | set_abandoned (uint last_dd_version) const =0 |
Mark the target definition for the dictionary table as abandoned. More... | |
virtual bool | is_abandoned () const =0 |
Check if the dictionary table is abandoned. More... | |
virtual const Object_table_definition * | actual_table_definition () const =0 |
Get the actual definition for the dictionary table. More... | |
virtual bool | set_actual_table_definition (const Properties &table_def_properties) const =0 |
Set the actual definition for the dictionary table. More... | |
virtual int | field_number (const String_type &field_label) const =0 |
Get the field ordinal position in the object table. More... | |
virtual bool | populate (THD *thd) const =0 |
Execute low level code for populating the table. More... | |
virtual bool | is_hidden () const =0 |
Check if the table should be hidden. More... | |
virtual void | set_hidden (bool hidden)=0 |
Mark the dictionary table as hidden or visible. More... | |
virtual | ~Object_table ()=default |
Additional Inherited Members | |
Static Public Member Functions inherited from dd::Object_table | |
static Object_table * | create_object_table () |
Allocate a new Object_table instance on the heap. More... | |
This class represents DD table like mysql.schemata, mysql.tables, mysql.tablespaces and more.
These corresponds to base DD table where the Entity_object's are persisted.
This class does not represent table like mysql.columns, mysql.indexes which hold metadata child objects object of mysql.tables and are not directly created/searched/dropped without accessing mysql.tables or dd::Table Dictionary object.
|
overridedefault |
|
pure virtual |
Implemented in dd::tables::Character_sets, dd::tables::Collations, dd::tables::Column_statistics, dd::tables::Events, dd::tables::Index_stats, dd::tables::Resource_groups, dd::tables::Routines, dd::tables::Schemata, dd::tables::Spatial_reference_systems, dd::tables::Table_stats, dd::tables::Tablespaces, and dd::tables::Tables.
|
pure virtual |
Implemented in dd::Entity_object_table_impl.