drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
drizzled::plugin::Catalog Class Referenceabstract
Inheritance diagram for drizzled::plugin::Catalog:
[legend]
Collaboration diagram for drizzled::plugin::Catalog:
[legend]

Public Types

typedef std::vector< Catalog * > vector
Public Types inherited from drizzled::plugin::Plugin
typedef std::pair< const std::string, const std::string > map_key
typedef std::unique_ptr< plugin::Plugin, deleter_fn > owned_ptr
typedef std::map< const map_key, owned_ptr > map
typedef std::vector< Plugin * > vector

Public Member Functions

 Catalog (std::string name_arg)
virtual catalog::Engine::shared_ptr engine ()=0
Public Member Functions inherited from drizzled::plugin::Plugin
 Plugin (const std::string &name, const std::string &type_name)
virtual void shutdownPlugin ()
virtual void prime ()
virtual void startup (drizzled::Session &)
void activate ()
void deactivate ()
bool isActive () const
const std::string & getName () const
void setModule (module::Module *module)
const std::string & getTypeName () const
virtual bool removeLast () const
const std::string & getModuleName () const

Static Public Member Functions

static bool create (const identifier::Catalog &)
static bool create (const identifier::Catalog &, message::catalog::shared_ptr &)
static bool drop (const identifier::Catalog &)
static bool lock (const identifier::Catalog &)
static bool unlock (const identifier::Catalog &)
static bool addPlugin (plugin::Catalog &plugin)
static void removePlugin (plugin::Catalog &plugin)
static bool exist (const identifier::Catalog &)
static void getIdentifiers (identifier::catalog::vector &identifiers)
static void getMessages (message::catalog::vector &messages)
static message::catalog::shared_ptr getMessage (const identifier::Catalog &)
static catalog::Instance::shared_ptr getInstance (const identifier::Catalog &)

Detailed Description

Definition at line 39 of file drizzled/plugin/catalog.h.

Member Typedef Documentation

◆ vector

typedef std::vector<Catalog *> drizzled::plugin::Catalog::vector

Definition at line 42 of file drizzled/plugin/catalog.h.

Constructor & Destructor Documentation

◆ Catalog()

drizzled::plugin::Catalog::Catalog ( std::string name_arg)
inlineexplicit

Definition at line 44 of file drizzled/plugin/catalog.h.

Member Function Documentation

◆ addPlugin()

bool drizzled::plugin::plugin::Catalog::addPlugin ( plugin::Catalog & plugin)
static

Definition at line 148 of file drizzled/plugin/catalog.cc.

◆ create() [1/2]

bool drizzled::plugin::Catalog::create ( const identifier::Catalog & identifier)
static

Definition at line 51 of file drizzled/plugin/catalog.cc.

◆ create() [2/2]

bool drizzled::plugin::Catalog::create ( const identifier::Catalog & identifier,
message::catalog::shared_ptr & message )
static

Definition at line 57 of file drizzled/plugin/catalog.cc.

◆ drop()

bool drizzled::plugin::Catalog::drop ( const identifier::Catalog & identifier)
static

Definition at line 86 of file drizzled/plugin/catalog.cc.

◆ exist()

bool drizzled::plugin::plugin::Catalog::exist ( const identifier::Catalog & identifier)
static

Definition at line 155 of file drizzled/plugin/catalog.cc.

◆ getIdentifiers()

void drizzled::plugin::plugin::Catalog::getIdentifiers ( identifier::catalog::vector & identifiers)
static

Definition at line 173 of file drizzled/plugin/catalog.cc.

◆ getInstance()

catalog::Instance::shared_ptr drizzled::plugin::plugin::Catalog::getInstance ( const identifier::Catalog & identifier)
static

Definition at line 211 of file drizzled/plugin/catalog.cc.

◆ getMessage()

message::catalog::shared_ptr drizzled::plugin::plugin::Catalog::getMessage ( const identifier::Catalog & identifier)
static

Definition at line 189 of file drizzled/plugin/catalog.cc.

◆ getMessages()

void drizzled::plugin::plugin::Catalog::getMessages ( message::catalog::vector & messages)
static

Definition at line 181 of file drizzled/plugin/catalog.cc.

◆ lock()

bool drizzled::plugin::Catalog::lock ( const identifier::Catalog & identifier)
static

Definition at line 121 of file drizzled/plugin/catalog.cc.

◆ removePlugin()

void drizzled::plugin::plugin::Catalog::removePlugin ( plugin::Catalog & plugin)
static

Definition at line 239 of file drizzled/plugin/catalog.cc.

◆ unlock()

bool drizzled::plugin::Catalog::unlock ( const identifier::Catalog & identifier)
static

Definition at line 137 of file drizzled/plugin/catalog.cc.


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