MySQL 9.1.0
Source Code Documentation
|
Class used to represent the system views. More...
#include <system_registry.h>
Public Types | |
enum class | Types { INFORMATION_SCHEMA , NON_DD_BASED_INFORMATION_SCHEMA } |
typedef System_view_registry_type::Const_iterator | Const_iterator |
Public Member Functions | |
void | init () |
void | add (const String_type &schema_name, const String_type &view_name, Types type, const system_views::System_view *view) |
const system_views::System_view * | find (const String_type &schema_name, const String_type &view_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 System_views * | instance () |
Private Types | |
typedef Entity_registry< std::pair< const String_type, const String_type >, const system_views::System_view, Types, type_name, true > | System_view_registry_type |
Private Attributes | |
System_view_registry_type | m_registry |
Class used to represent the system views.
This class is a singleton used to represent meta data of the system views, i.e., the views that are available through the information schema.
The singleton contains an instance of the Entity_registry class, and has methods that mostly delegate to this instance.
|
private |
|
strong |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void dd::System_views::init | ( | ) |
|
static |
|
inline |
|
inlinestatic |
|
private |