drizzle
C++ MySQL-protocol-compatible database server
Loading...
Searching...
No Matches
drizzled::plugin::TransactionReader Class Referenceabstract

#include <transaction_reader.h>

Inheritance diagram for drizzled::plugin::TransactionReader:
[legend]
Collaboration diagram for drizzled::plugin::TransactionReader:
[legend]

Public Member Functions

 TransactionReader (std::string name_arg)
virtual bool read (const ReplicationServices::GlobalTransactionId &to_read, message::Transaction *to_fill)=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

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

Class which can read Transaction messages from some source

Definition at line 43 of file transaction_reader.h.

Constructor & Destructor Documentation

◆ TransactionReader()

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

Definition at line 46 of file transaction_reader.h.

Member Function Documentation

◆ read()

virtual bool drizzled::plugin::TransactionReader::read ( const ReplicationServices::GlobalTransactionId & to_read,
message::Transaction * to_fill )
pure virtual

Read and fill a Transaction message with the supplied Transaction message global transaction ID.

Parameters
Globaltransaction ID to find
Pointerto a command message to fill
Return values
trueif Transaction message was read successfully and the supplied pointer to message was filled
falseif not found or read successfully

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