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

Public Types

typedef uint64_t Table_flags
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

const std::string & getTableDefinitionFileExtension ()
virtual message::Table::Index::IndexType default_index_type () const
const std::vector< std::string > & getAliases () const
void addAlias (std::string alias)
 StorageEngine (const std::string &name_arg, const std::bitset< HTON_BIT_SIZE > &flags_arg=HTON_NO_FLAGS)
virtual void print_error (int error, myf errflag, const Table &table) const
bool is_user_selectable () const
bool check_flag (const engine_flag_bits flag) const
virtual uint32_t index_flags (drizzled::message::Table::Index::IndexType) const
virtual void startStatement (Session *session)
virtual void endStatement (Session *session)
virtual int close_connection (Session *)
virtual Cursor * create (Table &)=0
virtual bool flush_logs ()
virtual bool show_status (Session *, stat_print_fn *, enum ha_stat_type)
virtual const char ** bas_ext () const =0
int renameTable (Session &session, const drizzled::identifier::Table &from, const drizzled::identifier::Table &to)
Cursor * getCursor (Table &share)
uint32_t max_record_length () const
uint32_t max_keys () const
uint32_t max_key_parts () const
uint32_t max_key_length () const
uint32_t max_key_part_length (void) const
virtual uint32_t max_supported_record_length (void) const
virtual uint32_t max_supported_keys (void) const
virtual uint32_t max_supported_key_parts (void) const
virtual uint32_t max_supported_key_length (void) const
virtual uint32_t max_supported_key_part_length (void) const
virtual bool participatesInSqlTransaction () const
virtual bool participatesInXaTransaction () const
virtual bool alwaysRegisterForXaTransaction () const
virtual bool validateCreateTableOption (const std::string &key, const std::string &state)
virtual bool validateCreateSchemaOption (const std::string &key, const std::string &state)
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
Public Member Functions inherited from drizzled::plugin::MonitoredInTransaction
size_t getId () const

Static Public Member Functions

static bool addPlugin (plugin::StorageEngine &engine)
static void removePlugin (plugin::StorageEngine &engine)
static message::table::shared_ptr getTableMessage (Session &session, const drizzled::identifier::Table &identifier, bool include_temporary_tables=true)
static bool doesTableExist (Session &session, const drizzled::identifier::Table &identifier, bool include_temporary_tables=true)
static plugin::StorageEngine * findByName (const std::string &find_str)
static plugin::StorageEngine * findByName (Session &session, const std::string &find_str)
static void closeConnection (Session &)
static void dropDatabase (char *path)
static bool flushLogs (plugin::StorageEngine *db_type)
static bool dropTable (Session &session, const drizzled::identifier::Table &identifier)
static bool dropTable (Session &session, const drizzled::identifier::Table &identifier, drizzled::error_t &error)
static bool dropTable (Session &session, StorageEngine &engine, const identifier::Table &identifier, drizzled::error_t &error)
static void getIdentifiers (Session &session, const identifier::Schema &schema_identifier, identifier::table::vector &set_of_identifiers)
static bool canCreateTable (const drizzled::identifier::Table &identifier)
static void getIdentifiers (Session &session, identifier::schema::vector &schemas)
static message::schema::shared_ptr getSchemaDefinition (const drizzled::identifier::Table &identifier)
static message::schema::shared_ptr getSchemaDefinition (const drizzled::identifier::Schema &identifier)
static bool doesSchemaExist (const drizzled::identifier::Schema &identifier)
static const charset_info_st * getSchemaCollation (const drizzled::identifier::Schema &identifier)
static bool createSchema (const drizzled::message::Schema &schema_message)
static bool dropSchema (Session &session, const identifier::Schema &identifier, message::schema::const_reference schema_message)
static bool alterSchema (const drizzled::message::Schema &schema_message)
static const std::string & resolveName (const StorageEngine *engine)
static bool createTable (Session &session, const identifier::Table &identifier, message::Table &table_message)
static void removeLostTemporaryTables (Session &session, const char *directory)

