MySQL 9.1.0
Source Code Documentation
|
Class used to represent the dictionary tables. More...
#include <system_registry.h>
Public Types | |
enum class | Types { INERT , CORE , SECOND , DDSE_PRIVATE , DDSE_PROTECTED , PFS , SYSTEM } |
typedef System_table_registry_type::Const_iterator | Const_iterator |
Public Member Functions | |
void | add_inert_dd_tables () |
void | add_remaining_dd_tables () |
void | add (const String_type &schema_name, const String_type &table_name, Types type, const Object_table *table) |
const Object_table * | find_table (const String_type &schema_name, const String_type &table_name) const |
const Types * | find_type (const String_type &schema_name, const String_type &table_name) const |
Const_iterator | begin () const |
Const_iterator | begin (Types type) const |
Const_iterator | end () const |
Const_iterator | next (Const_iterator current, Types type) const |
void | dump () const |
Static Public Member Functions | |
static const char * | type_name (Types type) |
static int | type_name_error_code (Types type) |
static System_tables * | instance () |
Private Types | |
typedef Entity_registry< std::pair< const String_type, const String_type >, const Object_table, Types, type_name, true > | System_table_registry_type |
Private Attributes | |
System_table_registry_type | m_registry |
Class used to represent the dictionary tables.
This class is a singleton used to represent meta data of the dictionary tables, i.e., the tables that store meta data about dictionary entities. The meta data collected here are the Object_table instances, which are used to e.g. get hold of the definition of the table.
The singleton contains an instance of the Entity_registry class, and has methods that mostly delegate to this instance.
|
private |
|
strong |
|
inline |
void dd::System_tables::add_inert_dd_tables | ( | ) |
void dd::System_tables::add_remaining_dd_tables | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
private |