![]() |
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.
|


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) |
| OptimisticWriteCollection & | GetOptimisticCollection (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. | |
| OptimisticDataWriter & | GetOptimisticWriter () |
| Returns the optimistic writer. | |
| RowGroupCollection & | GetCollection () |
| OptimisticWriteCollection & | GetPrimaryCollection () |
Public Member Functions inherited from duckdb::enable_shared_from_this< LocalTableStorage > | |
| shared_ptr< LocalTableStorage > | shared_from_this () |
| shared_ptr< LocalTableStorage const > | shared_from_this () const |
Public Attributes | |
| QueryContext | context |
| reference< DataTable > | table_ref |
| Allocator & | allocator |
| unique_ptr< OptimisticWriteCollection > | row_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_this & | operator= (enable_shared_from_this const &) noexcept |
| 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.