Protected Types

typedef std::map< std::string, message::Table > ProtoCache
 Used as a protobuf storage currently by TEMP only engines.

Protected Member Functions

virtual int doGetTableDefinition (Session &session, const drizzled::identifier::Table &identifier, message::Table &table_message)
void print_keydup_error (uint32_t key_nr, const char *msg, const Table &table) const
virtual bool get_error_message (int error, String *buf) const
virtual int doCreateTable (Session &session, Table &table_arg, const drizzled::identifier::Table &identifier, const message::Table &message)=0
virtual int doRenameTable (Session &session, const drizzled::identifier::Table &from, const drizzled::identifier::Table &to)=0
virtual int doDropTable (Session &session, const drizzled::identifier::Table &identifier)=0
virtual void doGetTableIdentifiers (CachedDirectory &directory, const drizzled::identifier::Schema &schema_identifier, identifier::table::vector &set_of_identifiers)=0
virtual bool doDoesTableExist (Session &session, const drizzled::identifier::Table &identifier)
virtual bool doCanCreateTable (const drizzled::identifier::Table &identifier)
virtual void doGetSchemaIdentifiers (identifier::schema::vector &)
virtual drizzled::message::schema::shared_ptr doGetSchemaDefinition (const drizzled::identifier::Schema &)
virtual bool doCreateSchema (const drizzled::message::Schema &)
virtual bool doAlterSchema (const drizzled::message::Schema &)
virtual bool doDropSchema (const drizzled::identifier::Schema &)

Static Protected Member Functions

static int deleteDefinitionFromPath (const drizzled::identifier::Table &identifier)
static int renameDefinitionFromPath (const drizzled::identifier::Table &dest, const drizzled::identifier::Table &src)
static int writeDefinitionFromPath (const drizzled::identifier::Table &identifier, const message::Table &proto)
static bool readTableFile (const std::string &path, message::Table &table_message)

Protected Attributes

std::string table_definition_ext
ProtoCache proto_cache
pthread_mutex_t proto_cache_mutex

Private Member Functions

virtual void setTransactionReadWrite (Session &session)
virtual void doStartStatement (Session *session)
virtual void doEndStatement (Session *session)

Static Private Member Functions

static EngineVector & getSchemaEngines ()

Private Attributes

const std::bitset< HTON_BIT_SIZE > flags
std::vector< std::string > aliases

Friends

class SEAPITester
class AddSchemaNames
class AddTableIdentifier
class AlterSchema
class CanCreateTable
class CreateSchema
class DropSchema
class DropTable
class DropTables
class FindEngineByName
class Ha_delete_table_error_handler
class StorageEngineCloseConnection
class StorageEngineDoesTableExist
class StorageEngineGetSchemaDefinition
class StorageEngineGetTableDefinition
class DropTableByIdentifier

Detailed Description

Definition at line 124 of file storage_engine.h.

Member Typedef Documentation

◆ ProtoCache

typedef std::map<std::string, message::Table> drizzled::plugin::StorageEngine::ProtoCache
protected

Used as a protobuf storage currently by TEMP only engines.

Definition at line 192 of file storage_engine.h.

◆ Table_flags

typedef uint64_t drizzled::plugin::StorageEngine::Table_flags

Definition at line 130 of file storage_engine.h.

Constructor & Destructor Documentation

◆ StorageEngine()

drizzled::plugin::StorageEngine::StorageEngine ( const std::string & name_arg,
const std::bitset< HTON_BIT_SIZE > & flags_arg = HTON_NO_FLAGS )

Definition at line 83 of file storage_engine.cc.

◆ ~StorageEngine()

drizzled::plugin::StorageEngine::~StorageEngine ( )
virtual

Definition at line 91 of file storage_engine.cc.

Member Function Documentation

◆ addAlias()

void drizzled::plugin::StorageEngine::addAlias ( std::string alias)
inline

Definition at line 181 of file storage_engine.h.

◆ addPlugin()

