#include <transaction.h>
|
| Transaction (main::ClientContext &clientContext, TransactionType transactionType, common::transaction_t transactionID, common::transaction_t startTS) |
|
| Transaction (TransactionType transactionType) noexcept |
|
| Transaction (TransactionType transactionType, common::transaction_t ID, common::transaction_t startTS) noexcept |
|
| ~Transaction () |
|
TransactionType | getType () const |
|
bool | isReadOnly () const |
|
bool | isWriteTransaction () const |
|
bool | isDummy () const |
|
bool | isRecovery () const |
|
common::transaction_t | getID () const |
|
common::transaction_t | getStartTS () const |
|
common::transaction_t | getCommitTS () const |
|
int64_t | getCurrentTS () const |
|
main::ClientContext * | getClientContext () const |
|
void | checkForceCheckpoint (common::StatementType statementType) |
|
bool | shouldAppendToUndoBuffer () const |
|
bool | shouldLogToWAL () const |
|
bool | shouldForceCheckpoint () const |
|
void | commit (storage::WAL *wal) const |
|
void | rollback (storage::WAL *wal) const |
|
uint64_t | getEstimatedMemUsage () const |
|
storage::LocalStorage * | getLocalStorage () const |
|
bool | hasNewlyInsertedNodes (common::table_id_t tableID) const |
|
void | setMaxCommittedNodeOffset (common::table_id_t tableID, common::offset_t offset) |
|
bool | isUnCommitted (common::table_id_t tableID, common::offset_t nodeOffset) const |
|
common::row_idx_t | getLocalRowIdx (common::table_id_t tableID, common::offset_t nodeOffset) const |
|
common::offset_t | getUncommittedOffset (common::table_id_t tableID, common::row_idx_t localRowIdx) const |
|
common::offset_t | getMinUncommittedNodeOffset (common::table_id_t tableID) const |
|
common::offset_t | getMaxCommittedNodeOffset (common::table_id_t tableID) const |
|
common::offset_t | getCommittedOffsetFromUncommitted (common::table_id_t tableID, common::offset_t uncommittedOffset) const |
|
void | pushCatalogEntry (catalog::CatalogSet &catalogSet, catalog::CatalogEntry &catalogEntry, bool skipLoggingToWAL=false) const |
|
void | pushSequenceChange (catalog::SequenceCatalogEntry *sequenceEntry, int64_t kCount, const catalog::SequenceRollbackData &data) const |
|
void | pushInsertInfo (storage::ChunkedNodeGroup *chunkedNodeGroup, common::row_idx_t startRow, common::row_idx_t numRows) const |
|
void | pushDeleteInfo (storage::ChunkedNodeGroup *chunkedNodeGroup, common::row_idx_t startRow, common::row_idx_t numRows) const |
|
void | pushVectorUpdateInfo (storage::UpdateInfo &updateInfo, common::idx_t vectorIdx, storage::VectorUpdateInfo &vectorUpdateInfo) const |
|
◆ Transaction() [1/3]
◆ Transaction() [2/3]
kuzu::transaction::Transaction::Transaction |
( |
TransactionType | transactionType | ) |
|
|
explicitnoexcept |
◆ Transaction() [3/3]
◆ ~Transaction()
kuzu::transaction::Transaction::~Transaction |
( |
| ) |
|
◆ checkForceCheckpoint()
◆ commit()
void kuzu::transaction::Transaction::commit |
( |
storage::WAL * | wal | ) |
const |
◆ getClientContext()
◆ getCommittedOffsetFromUncommitted()
◆ getCommitTS()
◆ getCurrentTS()
int64_t kuzu::transaction::Transaction::getCurrentTS |
( |
| ) |
const |
|
inline |
◆ getDummyTransactionFromExistingOne()
static Transaction kuzu::transaction::Transaction::getDummyTransactionFromExistingOne |
( |
const Transaction & | other | ) |
|
|
static |
◆ getEstimatedMemUsage()
uint64_t kuzu::transaction::Transaction::getEstimatedMemUsage |
( |
| ) |
const |
◆ getID()
◆ getLocalRowIdx()
◆ getLocalStorage()
storage::LocalStorage * kuzu::transaction::Transaction::getLocalStorage |
( |
| ) |
const |
|
inline |
◆ getMaxCommittedNodeOffset()
◆ getMinUncommittedNodeOffset()
◆ getStartTS()
◆ getType()
◆ getUncommittedOffset()
◆ hasNewlyInsertedNodes()
bool kuzu::transaction::Transaction::hasNewlyInsertedNodes |
( |
common::table_id_t | tableID | ) |
const |
|
inline |
◆ isDummy()
bool kuzu::transaction::Transaction::isDummy |
( |
| ) |
const |
|
inline |
◆ isReadOnly()
bool kuzu::transaction::Transaction::isReadOnly |
( |
| ) |
const |
|
inline |
◆ isRecovery()
bool kuzu::transaction::Transaction::isRecovery |
( |
| ) |
const |
|
inline |
◆ isUnCommitted()
◆ isWriteTransaction()
bool kuzu::transaction::Transaction::isWriteTransaction |
( |
| ) |
const |
|
inline |
◆ pushCatalogEntry()
void kuzu::transaction::Transaction::pushCatalogEntry |
( |
catalog::CatalogSet & | catalogSet, |
|
|
catalog::CatalogEntry & | catalogEntry, |
|
|
bool | skipLoggingToWAL = false ) const |
◆ pushDeleteInfo()
◆ pushInsertInfo()
◆ pushSequenceChange()
void kuzu::transaction::Transaction::pushSequenceChange |
( |
catalog::SequenceCatalogEntry * | sequenceEntry, |
|
|
int64_t | kCount, |
|
|
const catalog::SequenceRollbackData & | data ) const |
◆ pushVectorUpdateInfo()
void kuzu::transaction::Transaction::pushVectorUpdateInfo |
( |
storage::UpdateInfo & | updateInfo, |
|
|
common::idx_t | vectorIdx, |
|
|
storage::VectorUpdateInfo & | vectorUpdateInfo ) const |
◆ rollback()
void kuzu::transaction::Transaction::rollback |
( |
storage::WAL * | wal | ) |
const |
◆ setMaxCommittedNodeOffset()
◆ shouldAppendToUndoBuffer()
bool kuzu::transaction::Transaction::shouldAppendToUndoBuffer |
( |
| ) |
const |
|
inline |
◆ shouldForceCheckpoint()
bool kuzu::transaction::Transaction::shouldForceCheckpoint |
( |
| ) |
const |
◆ shouldLogToWAL()
bool kuzu::transaction::Transaction::shouldLogToWAL |
( |
| ) |
const |
◆ TransactionManager
friend class TransactionManager |
|
friend |
◆ DUMMY_START_TIMESTAMP
◆ DUMMY_TRANSACTION_ID
◆ START_TRANSACTION_ID
Initial value:=
uint64_t transaction_t
Definition types.h:61
The documentation for this class was generated from the following file: