InfiniSQL
v0.1.2-alpha
Massive Scale Transaction Processing
|
Message variant for subtransactions. More...
#include <Message.h>
Classes | |
struct | subtransaction_s |
MessageSubtransactionCmd POD (serializable by memcpy) data members. More... | |
Public Member Functions | |
MessageSubtransactionCmd () | |
virtual | ~MessageSubtransactionCmd () |
size_t | size () |
get Message size More... | |
string * | ser () |
create string with serialized message More... | |
void | package (class SerializedMessage &serobj) |
serialize this More... | |
void | unpack (SerializedMessage &serobj) |
deserialize into this More... | |
void | clear () |
clear contents of this More... | |
Public Attributes | |
subtransaction_s | subtransactionStruct |
std::string | row |
fieldValue_s | fieldVal |
std::vector < nonLockingIndexEntry_s > | indexHits |
searchParams_s | searchParameters |
std::vector< int64_t > | rowids |
std::vector< returnRow_s > | returnRows |
Additional Inherited Members |
MessageSubtransactionCmd::MessageSubtransactionCmd | ( | ) |
Definition at line 432 of file Message.cc.
Referenced by SubTransaction::drainIndexLockQueue(), and SubTransaction::drainRowLockQueue().
|
virtual |
Definition at line 437 of file Message.cc.
void MessageSubtransactionCmd::clear | ( | ) |
clear contents of this
Definition at line 489 of file Message.cc.
References MessageTransaction::clear(), fieldVal, indexHits, returnRows, row, rowids, searchParameters, and subtransactionStruct.
void MessageSubtransactionCmd::package | ( | class SerializedMessage & | serobj) |
serialize this
serobj | SerializedMessage |
Definition at line 465 of file Message.cc.
References fieldVal, indexHits, MessageTransaction::package(), returnRows, row, rowids, searchParameters, SerializedMessage::ser(), and subtransactionStruct.
Referenced by ser().
string * MessageSubtransactionCmd::ser | ( | ) |
create string with serialized message
Definition at line 453 of file Message.cc.
References SerializedMessage::data, SerializedMessage::getpayloadtype(), logfile, package(), and SerializedMessage::pos.
size_t MessageSubtransactionCmd::size | ( | ) |
get Message size
Definition at line 441 of file Message.cc.
References fieldVal, indexHits, returnRows, row, rowids, searchParameters, SerializedMessage::sersize(), MessageTransaction::size(), and subtransactionStruct.
void MessageSubtransactionCmd::unpack | ( | SerializedMessage & | serobj) |
deserialize into this
serobj | SerializedMessage |
Definition at line 477 of file Message.cc.
References SerializedMessage::des(), fieldVal, indexHits, returnRows, row, rowids, searchParameters, subtransactionStruct, and MessageTransaction::unpack().
Referenced by Message::des().
fieldValue_s MessageSubtransactionCmd::fieldVal |
Definition at line 494 of file Message.h.
Referenced by clear(), Transaction::continueInsertRow(), Transaction::continueSqlInsert(), Transaction::continueSqlReplace(), Statement::continueUpdate(), Transaction::continueUpdateRow(), SubTransaction::drainIndexLockQueue(), package(), SubTransaction::processTransactionMessage(), ApiInterface::selectRows(), size(), and unpack().
std::vector<nonLockingIndexEntry_s> MessageSubtransactionCmd::indexHits |
Definition at line 495 of file Message.h.
Referenced by clear(), Transaction::continueSelectRows(), Transaction::continueSqlPredicate(), package(), SubTransaction::processTransactionMessage(), size(), and unpack().
std::vector<returnRow_s> MessageSubtransactionCmd::returnRows |
Definition at line 498 of file Message.h.
Referenced by clear(), Transaction::continueSelectRows(), Transaction::continueSqlPredicate(), SubTransaction::drainRowLockQueue(), package(), SubTransaction::processTransactionMessage(), size(), and unpack().
std::string MessageSubtransactionCmd::row |
Definition at line 493 of file Message.h.
Referenced by Statement::branchtotype(), clear(), Statement::continueUpdate(), Transaction::continueUpdateRow(), ApiInterface::insertRow(), package(), SubTransaction::processTransactionMessage(), Transaction::replace(), size(), and unpack().
std::vector<int64_t> MessageSubtransactionCmd::rowids |
Definition at line 497 of file Message.h.
Referenced by clear(), Transaction::continueSelectRows(), Transaction::continueSqlPredicate(), package(), SubTransaction::processTransactionMessage(), SubTransaction::searchReturn1(), size(), and unpack().
searchParams_s MessageSubtransactionCmd::searchParameters |
Definition at line 496 of file Message.h.
Referenced by clear(), package(), SubTransaction::processTransactionMessage(), Transaction::select(), ApiInterface::selectRows(), size(), Transaction::sqlPredicate(), Transaction::sqlSelectAll(), and unpack().
subtransaction_s MessageSubtransactionCmd::subtransactionStruct |
Definition at line 491 of file Message.h.
Referenced by Statement::branchtotype(), clear(), Statement::continueDelete(), Transaction::continueDeleteRow(), Transaction::continueInsertRow(), Transaction::continueReplaceRow(), Transaction::continueSelectRows(), Transaction::continueSqlDelete(), Transaction::continueSqlInsert(), Transaction::continueSqlPredicate(), Transaction::continueSqlReplace(), Transaction::continueSqlUpdate(), Statement::continueUpdate(), Transaction::continueUpdateRow(), ApiInterface::deleteRow(), SubTransaction::drainIndexLockQueue(), ApiInterface::insertRow(), package(), SubTransaction::processTransactionMessage(), Transaction::replace(), Transaction::select(), size(), Transaction::sqlPredicate(), Transaction::sqlSelectAll(), and unpack().