|
| ChunkedNodeGroup (std::vector< std::unique_ptr< ColumnChunk > > chunks, common::row_idx_t startRowIdx, NodeGroupDataFormat format=NodeGroupDataFormat::REGULAR) |
|
| ChunkedNodeGroup (ChunkedNodeGroup &base, const std::vector< common::column_id_t > &selectedColumns) |
|
| ChunkedNodeGroup (const std::vector< common::LogicalType > &columnTypes, bool enableCompression, uint64_t capacity, common::row_idx_t startRowIdx, ResidencyState residencyState, NodeGroupDataFormat format=NodeGroupDataFormat::REGULAR) |
|
virtual | ~ChunkedNodeGroup ()=default |
|
common::idx_t | getNumColumns () const |
|
common::row_idx_t | getStartRowIdx () const |
|
common::row_idx_t | getNumRows () const |
|
common::row_idx_t | getCapacity () const |
|
const ColumnChunk & | getColumnChunk (const common::column_id_t columnID) const |
|
ColumnChunk & | getColumnChunk (const common::column_id_t columnID) |
|
std::unique_ptr< ColumnChunk > | moveColumnChunk (const common::column_id_t columnID) |
|
bool | isFullOrOnDisk () const |
|
ResidencyState | getResidencyState () const |
|
NodeGroupDataFormat | getFormat () const |
|
void | resetToEmpty () |
|
void | resetToAllNull () const |
|
void | resetNumRowsFromChunks () |
|
void | setNumRows (common::offset_t numRows_) |
|
void | resizeChunks (uint64_t newSize) |
|
void | setVersionInfo (std::unique_ptr< VersionInfo > versionInfo) |
|
void | resetVersionAndUpdateInfo () |
|
uint64_t | append (const transaction::Transaction *transaction, const std::vector< common::ValueVector * > &columnVectors, common::row_idx_t startRowInVectors, uint64_t numValuesToAppend) |
|
common::offset_t | append (const transaction::Transaction *transaction, const ChunkedNodeGroup &other, common::offset_t offsetInOtherNodeGroup, common::offset_t numRowsToAppend) |
|
common::offset_t | append (const transaction::Transaction *transaction, const std::vector< ColumnChunk * > &other, common::offset_t offsetInOtherNodeGroup, common::offset_t numRowsToAppend) |
|
void | write (const ChunkedNodeGroup &data, common::column_id_t offsetColumnID) |
|
void | scan (const transaction::Transaction *transaction, const TableScanState &scanState, const NodeGroupScanState &nodeGroupScanState, common::offset_t rowIdxInGroup, common::length_t numRowsToScan) const |
|
template<ResidencyState SCAN_RESIDENCY_STATE> |
void | scanCommitted (transaction::Transaction *transaction, TableScanState &scanState, NodeGroupScanState &nodeGroupScanState, ChunkedNodeGroup &output) const |
|
bool | hasUpdates () const |
|
common::row_idx_t | getNumDeletedRows (const transaction::Transaction *transaction) const |
|
common::row_idx_t | getNumUpdatedRows (const transaction::Transaction *transaction, common::column_id_t columnID) |
|
std::pair< std::unique_ptr< ColumnChunk >, std::unique_ptr< ColumnChunk > > | scanUpdates (transaction::Transaction *transaction, common::column_id_t columnID) |
|
bool | lookup (transaction::Transaction *transaction, const TableScanState &state, NodeGroupScanState &nodeGroupScanState, common::offset_t rowIdxInChunk, common::sel_t posInOutput) const |
|
void | update (transaction::Transaction *transaction, common::row_idx_t rowIdxInChunk, common::column_id_t columnID, const common::ValueVector &propertyVector) |
|
bool | delete_ (const transaction::Transaction *transaction, common::row_idx_t rowIdxInChunk) |
|
void | addColumn (transaction::Transaction *transaction, const TableAddColumnState &addColumnState, bool enableCompression, BMFileHandle *dataFH) |
|
bool | isDeleted (const transaction::Transaction *transaction, common::row_idx_t rowInChunk) const |
|
bool | isInserted (const transaction::Transaction *transaction, common::row_idx_t rowInChunk) const |
|
bool | hasAnyUpdates (const transaction::Transaction *transaction, common::column_id_t columnID, common::row_idx_t startRow, common::length_t numRows) const |
|
common::row_idx_t | getNumDeletions (const transaction::Transaction *transaction, common::row_idx_t startRow, common::length_t numRows) const |
|
bool | hasVersionInfo () const |
|
void | finalize () const |
|
virtual void | writeToColumnChunk (common::idx_t chunkIdx, common::idx_t vectorIdx, const std::vector< std::unique_ptr< ColumnChunk > > &data, ColumnChunk &offsetChunk) |
|
virtual std::unique_ptr< ChunkedNodeGroup > | flushAsNewChunkedNodeGroup (transaction::Transaction *transaction, BMFileHandle &dataFH) const |
|
virtual void | flush (BMFileHandle &dataFH) |
|
uint64_t | getEstimatedMemoryUsage () const |
|
virtual void | serialize (common::Serializer &serializer) const |
|
template<class TARGET > |
TARGET & | cast () |
|
template<class TARGETT > |
const TARGETT & | cast () const |
|