Kùzu C++ API
Loading...
Searching...
No Matches
kuzu::storage::VersionInfo Class Reference

#include <version_info.h>

Public Member Functions

 VersionInfo ()
 
common::row_idx_t append (const transaction::Transaction *transaction, common::row_idx_t startRow, common::row_idx_t numRows)
 
bool delete_ (const transaction::Transaction *transaction, common::row_idx_t rowIdx)
 
void getSelVectorToScan (common::transaction_t startTS, common::transaction_t transactionID, common::SelectionVector &selVector, common::row_idx_t startRow, common::row_idx_t numRows) const
 
void clearVectorInfo (common::idx_t vectorIdx)
 
bool hasDeletions () const
 
common::row_idx_t getNumDeletions (const transaction::Transaction *transaction, common::row_idx_t startRow, common::length_t numRows) const
 
bool hasInsertions () const
 
bool isDeleted (const transaction::Transaction *transaction, common::row_idx_t rowInChunk) const
 
bool isInserted (const transaction::Transaction *transaction, common::row_idx_t rowInChunk) const
 
common::row_idx_t getNumDeletions (const transaction::Transaction *transaction) const
 
VectorVersionInfogetVectorVersionInfo (common::idx_t vectorIdx) const
 
common::idx_t getNumVectors () const
 
VectorVersionInfogetOrCreateVersionInfo (common::idx_t vectorIdx)
 
bool finalizeStatusFromVersions ()
 
void serialize (common::Serializer &serializer) const
 

Static Public Member Functions

static std::unique_ptr< VersionInfodeserialize (common::Deserializer &deSer)
 

Constructor & Destructor Documentation

◆ VersionInfo()

kuzu::storage::VersionInfo::VersionInfo ( )
inline

Member Function Documentation

◆ append()

common::row_idx_t kuzu::storage::VersionInfo::append ( const transaction::Transaction * transaction,
common::row_idx_t startRow,
common::row_idx_t numRows )

◆ clearVectorInfo()

void kuzu::storage::VersionInfo::clearVectorInfo ( common::idx_t vectorIdx)

◆ delete_()

bool kuzu::storage::VersionInfo::delete_ ( const transaction::Transaction * transaction,
common::row_idx_t rowIdx )

◆ deserialize()

static std::unique_ptr< VersionInfo > kuzu::storage::VersionInfo::deserialize ( common::Deserializer & deSer)
static

◆ finalizeStatusFromVersions()

bool kuzu::storage::VersionInfo::finalizeStatusFromVersions ( )

◆ getNumDeletions() [1/2]

common::row_idx_t kuzu::storage::VersionInfo::getNumDeletions ( const transaction::Transaction * transaction) const

◆ getNumDeletions() [2/2]

common::row_idx_t kuzu::storage::VersionInfo::getNumDeletions ( const transaction::Transaction * transaction,
common::row_idx_t startRow,
common::length_t numRows ) const

◆ getNumVectors()

common::idx_t kuzu::storage::VersionInfo::getNumVectors ( ) const
inline

◆ getOrCreateVersionInfo()

VectorVersionInfo & kuzu::storage::VersionInfo::getOrCreateVersionInfo ( common::idx_t vectorIdx)

◆ getSelVectorToScan()

void kuzu::storage::VersionInfo::getSelVectorToScan ( common::transaction_t startTS,
common::transaction_t transactionID,
common::SelectionVector & selVector,
common::row_idx_t startRow,
common::row_idx_t numRows ) const

◆ getVectorVersionInfo()

VectorVersionInfo * kuzu::storage::VersionInfo::getVectorVersionInfo ( common::idx_t vectorIdx) const

◆ hasDeletions()

bool kuzu::storage::VersionInfo::hasDeletions ( ) const

◆ hasInsertions()

bool kuzu::storage::VersionInfo::hasInsertions ( ) const

◆ isDeleted()

bool kuzu::storage::VersionInfo::isDeleted ( const transaction::Transaction * transaction,
common::row_idx_t rowInChunk ) const

◆ isInserted()

bool kuzu::storage::VersionInfo::isInserted ( const transaction::Transaction * transaction,
common::row_idx_t rowInChunk ) const

◆ serialize()

void kuzu::storage::VersionInfo::serialize ( common::Serializer & serializer) const

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