bool drizzled::plugin::StorageEngine::addPlugin ( plugin::StorageEngine & engine)
static

Definition at line 152 of file storage_engine.cc.

◆ alterSchema()

bool drizzled::plugin::StorageEngine::alterSchema ( const drizzled::message::Schema & schema_message)
static

Definition at line 319 of file schema_engine.cc.

◆ alwaysRegisterForXaTransaction()

virtual bool drizzled::plugin::StorageEngine::alwaysRegisterForXaTransaction ( ) const
inlinevirtual

Returns true if the class should be registered for every XA transaction regardless of whether the class modifies the server's state.

Note

As an example, the XaTransactionApplier plugin class returns true for this virtual method. Even though it does not change the result of the transaction (it simply is logging the changes made by other resource managers), the applier plugin should be enlisted in all XA transactions in order to be able to rollback or recover its logging activity properly.

Implements drizzled::plugin::MonitoredInTransaction.

Reimplemented in drizzled::plugin::TransactionalStorageEngine, and drizzled::plugin::XaStorageEngine.

Definition at line 431 of file storage_engine.h.

◆ bas_ext()

virtual const char ** drizzled::plugin::StorageEngine::bas_ext ( ) const
pure virtual

If frm_error() is called then we will use this to find out what file extentions exist for the storage engine. This is also used by the default rename_table and delete_table method in Cursor.cc.

For engines that have two file name extentions (separate meta/index file and data file), the order of elements is relevant. First element of engine file name extentions array should be meta/index file extention. Second element - data file extention. This order is assumed by prepare_for_repair() when REPAIR Table ... USE_FRM is issued.

Implemented in drizzled::plugin::SEAPITester, Function, Schema, and TableProtoTesterEngine.

◆ canCreateTable()

bool drizzled::plugin::StorageEngine::canCreateTable ( const drizzled::identifier::Table & identifier)
static
Note
on success table can be created.

Definition at line 959 of file storage_engine.cc.

◆ check_flag()

bool drizzled::plugin::StorageEngine::check_flag ( const engine_flag_bits flag) const
inline

Definition at line 226 of file storage_engine.h.

◆ close_connection()

virtual int drizzled::plugin::StorageEngine::close_connection ( Session * )
inlinevirtual

Definition at line 245 of file storage_engine.h.

◆ closeConnection()

void drizzled::plugin::StorageEngine::closeConnection ( Session & session)
static
Note
don't bother to rollback here, it's done already

Definition at line 201 of file storage_engine.cc.

◆ createSchema()

bool drizzled::plugin::StorageEngine::createSchema ( const drizzled::message::Schema & schema_message)
static

Definition at line 152 of file schema_engine.cc.

◆ createTable()

bool drizzled::plugin::StorageEngine::createTable ( Session & session,
const identifier::Table & identifier,
message::Table & table_message )
static

Initiates table-file and calls appropriate database-creator.

Return values
0ok
1error

Definition at line 418 of file storage_engine.cc.

◆ default_index_type()

virtual message::Table::Index::IndexType drizzled::plugin::StorageEngine::default_index_type ( ) const
inlinevirtual

Definition at line 167 of file storage_engine.h.

◆ deleteDefinitionFromPath()

int drizzled::plugin::StorageEngine::deleteDefinitionFromPath ( const drizzled::identifier::Table & identifier)
staticprotected

Definition at line 846 of file storage_engine.cc.

◆ doAlterSchema()

virtual bool drizzled::plugin::StorageEngine::doAlterSchema ( const drizzled::message::Schema & )
inlineprotectedvirtual

Definition at line 373 of file storage_engine.h.

◆ doCanCreateTable()

virtual bool drizzled::plugin::StorageEngine::doCanCreateTable ( const drizzled::identifier::Table & identifier)
inlineprotectedvirtual

Definition at line 289 of file storage_engine.h.

◆ doCreateSchema()

virtual bool drizzled::plugin::StorageEngine::doCreateSchema ( const drizzled::message::Schema & )
inlineprotectedvirtual

Definition at line 370 of file storage_engine.h.

