drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
WiredTigerEngine Class Reference
Inheritance diagram for WiredTigerEngine:
[legend]
Collaboration diagram for WiredTigerEngine:
[legend]

Public Member Functions

 WiredTigerEngine (string name_arg)
virtual Cursor * create (Table &table)
const char ** bas_ext () const
drizzled::message::Table::Index::IndexType default_index_type () const
bool validateCreateTableOption (const std::string &key, const std::string &state)
int doCreateTable (Session &session, Table &table_arg, const identifier::Table &identifier, const message::Table &create_proto)
int doRenameTable (Session &, const identifier::Table &from, const identifier::Table &to)
int doDropTable (Session &, const identifier::Table &identifier)
int doGetTableDefinition (Session &session, const identifier::Table &identifier, message::Table &table_message)
uint32_t max_supported_keys () const
uint32_t max_supported_key_part_length () const
uint32_t index_flags (drizzled::message::Table::Index::IndexType) const
bool doDoesTableExist (Session &session, const identifier::Table &identifier)
void doGetTableIdentifiers (CachedDirectory &directory, const identifier::Schema &schema_identifier, identifier::table::vector &set_of_identifiers)
virtual int startTransaction (Session *, start_transaction_option_t)
int doStartTransaction (Session *session, start_transaction_option_t options)
virtual void doStartStatement (Session *session)
virtual void doEndStatement (Session *session)
int doSetSavepoint (Session *, NamedSavepoint &)
int doRollbackToSavepoint (Session *, NamedSavepoint &)
int doReleaseSavepoint (Session *, NamedSavepoint &)
int doCommit (Session *, bool)
int doRollback (Session *, bool)
void closeConnection (Session &session)
WiredTigerTableShare * findOpenTable (const identifier::Table &identifier)
void addOpenTable (const identifier::Table &, WiredTigerTableShare *)
void deleteOpenTable (const identifier::Table &)
int checkpoint (const std::string &config)

Public Attributes

WT_CONNECTION * conn
WT_SESSION * eng_session

Private Types

typedef std::map< std::string, WiredTigerTableShare * > WTShareMap

Private Member Functions

int getTableURI (const drizzled::identifier::Table &, string &)
int readTableProto (const identifier::Table &, message::Table &)

Private Attributes

WTShareMap wt_shares

Detailed Description

Definition at line 46 of file wiredtiger_drizzle.h.

Member Typedef Documentation

◆ WTShareMap

typedef std::map<std::string, WiredTigerTableShare*> WiredTigerEngine::WTShareMap
private

Definition at line 169 of file wiredtiger_drizzle.h.

Constructor & Destructor Documentation

◆ WiredTigerEngine()

WiredTigerEngine::WiredTigerEngine ( string name_arg)
inlineexplicit

Definition at line 49 of file wiredtiger_drizzle.h.

◆ ~WiredTigerEngine()

virtual WiredTigerEngine::~WiredTigerEngine ( )
inlinevirtual

Definition at line 61 of file wiredtiger_drizzle.h.

Member Function Documentation

◆ addOpenTable()

void WiredTigerEngine::addOpenTable ( const identifier::Table & identifier,
WiredTigerTableShare * share )

Definition at line 94 of file wiredtiger_engine.cc.

◆ bas_ext()

const char ** WiredTigerEngine::bas_ext ( ) const
inline

Definition at line 68 of file wiredtiger_drizzle.h.

◆ checkpoint()

int WiredTigerEngine::checkpoint ( const std::string & config)

Definition at line 819 of file wiredtiger_engine.cc.

◆ closeConnection()

void WiredTigerEngine::closeConnection ( Session & session)

Definition at line 71 of file wiredtiger_engine.cc.

◆ create()

Cursor * WiredTigerEngine::create ( Table & table)
virtual

Definition at line 34 of file wiredtiger_engine.cc.

◆ default_index_type()

drizzled::message::Table::Index::IndexType WiredTigerEngine::default_index_type ( ) const
inline

Definition at line 73 of file wiredtiger_drizzle.h.

◆ deleteOpenTable()

void WiredTigerEngine::deleteOpenTable ( const identifier::Table & identifier)

Definition at line 100 of file wiredtiger_engine.cc.

◆ doCommit()

int WiredTigerEngine::doCommit ( Session * session,
bool all )

Definition at line 696 of file wiredtiger_engine.cc.

◆ doCreateTable()

int WiredTigerEngine::doCreateTable ( Session & session,
Table & table_arg,
const identifier::Table & identifier,
const message::Table & create_proto )

