11namespace transaction {
28 std::array<common::transaction_t, common::DEFAULT_VECTOR_CAPACITY>
deletedVersions;
110 std::vector<std::unique_ptr<VectorVersionInfo>> vectorsInfo;
Definition deserializer.h:15
Definition sel_vector.h:12
Definition serializer.h:15
Definition version_info.h:75
bool isDeleted(const transaction::Transaction *transaction, common::row_idx_t rowInChunk) const
common::row_idx_t append(const transaction::Transaction *transaction, common::row_idx_t startRow, common::row_idx_t numRows)
void clearVectorInfo(common::idx_t vectorIdx)
bool delete_(const transaction::Transaction *transaction, common::row_idx_t rowIdx)
VectorVersionInfo & getOrCreateVersionInfo(common::idx_t vectorIdx)
common::row_idx_t getNumDeletions(const transaction::Transaction *transaction) const
common::row_idx_t getNumDeletions(const transaction::Transaction *transaction, common::row_idx_t startRow, common::length_t numRows) const
bool finalizeStatusFromVersions()
bool isInserted(const transaction::Transaction *transaction, common::row_idx_t rowInChunk) const
VectorVersionInfo * getVectorVersionInfo(common::idx_t vectorIdx) const
common::idx_t getNumVectors() const
Definition version_info.h:101
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 serialize(common::Serializer &serializer) const
static std::unique_ptr< VersionInfo > deserialize(common::Deserializer &deSer)
bool hasInsertions() const
bool hasDeletions() const
VersionInfo()
Definition version_info.h:77
Definition transaction.h:28
uint64_t length_t
Definition types.h:53
uint32_t idx_t
Definition types.h:39
constexpr transaction_t INVALID_TRANSACTION
Definition types.h:58
uint64_t transaction_t
Definition types.h:57
uint64_t sel_t
Definition types.h:24
uint64_t row_idx_t
Definition types.h:46
Definition alter_type.h:5
Definition version_info.h:17
bool finalizeStatusFromVersions()
VectorVersionInfo()
Definition version_info.h:32
void getSelVectorForScan(common::transaction_t startTS, common::transaction_t transactionID, common::SelectionVector &selVector, common::row_idx_t startRow, common::row_idx_t numRows, common::sel_t startOutputPos) const
std::array< common::transaction_t, common::DEFAULT_VECTOR_CAPACITY > deletedVersions
Definition version_info.h:28
static std::unique_ptr< VectorVersionInfo > deSerialize(common::Deserializer &deSer)
DELETE_COPY_DEFAULT_MOVE(VectorVersionInfo)
DeletionStatus
Definition version_info.h:21
InsertionStatus
Definition version_info.h:18
bool anyVersions() const
Definition version_info.h:40
std::array< common::transaction_t, common::DEFAULT_VECTOR_CAPACITY > insertedVersions
Definition version_info.h:27
common::row_idx_t append(common::transaction_t transactionID, common::row_idx_t startRow, common::row_idx_t numRows)
bool isDeleted(common::transaction_t startTS, common::transaction_t transactionID, common::row_idx_t rowIdx) const
common::row_idx_t getNumDeletions(common::transaction_t startTS, common::transaction_t transactionID, common::row_idx_t startRow, common::length_t numRows) const
void serialize(common::Serializer &serializer) const
bool delete_(common::transaction_t transactionID, common::row_idx_t rowIdx)
void rollbackInsertions(common::row_idx_t startRowInVector, common::row_idx_t numRows)
InsertionStatus insertionStatus
Definition version_info.h:29
DeletionStatus deletionStatus
Definition version_info.h:30
void rollbackDeletions(common::row_idx_t startRowInVector, common::row_idx_t numRows)
common::row_idx_t numCommittedDeletions(const transaction::Transaction *transaction) const
bool isInserted(common::transaction_t startTS, common::transaction_t transactionID, common::row_idx_t rowIdx) const