◆ doDoesTableExist()

bool plugin::StorageEngine::doDoesTableExist ( Session & session,
const drizzled::identifier::Table & identifier )
protectedvirtual

Definition at line 268 of file storage_engine.cc.

◆ doDropSchema()

virtual bool drizzled::plugin::StorageEngine::doDropSchema ( const drizzled::identifier::Schema & )
inlineprotectedvirtual

Definition at line 376 of file storage_engine.h.

◆ doDropTable()

int drizzled::plugin::StorageEngine::doDropTable ( Session & session,
const drizzled::identifier::Table & identifier )
protectedpure virtual

Delete all files with extension from bas_ext().

Parameters
nameBase name of table
Note
We assume that the Cursor may return more extensions than was actually used for the file.
Return values
0If we successfully deleted at least one file from base_ext and didn't get any other errors than ENOENT
!0Error

Implemented in drizzled::plugin::SEAPITester, Function, Schema, and TableProtoTesterEngine.

Definition at line 127 of file storage_engine.cc.

◆ doEndStatement()

virtual void drizzled::plugin::StorageEngine::doEndStatement ( Session * session)
inlineprivatevirtual

Definition at line 153 of file storage_engine.h.

◆ doesSchemaExist()

bool drizzled::plugin::StorageEngine::doesSchemaExist ( const drizzled::identifier::Schema & identifier)
static

Definition at line 105 of file schema_engine.cc.

◆ doesTableExist()

bool plugin::StorageEngine::doesTableExist ( Session & session,
const drizzled::identifier::Table & identifier,
bool include_temporary_tables = true )
static

Utility method which hides some of the details of getTableDefinition()

Definition at line 254 of file storage_engine.cc.

◆ doGetSchemaDefinition()

virtual drizzled::message::schema::shared_ptr drizzled::plugin::StorageEngine::doGetSchemaDefinition ( const drizzled::identifier::Schema & )
inlineprotectedvirtual

Definition at line 365 of file storage_engine.h.

◆ doGetSchemaIdentifiers()

virtual void drizzled::plugin::StorageEngine::doGetSchemaIdentifiers ( identifier::schema::vector & )
inlineprotectedvirtual

Definition at line 362 of file storage_engine.h.

◆ doGetTableDefinition()

virtual int drizzled::plugin::StorageEngine::doGetTableDefinition ( Session & session,
const drizzled::identifier::Table & identifier,
message::Table & table_message )
inlineprotectedvirtual

Definition at line 203 of file storage_engine.h.

◆ doStartStatement()

virtual void drizzled::plugin::StorageEngine::doStartStatement ( Session * session)
inlineprivatevirtual

Definition at line 143 of file storage_engine.h.

◆ dropSchema()

bool drizzled::plugin::StorageEngine::dropSchema ( Session & session,
const identifier::Schema & identifier,
message::schema::const_reference schema_message )
static

Definition at line 224 of file schema_engine.cc.

◆ dropTable() [1/3]

bool drizzled::plugin::StorageEngine::dropTable ( Session & session,
const drizzled::identifier::Table & identifier )
static

Definition at line 375 of file storage_engine.cc.

◆ dropTable() [2/3]

bool drizzled::plugin::StorageEngine::dropTable ( Session & session,
const drizzled::identifier::Table & identifier,
drizzled::error_t & error )
static

Definition at line 351 of file storage_engine.cc.

◆ dropTable() [3/3]

bool drizzled::plugin::StorageEngine::dropTable ( Session & session,
StorageEngine & engine,
const identifier::Table & identifier,
drizzled::error_t & error )
static

Definition at line 382 of file storage_engine.cc.

◆ endStatement()

virtual void drizzled::plugin::StorageEngine::endStatement ( Session * session)
inlinevirtual

Definition at line 237 of file storage_engine.h.

◆ findByName() [1/2]

StorageEngine * drizzled::plugin::StorageEngine::findByName ( const std::string & find_str)
static

Definition at line 177 of file storage_engine.cc.