Definition at line 515 of file wiredtiger_engine.cc.

◆ doDoesTableExist()

bool WiredTigerEngine::doDoesTableExist ( Session & session,
const identifier::Table & identifier )

Definition at line 153 of file wiredtiger_engine.cc.

◆ doDropTable()

int WiredTigerEngine::doDropTable ( Session & session,
const identifier::Table & identifier )

Definition at line 253 of file wiredtiger_engine.cc.

◆ doEndStatement()

virtual void WiredTigerEngine::doEndStatement ( Session * session)
inlinevirtual

Definition at line 127 of file wiredtiger_drizzle.h.

◆ doGetTableDefinition()

int WiredTigerEngine::doGetTableDefinition ( Session & session,
const identifier::Table & identifier,
message::Table & table_message )

Definition at line 180 of file wiredtiger_engine.cc.

◆ doGetTableIdentifiers()

void WiredTigerEngine::doGetTableIdentifiers ( CachedDirectory & directory,
const identifier::Schema & schema_identifier,
identifier::table::vector & set_of_identifiers )

Definition at line 111 of file wiredtiger_engine.cc.

◆ doReleaseSavepoint()

int WiredTigerEngine::doReleaseSavepoint ( Session * ,
NamedSavepoint &  )
inline

Definition at line 145 of file wiredtiger_drizzle.h.

◆ doRenameTable()

int WiredTigerEngine::doRenameTable ( Session & session,
const identifier::Table & from,
const identifier::Table & to )

Definition at line 348 of file wiredtiger_engine.cc.

◆ doRollback()

int WiredTigerEngine::doRollback ( Session * session,
bool all )

Definition at line 714 of file wiredtiger_engine.cc.

◆ doRollbackToSavepoint()

int WiredTigerEngine::doRollbackToSavepoint ( Session * ,
NamedSavepoint &  )
inline

Definition at line 139 of file wiredtiger_drizzle.h.

◆ doSetSavepoint()

int WiredTigerEngine::doSetSavepoint ( Session * ,
NamedSavepoint &  )
inline

Definition at line 133 of file wiredtiger_drizzle.h.

◆ doStartStatement()

void WiredTigerEngine::doStartStatement ( Session * session)
virtual

Definition at line 687 of file wiredtiger_engine.cc.

◆ doStartTransaction()

int WiredTigerEngine::doStartTransaction ( Session * session,
start_transaction_option_t options )

Definition at line 659 of file wiredtiger_engine.cc.

◆ findOpenTable()

WiredTigerTableShare * WiredTigerEngine::findOpenTable ( const identifier::Table & identifier)

Definition at line 83 of file wiredtiger_engine.cc.

◆ getTableURI()

int WiredTigerEngine::getTableURI ( const drizzled::identifier::Table & identifier,
string & table_uri )
private

Definition at line 245 of file wiredtiger_engine.cc.

◆ index_flags()

uint32_t WiredTigerEngine::index_flags ( drizzled::message::Table::Index::IndexType ) const
inline

Definition at line 97 of file wiredtiger_drizzle.h.

◆ max_supported_key_part_length()

uint32_t WiredTigerEngine::max_supported_key_part_length ( ) const
inline

Definition at line 95 of file wiredtiger_drizzle.h.

◆ max_supported_keys()

uint32_t WiredTigerEngine::max_supported_keys ( ) const
inline

Definition at line 94 of file wiredtiger_drizzle.h.

◆ readTableProto()

int WiredTigerEngine::readTableProto ( const identifier::Table & identifier,
message::Table & table_proto )
private

Definition at line 190 of file wiredtiger_engine.cc.

◆ startTransaction()

virtual int WiredTigerEngine::startTransaction ( Session * ,
start_transaction_option_t  )
inlinevirtual

Definition at line 112 of file wiredtiger_drizzle.h.

◆ validateCreateTableOption()

bool WiredTigerEngine::validateCreateTableOption ( const std::string & key,
const std::string & state )

Definition at line 435 of file wiredtiger_engine.cc.

Member Data Documentation

◆ conn

WT_CONNECTION* WiredTigerEngine::conn

Definition at line 157 of file wiredtiger_drizzle.h.

◆ eng_session

WT_SESSION* WiredTigerEngine::eng_session

Definition at line 158 of file wiredtiger_drizzle.h.

◆ wt_shares

WTShareMap WiredTigerEngine::wt_shares
private

Definition at line 170 of file wiredtiger_drizzle.h.


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