MySQL 9.0.0
Source Code Documentation
dd::System_tablespaces Class Reference

Class used to represent the system tablespaces. More...

#include <system_registry.h>

Public Types

enum class  Types { DD , PREDEFINED_DDSE }
 
typedef System_tablespace_registry_type::Const_iterator Const_iterator
 

Public Member Functions

void add (const String_type &tablespace_name, Types type, const Plugin_tablespace *space)
 
const Plugin_tablespacefind (const String_type &tablespace_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_tablespacesinstance ()
 

Private Types

typedef Entity_registry< std::pair< const String_type, const String_type >, const Plugin_tablespace, Types, type_name, false > System_tablespace_registry_type
 

Private Attributes

System_tablespace_registry_type m_registry
 

Detailed Description

Class used to represent the system tablespaces.

This class is a singleton used to represent meta data of the system tablespaces, i.e., the tablespaces that are predefined in the DDSE, or needed by the SQL layer.

The singleton contains an instance of the Entity_registry class, and has methods that mostly delegate to this instance.

Member Typedef Documentation

◆ Const_iterator

◆ System_tablespace_registry_type

Member Enumeration Documentation

◆ Types

enum class dd::System_tablespaces::Types
strong
Enumerator
DD 
PREDEFINED_DDSE 

Member Function Documentation

◆ add()

void dd::System_tablespaces::add ( const String_type tablespace_name,
Types  type,
const Plugin_tablespace space 
)
inline

◆ begin() [1/2]

Const_iterator dd::System_tablespaces::begin ( void  ) const
inline

◆ begin() [2/2]

Const_iterator dd::System_tablespaces::begin ( Types  type) const
inline

◆ dump()

void dd::System_tablespaces::dump ( ) const
inline

◆ end()

Const_iterator dd::System_tablespaces::end ( void  ) const
inline

◆ find()

const Plugin_tablespace * dd::System_tablespaces::find ( const String_type tablespace_name) const
inline

◆ instance()

System_tablespaces * dd::System_tablespaces::instance ( )
static

◆ next()

Const_iterator dd::System_tablespaces::next ( Const_iterator  current,
Types  type 
) const
inline

◆ type_name()

static const char * dd::System_tablespaces::type_name ( Types  type)
inlinestatic

Member Data Documentation

◆ m_registry

System_tablespace_registry_type dd::System_tablespaces::m_registry
private

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