◆ findByName() [2/2]

StorageEngine * drizzled::plugin::StorageEngine::findByName ( Session & session,
const std::string & find_str )
static

Definition at line 190 of file storage_engine.cc.

◆ flush_logs()

virtual bool drizzled::plugin::StorageEngine::flush_logs ( )
inlinevirtual

Definition at line 252 of file storage_engine.h.

◆ flushLogs()

bool drizzled::plugin::StorageEngine::flushLogs ( plugin::StorageEngine * db_type)
static

Definition at line 210 of file storage_engine.cc.

◆ get_error_message()

bool drizzled::plugin::StorageEngine::get_error_message ( int error,
String * buf ) const
protectedvirtual

Return an error message specific to this Cursor.

Parameters
errorerror code previously returned by Cursor
bufpointer to String where to add error message
Returns
Returns true if this is a temporary error

Definition at line 812 of file storage_engine.cc.

◆ getAliases()

const std::vector< std::string > & drizzled::plugin::StorageEngine::getAliases ( ) const
inline

Definition at line 176 of file storage_engine.h.

◆ getCursor()

Cursor * drizzled::plugin::StorageEngine::getCursor ( Table & share)

Definition at line 469 of file storage_engine.cc.

◆ getIdentifiers() [1/2]

void drizzled::plugin::StorageEngine::getIdentifiers ( Session & session,
const identifier::Schema & schema_identifier,
identifier::table::vector & set_of_identifiers )
static

Definition at line 474 of file storage_engine.cc.

◆ getIdentifiers() [2/2]

void drizzled::plugin::StorageEngine::getIdentifiers ( Session & session,
identifier::schema::vector & schemas )
static

Definition at line 51 of file schema_engine.cc.

◆ getSchemaCollation()

const charset_info_st * drizzled::plugin::StorageEngine::getSchemaCollation ( const drizzled::identifier::Schema & identifier)
static

Definition at line 113 of file schema_engine.cc.

◆ getSchemaDefinition() [1/2]

message::schema::shared_ptr drizzled::plugin::StorageEngine::getSchemaDefinition ( const drizzled::identifier::Schema & identifier)
static

Definition at line 89 of file schema_engine.cc.

◆ getSchemaDefinition() [2/2]

message::schema::shared_ptr drizzled::plugin::StorageEngine::getSchemaDefinition ( const drizzled::identifier::Table & identifier)
static

Definition at line 83 of file schema_engine.cc.

◆ getSchemaEngines()

EngineVector & drizzled::plugin::StorageEngine::getSchemaEngines ( )
staticprivate

Definition at line 73 of file storage_engine.cc.

◆ getTableDefinitionFileExtension()

const std::string & drizzled::plugin::StorageEngine::getTableDefinitionFileExtension ( )
inline

Definition at line 162 of file storage_engine.h.

◆ getTableMessage()

message::table::shared_ptr drizzled::plugin::StorageEngine::getTableMessage ( Session & session,
const drizzled::identifier::Table & identifier,
bool include_temporary_tables = true )
static

Definition at line 275 of file storage_engine.cc.

◆ index_flags()

virtual uint32_t drizzled::plugin::StorageEngine::index_flags ( drizzled::message::Table::Index::IndexType ) const
inlinevirtual

Definition at line 232 of file storage_engine.h.

◆ is_user_selectable()

bool drizzled::plugin::StorageEngine::is_user_selectable ( ) const
inline

Definition at line 221 of file storage_engine.h.

◆ max_key_length()

uint32_t drizzled::plugin::StorageEngine::max_key_length ( ) const
inline

Definition at line 399 of file storage_engine.h.

◆ max_key_part_length()

uint32_t drizzled::plugin::StorageEngine::max_key_part_length ( void ) const
inline

Definition at line 401 of file storage_engine.h.

◆ max_key_parts()

uint32_t drizzled::plugin::StorageEngine::max_key_parts ( ) const
inline

Definition at line 397 of file storage_engine.h.

◆ max_keys()

