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

Public Member Functions

 QueryCache (const std::string &name)
virtual bool doIsCached (Session *)=0
virtual bool doSendCachedResultset (Session *)=0
virtual bool doSetResultset (Session *)=0
virtual bool doPrepareResultset (Session *)=0
virtual bool doInsertRecord (Session *, List< Item > &)=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 addPlugin (QueryCache &)
static void removePlugin (QueryCache &)
static bool isCached (Session *)
static bool sendCachedResultset (Session *)
static bool prepareResultset (Session *)
static bool setResultset (Session *)
static bool insertRecord (Session *, List< Item > &)

Additional Inherited Members

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

Detailed Description

Definition at line 35 of file query_cache.h.

Constructor & Destructor Documentation

◆ QueryCache()

drizzled::plugin::QueryCache::QueryCache ( const std::string & name)
inlineexplicit

Definition at line 38 of file query_cache.h.

Member Function Documentation

◆ addPlugin()

bool drizzled::plugin::QueryCache::addPlugin ( plugin::QueryCache & handler)
static

Definition at line 168 of file query_cache.cc.

◆ insertRecord()

bool drizzled::plugin::QueryCache::insertRecord ( Session * session,
List< Item > & items )
static

Definition at line 153 of file query_cache.cc.

◆ isCached()

bool drizzled::plugin::QueryCache::isCached ( Session * session)
static

Definition at line 50 of file query_cache.cc.

◆ prepareResultset()

bool drizzled::plugin::QueryCache::prepareResultset ( Session * session)
static

Definition at line 101 of file query_cache.cc.

◆ removePlugin()

void drizzled::plugin::QueryCache::removePlugin ( plugin::QueryCache & handler)
static

Definition at line 174 of file query_cache.cc.

◆ sendCachedResultset()

bool drizzled::plugin::QueryCache::sendCachedResultset ( Session * session)
static

Definition at line 76 of file query_cache.cc.

◆ setResultset()

bool drizzled::plugin::QueryCache::setResultset ( Session * session)
static

Definition at line 127 of file query_cache.cc.


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