Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::transaction::TransactionContext Class Reference

#include <transaction_context.h>

Public Member Functions

 TransactionContext (main::ClientContext &clientContext)
 
 ~TransactionContext ()
 
bool isAutoTransaction () const
 
void beginReadTransaction ()
 
void beginWriteTransaction ()
 
void beginAutoTransaction (bool readOnlyStatement)
 
void beginRecoveryTransaction ()
 
void validateManualTransaction (bool readOnlyStatement) const
 
void commit ()
 
void rollback ()
 
TransactionMode getTransactionMode () const
 
bool hasActiveTransaction () const
 
TransactiongetActiveTransaction () const
 

Constructor & Destructor Documentation

◆ TransactionContext()

kuzu::transaction::TransactionContext::TransactionContext ( main::ClientContext & clientContext)
explicit

◆ ~TransactionContext()

kuzu::transaction::TransactionContext::~TransactionContext ( )

Member Function Documentation

◆ beginAutoTransaction()

void kuzu::transaction::TransactionContext::beginAutoTransaction ( bool readOnlyStatement)

◆ beginReadTransaction()

void kuzu::transaction::TransactionContext::beginReadTransaction ( )

◆ beginRecoveryTransaction()

void kuzu::transaction::TransactionContext::beginRecoveryTransaction ( )

◆ beginWriteTransaction()

void kuzu::transaction::TransactionContext::beginWriteTransaction ( )

◆ commit()

void kuzu::transaction::TransactionContext::commit ( )

◆ getActiveTransaction()

Transaction * kuzu::transaction::TransactionContext::getActiveTransaction ( ) const
inline

◆ getTransactionMode()

TransactionMode kuzu::transaction::TransactionContext::getTransactionMode ( ) const
inline

◆ hasActiveTransaction()

bool kuzu::transaction::TransactionContext::hasActiveTransaction ( ) const
inline

◆ isAutoTransaction()

bool kuzu::transaction::TransactionContext::isAutoTransaction ( ) const
inline

◆ rollback()

void kuzu::transaction::TransactionContext::rollback ( )

◆ validateManualTransaction()

void kuzu::transaction::TransactionContext::validateManualTransaction ( bool readOnlyStatement) const

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