uint32_t drizzled::plugin::StorageEngine::max_keys ( ) const
inline

Definition at line 395 of file storage_engine.h.

◆ max_record_length()

uint32_t drizzled::plugin::StorageEngine::max_record_length ( ) const
inline

Definition at line 393 of file storage_engine.h.

◆ max_supported_key_length()

virtual uint32_t drizzled::plugin::StorageEngine::max_supported_key_length ( void ) const
inlinevirtual

Definition at line 408 of file storage_engine.h.

◆ max_supported_key_part_length()

virtual uint32_t drizzled::plugin::StorageEngine::max_supported_key_part_length ( void ) const
inlinevirtual

Definition at line 409 of file storage_engine.h.

◆ max_supported_key_parts()

virtual uint32_t drizzled::plugin::StorageEngine::max_supported_key_parts ( void ) const
inlinevirtual

Definition at line 407 of file storage_engine.h.

◆ max_supported_keys()

virtual uint32_t drizzled::plugin::StorageEngine::max_supported_keys ( void ) const
inlinevirtual

Definition at line 406 of file storage_engine.h.

◆ max_supported_record_length()

virtual uint32_t drizzled::plugin::StorageEngine::max_supported_record_length ( void ) const
inlinevirtual

Definition at line 404 of file storage_engine.h.

◆ participatesInSqlTransaction()

virtual bool drizzled::plugin::StorageEngine::participatesInSqlTransaction ( ) const
inlinevirtual

Returns true if the class should participate in the SQL transaction.

Implements drizzled::plugin::MonitoredInTransaction.

Reimplemented in drizzled::plugin::TransactionalStorageEngine, and drizzled::plugin::XaStorageEngine.

Definition at line 423 of file storage_engine.h.

◆ participatesInXaTransaction()

virtual bool drizzled::plugin::StorageEngine::participatesInXaTransaction ( ) const
inlinevirtual

Returns true if the class should participate in the XA transaction.

Implements drizzled::plugin::MonitoredInTransaction.

Reimplemented in drizzled::plugin::TransactionalStorageEngine, and drizzled::plugin::XaStorageEngine.

Definition at line 427 of file storage_engine.h.

◆ print_error()

void drizzled::plugin::StorageEngine::print_error ( int error,
myf errflag,
const Table & table ) const
virtual

Print error that we got from Cursor function.

Note
In case of delete table it's only safe to use the following parts of the 'table' structure:
  • table->getShare()->path
  • table->alias

Definition at line 611 of file storage_engine.cc.

◆ print_keydup_error()

void drizzled::plugin::StorageEngine::print_keydup_error ( uint32_t key_nr,
const char * msg,
const Table & table ) const
protected

Definition at line 818 of file storage_engine.cc.

◆ readTableFile()

bool drizzled::plugin::StorageEngine::readTableFile ( const std::string & path,
message::Table & table_message )
staticprotected

Definition at line 969 of file storage_engine.cc.

◆ removeLostTemporaryTables()

void drizzled::plugin::StorageEngine::removeLostTemporaryTables ( Session & session,
const char * directory )
static

Definition at line 523 of file storage_engine.cc.

◆ removePlugin()

void drizzled::plugin::StorageEngine::removePlugin ( plugin::StorageEngine & engine)
static

Definition at line 168 of file storage_engine.cc.

◆ renameDefinitionFromPath()

int drizzled::plugin::StorageEngine::renameDefinitionFromPath ( const drizzled::identifier::Table & dest,
const drizzled::identifier::Table & src )
staticprotected

Definition at line 855 of file storage_engine.cc.

◆ renameTable()

int drizzled::plugin::StorageEngine::renameTable ( Session & session,
const drizzled::identifier::Table & from,
const drizzled::identifier::Table & to )

Definition at line 101 of file storage_engine.cc.

◆ resolveName()

const std::string & drizzled::plugin::StorageEngine::resolveName ( const StorageEngine * engine)
inlinestatic

Definition at line 380 of file storage_engine.h.

◆ setTransactionReadWrite()

