MySQL  8.0.18
Source Code Documentation
dd::Entity_object_table Class Referenceabstract

This class represents DD table like mysql.schemata, mysql.tables, mysql.tablespaces and more. More...

#include <entity_object_table.h>

Inheritance diagram for dd::Entity_object_table:
dd::Object_table dd::Entity_object_table_impl 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::Tables dd::tables::Tablespaces

Public Member Functions

virtual ~Entity_object_table ()
 
virtual Entity_objectcreate_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_typename () const =0
 Get the table name used by the target definition for the dictionary table. More...
 
virtual Object_table_definitiontarget_table_definition ()=0
 Get the target definition for the dictionary table. More...
 
virtual const Object_table_definitiontarget_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_definitionactual_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 ()
 

Additional Inherited Members

- Static Public Member Functions inherited from dd::Object_table
static Object_tablecreate_object_table ()
 Allocate a new Object_table instance on the heap. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~Entity_object_table()

virtual dd::Entity_object_table::~Entity_object_table ( )
inlinevirtual

Member Function Documentation

◆ create_entity_object()

◆ restore_object_from_record()

virtual bool dd::Entity_object_table::restore_object_from_record ( Open_dictionary_tables_ctx otx,
const Raw_record record,
Entity_object **  o 
) const
pure virtual

The documentation for this class was generated from the following file: