Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::LocalTableStorage Class Reference
Inheritance diagram for duckdb::LocalTableStorage:
Collaboration diagram for duckdb::LocalTableStorage:

Public Member Functions

 LocalTableStorage (ClientContext &context, DataTable &table)
 
 LocalTableStorage (ClientContext &context, DataTable &new_data_table, LocalTableStorage &parent, const idx_t alter_column_index, const LogicalType &target_type, const vector< StorageIndex > &bound_columns, Expression &cast_expr)
 Create a LocalTableStorage from an ALTER TYPE.
 
 LocalTableStorage (DataTable &new_data_table, LocalTableStorage &parent, const idx_t drop_column_index)
 Create a LocalTableStorage from a DROP COLUMN.
 
 LocalTableStorage (ClientContext &context, DataTable &table, LocalTableStorage &parent, ColumnDefinition &new_column, ExpressionExecutor &default_executor)
 
void InitializeScan (CollectionScanState &state, optional_ptr< TableFilterSet > table_filters=nullptr)
 
void WriteNewRowGroup ()
 Write a new row group to disk (if possible)
 
void FlushBlocks ()
 
void Rollback ()
 
idx_t EstimatedSize ()
 
void AppendToIndexes (DuckTransaction &transaction, TableAppendState &append_state)
 
void AppendToTable (DuckTransaction &transaction, TableAppendState &append_state)
 
ErrorData AppendToIndexes (DuckTransaction &transaction, RowGroupCollection &source, TableIndexList &index_list, const vector< LogicalType > &table_types, row_t &start_row)
 
void AppendToDeleteIndexes (Vector &row_ids, DataChunk &delete_chunk)
 
PhysicalIndex CreateOptimisticCollection (unique_ptr< OptimisticWriteCollection > collection)
 
OptimisticWriteCollectionGetOptimisticCollection (const PhysicalIndex collection_index)
 Returns the optimistic row group collection corresponding to the index.
 
void ResetOptimisticCollection (const PhysicalIndex collection_index)
 Resets the optimistic row group collection corresponding to the index.
 
OptimisticDataWriterGetOptimisticWriter ()
 Returns the optimistic writer.
 
RowGroupCollectionGetCollection ()
 
OptimisticWriteCollectionGetPrimaryCollection ()
 
- Public Member Functions inherited from duckdb::enable_shared_from_this< LocalTableStorage >
shared_ptr< LocalTableStorageshared_from_this ()
 
shared_ptr< LocalTableStorage constshared_from_this () const
 

Public Attributes

QueryContext context
 
reference< DataTabletable_ref
 
Allocatorallocator
 
unique_ptr< OptimisticWriteCollectionrow_groups
 The main row group collection.
 
TableIndexList append_indexes
 The set of unique append indexes.
 
TableIndexList delete_indexes
 The set of delete indexes.
 
IndexAppendMode index_append_mode = IndexAppendMode::DEFAULT
 Set to INSERT_DUPLICATES, if we are skipping constraint checking during, e.g., WAL replay.
 
idx_t deleted_rows
 The number of deleted rows.
 
vector< unique_ptr< OptimisticWriteCollection > > optimistic_collections
 The optimistic row group collections associated with this table.
 
OptimisticDataWriter optimistic_writer
 The main optimistic data writer associated with this table.
 
bool is_dropped = false
 Whether or not the storage was dropped.
 

Private Attributes

mutex collections_lock
 

Additional Inherited Members

- Protected Member Functions inherited from duckdb::enable_shared_from_this< LocalTableStorage >
 enable_shared_from_this (enable_shared_from_this const &) noexcept
 
enable_shared_from_thisoperator= (enable_shared_from_this const &) noexcept
 

Member Function Documentation

◆ CreateOptimisticCollection()

PhysicalIndex duckdb::LocalTableStorage::CreateOptimisticCollection ( unique_ptr< OptimisticWriteCollection collection)

Create an optimistic row group collection for this table. Returns the index into the optimistic_collections vector for newly created collection.


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