void drizzled::plugin::StorageEngine::setTransactionReadWrite ( Session & session)
privatevirtual

Definition at line 95 of file storage_engine.cc.

◆ show_status()

virtual bool drizzled::plugin::StorageEngine::show_status ( Session * ,
stat_print_fn * ,
enum ha_stat_type )
inlinevirtual

Definition at line 253 of file storage_engine.h.

◆ startStatement()

virtual void drizzled::plugin::StorageEngine::startStatement ( Session * session)
inlinevirtual

Definition at line 233 of file storage_engine.h.

◆ validateCreateSchemaOption()

virtual bool drizzled::plugin::StorageEngine::validateCreateSchemaOption ( const std::string & key,
const std::string & state )
inlinevirtual

Definition at line 444 of file storage_engine.h.

◆ validateCreateTableOption()

virtual bool drizzled::plugin::StorageEngine::validateCreateTableOption ( const std::string & key,
const std::string & state )
inlinevirtual

Definition at line 436 of file storage_engine.h.

◆ writeDefinitionFromPath()

int drizzled::plugin::StorageEngine::writeDefinitionFromPath ( const drizzled::identifier::Table & identifier,
const message::Table & proto )
staticprotected

Definition at line 884 of file storage_engine.cc.

◆ AddSchemaNames

friend class AddSchemaNames
friend

Definition at line 294 of file storage_engine.h.

◆ AddTableIdentifier

friend class AddTableIdentifier
friend

Definition at line 295 of file storage_engine.h.

◆ AlterSchema

friend class AlterSchema
friend

Definition at line 296 of file storage_engine.h.

◆ CanCreateTable

friend class CanCreateTable
friend

Definition at line 297 of file storage_engine.h.

◆ CreateSchema

friend class CreateSchema
friend

Definition at line 298 of file storage_engine.h.

◆ DropSchema

friend class DropSchema
friend

Definition at line 299 of file storage_engine.h.

◆ DropTable

friend class DropTable
friend

Definition at line 300 of file storage_engine.h.

◆ DropTableByIdentifier

friend class DropTableByIdentifier
friend

Definition at line 308 of file storage_engine.h.

◆ DropTables

friend class DropTables
friend

Definition at line 301 of file storage_engine.h.

◆ FindEngineByName

friend class FindEngineByName
friend

Definition at line 302 of file storage_engine.h.

◆ Ha_delete_table_error_handler

friend class Ha_delete_table_error_handler
friend

Definition at line 303 of file storage_engine.h.

◆ SEAPITester

friend class SEAPITester
friend

Definition at line 128 of file storage_engine.h.

◆ StorageEngineCloseConnection

friend class StorageEngineCloseConnection
friend

Definition at line 304 of file storage_engine.h.

◆ StorageEngineDoesTableExist

friend class StorageEngineDoesTableExist
friend

Definition at line 305 of file storage_engine.h.

◆ StorageEngineGetSchemaDefinition

friend class StorageEngineGetSchemaDefinition
friend

Definition at line 306 of file storage_engine.h.

◆ StorageEngineGetTableDefinition

friend class StorageEngineGetTableDefinition
friend

Definition at line 307 of file storage_engine.h.

Member Data Documentation

◆ aliases

std::vector<std::string> drizzled::plugin::StorageEngine::aliases
private

Definition at line 173 of file storage_engine.h.

◆ flags

const std::bitset<HTON_BIT_SIZE> drizzled::plugin::StorageEngine::flags
private

Definition at line 134 of file storage_engine.h.

◆ proto_cache

ProtoCache drizzled::plugin::StorageEngine::proto_cache
protected

Definition at line 193 of file storage_engine.h.

◆ proto_cache_mutex

pthread_mutex_t drizzled::plugin::StorageEngine::proto_cache_mutex
protected

Definition at line 194 of file storage_engine.h.

◆ table_definition_ext

std::string drizzled::plugin::StorageEngine::table_definition_ext
protected

Definition at line 159 of file storage_engine.h.


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