|
| | RowIdColumnData (BlockManager &block_manager, DataTableInfo &info) |
| void | InitializePrefetch (PrefetchState &prefetch_state, ColumnScanState &scan_state, idx_t rows) override |
| | Initialize prefetch state with required I/O data for the next N rows.
|
| void | InitializeScan (ColumnScanState &state) override |
| | Initialize a scan of the column.
|
| void | InitializeScanWithOffset (ColumnScanState &state, idx_t row_idx) override |
| | Initialize a scan starting at the specified offset.
|
| idx_t | Scan (TransactionData transaction, idx_t vector_index, ColumnScanState &state, Vector &result, idx_t scan_count) override |
| void | ScanCommittedRange (idx_t row_group_start, idx_t offset_in_row_group, idx_t count, Vector &result) override |
| idx_t | ScanCount (ColumnScanState &state, Vector &result, idx_t count, idx_t result_offset=0) override |
| void | Filter (TransactionData transaction, idx_t vector_index, ColumnScanState &state, Vector &result, SelectionVector &sel, idx_t &count, const TableFilter &filter, TableFilterState &filter_state) override |
| | Select.
|
| void | Select (TransactionData transaction, idx_t vector_index, ColumnScanState &state, Vector &result, SelectionVector &sel, idx_t count) override |
| idx_t | Fetch (ColumnScanState &state, row_t row_id, Vector &result) override |
| | Fetch the vector from the column data that belongs to this specific row.
|
| void | FetchRow (TransactionData transaction, ColumnFetchState &state, const StorageIndex &storage_index, row_t row_id, Vector &result, idx_t result_idx) override |
| | Fetch a specific row id and append it to the vector.
|
| void | Skip (ColumnScanState &state, idx_t count=STANDARD_VECTOR_SIZE) override |
| | Skip the scan forward by "count" rows.
|
| FilterPropagateResult | CheckZonemap (ColumnScanState &state, TableFilter &filter) override |
| void | InitializeAppend (ColumnAppendState &state) override |
| | Initialize an appending phase for this column.
|
| void | Append (BaseStatistics &stats, ColumnAppendState &state, Vector &vector, idx_t count) override |
| | Append a vector of type [type] to the end of the column.
|
| void | AppendData (BaseStatistics &stats, ColumnAppendState &state, UnifiedVectorFormat &vdata, idx_t count) override |
| void | RevertAppend (row_t new_count) override |
| | Revert a set of appends to the ColumnData.
|
| void | Update (TransactionData transaction, DataTable &data_table, idx_t column_index, Vector &update_vector, row_t *row_ids, idx_t update_count, idx_t row_group_start) override |
| void | UpdateColumn (TransactionData transaction, DataTable &data_table, const vector< column_t > &column_path, Vector &update_vector, row_t *row_ids, idx_t update_count, idx_t depth, idx_t row_group_start) override |
| void | VisitBlockIds (BlockIdVisitor &visitor) const override |
| unique_ptr< ColumnCheckpointState > | CreateCheckpointState (const RowGroup &row_group, PartialBlockManager &partial_block_manager) override |
| unique_ptr< ColumnCheckpointState > | Checkpoint (const RowGroup &row_group, ColumnCheckpointInfo &info, const BaseStatistics &old_stats) override |
| void | CheckpointScan (ColumnSegment &segment, ColumnScanState &state, idx_t count, Vector &scan_vector) const override |
| bool | IsPersistent () override |
| Public Member Functions inherited from duckdb::ColumnData |
| | ColumnData (BlockManager &block_manager, DataTableInfo &info, idx_t column_index, LogicalType type, ColumnDataType data_type, optional_ptr< ColumnData > parent) |
| BlockManager & | GetBlockManager () const |
| DatabaseInstance & | GetDatabase () const |
| DataTableInfo & | GetTableInfo () const |
| StorageManager & | GetStorageManager () const |
| virtual idx_t | GetMaxEntry () |
| idx_t | GetAllocationSize () const |
| optional_ptr< const CompressionFunction > | GetCompressionFunction () const |
| virtual void | SetDataType (ColumnDataType data_type) |
| ColumnDataType | GetDataType () const |
| bool | HasParent () const |
| void | SetParent (optional_ptr< ColumnData > parent) |
| const ColumnData & | Parent () const |
| virtual const BaseStatistics & | GetChildStats (const ColumnData &child) const |
| const LogicalType & | GetType () const |
| ColumnSegmentTree & | GetSegmentTree () |
| void | SetCount (idx_t new_count) |
| bool | HasUpdates () const |
| | Whether or not the column has any updates.
|
| bool | HasChanges (idx_t start_row, idx_t end_row) const |
| bool | HasChanges () const |
| | Whether or not the column has changes at this level.
|
| virtual bool | HasAnyChanges () const |
| | Whether or not the column has ANY changes, including in child columns.
|
| virtual ScanVectorType | GetVectorScanType (ColumnScanState &state, idx_t scan_count, Vector &result) |
| | Whether or not we can scan an entire vector.
|
| idx_t | Scan (TransactionData transaction, idx_t vector_index, ColumnScanState &state, Vector &result) |
| | Scan the next vector from the column.
|
| void | Append (ColumnAppendState &state, Vector &vector, idx_t count) |
| | Append a vector of type [type] to the end of the column.
|
| virtual unique_ptr< BaseStatistics > | GetUpdateStatistics () |
| unique_ptr< ColumnCheckpointState > | Checkpoint (const RowGroup &row_group, ColumnCheckpointInfo &info) |
| | If this is a nested column, "stats" are the corresponding statistics from the parent column Otherwise, "stats" == this->statistics->stats.
|
| vector< DataPointer > | GetDataPointers () |
| virtual PersistentColumnData | Serialize () |
| void | InitializeColumn (PersistentColumnData &column_data) |
| virtual void | InitializeColumn (PersistentColumnData &column_data, BaseStatistics &target_stats) |
| virtual void | GetColumnSegmentInfo (const QueryContext &context, idx_t row_group_index, vector< idx_t > col_path, vector< ColumnSegmentInfo > &result) |
| virtual void | Verify (RowGroup &parent) |
| FilterPropagateResult | CheckZonemap (const StorageIndex &index, TableFilter &filter) |
| void | MergeStatistics (const BaseStatistics &other) |
| void | MergeIntoStatistics (BaseStatistics &other) |
| unique_ptr< BaseStatistics > | GetStatistics () const |
| const BaseStatistics & | GetStatisticsRef () const |
| template<class TARGET> |
| TARGET & | Cast () |
| template<class TARGET> |
| const TARGET & | Cast () const |
| shared_ptr< ColumnData > | shared_from_this () |
|
| Static Public Member Functions inherited from duckdb::ColumnData |
| static shared_ptr< ColumnData > | Deserialize (BlockManager &block_manager, DataTableInfo &info, idx_t column_index, ReadStream &source, const LogicalType &type) |
| static shared_ptr< ColumnData > | CreateColumn (BlockManager &block_manager, DataTableInfo &info, idx_t column_index, const LogicalType &type, ColumnDataType data_type=ColumnDataType::MAIN_TABLE, optional_ptr< ColumnData > parent=nullptr) |
| Public Attributes inherited from duckdb::ColumnData |
|
atomic< idx_t > | count |
| | The count of the column data.
|
|
BlockManager & | block_manager |
| | The block manager.
|
|
DataTableInfo & | info |
| | Table info for the column.
|
|
idx_t | column_index |
| | The column index of the column, either within the parent table or within the parent.
|
|
LogicalType | type |
| | The type of the column.
|
| Protected Member Functions inherited from duckdb::ColumnData |
| void | AppendTransientSegment (SegmentLock &l, idx_t start_row) |
| | Append a transient segment.
|
| void | AppendSegment (SegmentLock &l, unique_ptr< ColumnSegment > segment) |
| void | BeginScanVectorInternal (ColumnScanState &state) |
| idx_t | ScanVector (ColumnScanState &state, Vector &result, idx_t remaining, ScanVectorType scan_type, idx_t result_offset=0) |
| | Scans a base vector from the column.
|
| idx_t | ScanVector (TransactionData transaction, idx_t vector_index, ColumnScanState &state, Vector &result, idx_t target_scan, ScanVectorType scan_type, UpdateScanType update_type) |
| | Scans a vector from the column merged with any potential updates.
|
| idx_t | ScanVector (TransactionData transaction, idx_t vector_index, ColumnScanState &state, Vector &result, idx_t target_scan, UpdateScanType update_type) |
| void | SelectVector (ColumnScanState &state, Vector &result, idx_t target_count, const SelectionVector &sel, idx_t sel_count) |
| void | FilterVector (ColumnScanState &state, Vector &result, idx_t target_count, SelectionVector &sel, idx_t &sel_count, const TableFilter &filter, TableFilterState &filter_state) |
| void | FetchUpdates (TransactionData transaction, idx_t vector_index, Vector &result, idx_t scan_count, UpdateScanType update_type) |
| void | FetchUpdateRow (TransactionData transaction, row_t row_id, Vector &result, idx_t result_idx) |
| void | UpdateInternal (TransactionData transaction, DataTable &data_table, idx_t column_index, Vector &update_vector, row_t *row_ids, idx_t update_count, Vector &base_vector, idx_t row_group_start) |
| idx_t | FetchUpdateData (ColumnScanState &state, row_t *row_ids, Vector &base_vector, idx_t row_group_start) |
| idx_t | GetVectorCount (idx_t vector_index) const |
| enable_shared_from_this & | operator= (enable_shared_from_this const &) noexcept |
| Protected Attributes inherited from duckdb::ColumnData |
|
ColumnSegmentTree | data |
| | The segments holding the data of this column segment.
|
|
mutex | update_lock |
| | The lock for the updates.
|
|
unique_ptr< UpdateSegment > | updates |
| | The updates for this column segment.
|
|
mutex | stats_lock |
| | The lock for the stats.
|
|
atomic< idx_t > | allocation_size |
| | Total transient allocation size.
|
|
unique_ptr< SegmentStatistics > | stats |
| | The stats of the root segment.
|