Public Member Functions | |
TransactionLogTransactionEntry (off_t in_offset, const drizzled::message::Transaction &transaction, uint32_t in_checksum) | |
off_t | getOffset () const |
uint32_t | getServerId () const |
uint64_t | getStartTimestamp () const |
uint64_t | getEndTimestamp () const |
uint64_t | getTransactionId () const |
uint64_t | getNumStatements () const |
uint32_t | getChecksum () const |
Private Attributes | |
off_t | offset |
Offset into the log file. | |
uint32_t | server_id |
The server ID that this transaction came from. | |
uint64_t | transaction_id |
The transaction's ID. | |
uint64_t | start_timestamp |
The transaction's start timestamp. | |
uint64_t | end_timestamp |
The transaction's end timestamp. | |
uint32_t | num_statements |
Number of Statements in the transaction. | |
uint32_t | checksum |
Checksum of the transaction message bytes. |
Definition at line 65 of file transaction_log_entry.h.
uint32_t TransactionLogTransactionEntry::getChecksum | ( | ) | const |
Returns the checksum for the transaction message bytes
Definition at line 122 of file transaction_log_entry.cc.
References checksum.
uint64_t TransactionLogTransactionEntry::getEndTimestamp | ( | ) | const |
Returns the transaction's end timestamp
Definition at line 112 of file transaction_log_entry.cc.
References end_timestamp.
uint64_t TransactionLogTransactionEntry::getNumStatements | ( | ) | const |
Returns the number of statements in the transaction
Definition at line 117 of file transaction_log_entry.cc.
References num_statements.
off_t TransactionLogTransactionEntry::getOffset | ( | ) | const |
Returns the entry's offset in the log
Definition at line 92 of file transaction_log_entry.cc.
References offset.
uint32_t TransactionLogTransactionEntry::getServerId | ( | ) | const |
Returns the transaction's server ID
Definition at line 102 of file transaction_log_entry.cc.
References server_id.
uint64_t TransactionLogTransactionEntry::getStartTimestamp | ( | ) | const |
Returns the transaction's start timestamp
Definition at line 107 of file transaction_log_entry.cc.
References start_timestamp.
uint64_t TransactionLogTransactionEntry::getTransactionId | ( | ) | const |
Returns the transaction's ID
Definition at line 97 of file transaction_log_entry.cc.
References transaction_id.