![]() |
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 | |
| TableIndexIterationHelper< IndexEntry > | IndexEntries () const |
| TableIndexIterationHelper< Index > | Indexes () const |
| void | AddIndex (unique_ptr< Index > index) |
| Adds an index entry to the list of index entries. | |
| void | RemoveIndex (const string &name) |
| Removes an index entry from the list of index entries. | |
| void | CommitDrop (const string &name) |
| Removes all remaining memory of an index after dropping the catalog entry. | |
| bool | NameIsUnique (const string &name) |
| Returns true, if the index name does not exist. | |
| optional_ptr< BoundIndex > | Find (const string &name) |
| Returns an optional pointer to the index matching the name. | |
| void | Bind (ClientContext &context, DataTableInfo &table_info, const char *index_type=nullptr) |
| Binds unbound indexes possibly present after loading an extension. | |
| bool | Empty () const |
| Returns true, if there are no index entries. | |
| idx_t | Count () const |
| Returns the number of index entries. | |
| bool | HasUnbound () const |
| Returns true, if there are unbound indexes. | |
| unordered_set< string > | DistinctIndexTypes () const |
| Returns the set of distinct index types across all bound indexes. | |
| void | Move (TableIndexList &other) |
| Overwrite this list with the other list. | |
| void | MergeCheckpointDeltas (transaction_t checkpoint_id) |
| Merge any changes added to deltas during a checkpoint back into the main indexes. | |
| optional_ptr< IndexEntry > | FindForeignKeyIndex (const vector< PhysicalIndex > &fk_keys, const ForeignKeyType fk_type) |
| Returns true, if all indexes Find the foreign key matching the keys. | |
| void | VerifyForeignKey (optional_ptr< LocalTableStorage > storage, const vector< PhysicalIndex > &fk_keys, DataChunk &chunk, ConflictManager &conflict_manager) |
| Verify a foreign key constraint. | |
| unordered_set< column_t > | GetRequiredColumns () |
| Get the combined column ids of the indexes. | |
| IndexSerializationResult | SerializeToDisk (QueryContext context, const IndexSerializationInfo &info) |
| Serialize all indexes of the table. | |
Static Public Member Functions | |
| static void | InitializeIndexChunk (DataChunk &index_chunk, const vector< LogicalType > &table_types, vector< StorageIndex > &mapped_column_ids, DataTableInfo &data_table_info) |
| Initialize an index_chunk from a table. | |
| static void | ReferenceIndexChunk (DataChunk &table_chunk, DataChunk &index_chunk, vector< StorageIndex > &mapped_column_ids) |
| Reference the indexed columns of a table chunk. | |
Private Attributes | |
| mutex | index_entries_lock |
| A lock to prevent any concurrent changes to the index entries. | |
| vector< unique_ptr< IndexEntry > > | index_entries |
| The index entries of the table. | |
| idx_t | unbound_count = 0 |
| Contains the number of unbound indexes. | |
| TableIndexIterationHelper< IndexEntry > duckdb::TableIndexList::IndexEntries | ( | ) | const |
| TableIndexIterationHelper< Index > duckdb::TableIndexList::Indexes | ( | ) | const |
| void duckdb::TableIndexList::AddIndex | ( | unique_ptr< Index > | index | ) |
Adds an index entry to the list of index entries.
| void duckdb::TableIndexList::RemoveIndex | ( | const string & | name | ) |
Removes an index entry from the list of index entries.
| void duckdb::TableIndexList::CommitDrop | ( | const string & | name | ) |
Removes all remaining memory of an index after dropping the catalog entry.
| bool duckdb::TableIndexList::NameIsUnique | ( | const string & | name | ) |
Returns true, if the index name does not exist.
| optional_ptr< BoundIndex > duckdb::TableIndexList::Find | ( | const string & | name | ) |
Returns an optional pointer to the index matching the name.
| void duckdb::TableIndexList::Bind | ( | ClientContext & | context, |
| DataTableInfo & | table_info, | ||
| const char * | index_type = nullptr ) |
Binds unbound indexes possibly present after loading an extension.

|
inline |
Returns true, if there are no index entries.

|
inline |
Returns the number of index entries.

|
inline |
Returns true, if there are unbound indexes.
| unordered_set< string > duckdb::TableIndexList::DistinctIndexTypes | ( | ) | const |
Returns the set of distinct index types across all bound indexes.
|
inline |
Overwrite this list with the other list.
| void duckdb::TableIndexList::MergeCheckpointDeltas | ( | transaction_t | checkpoint_id | ) |
Merge any changes added to deltas during a checkpoint back into the main indexes.
| optional_ptr< IndexEntry > duckdb::TableIndexList::FindForeignKeyIndex | ( | const vector< PhysicalIndex > & | fk_keys, |
| const ForeignKeyType | fk_type ) |
Returns true, if all indexes Find the foreign key matching the keys.

| void duckdb::TableIndexList::VerifyForeignKey | ( | optional_ptr< LocalTableStorage > | storage, |
| const vector< PhysicalIndex > & | fk_keys, | ||
| DataChunk & | chunk, | ||
| ConflictManager & | conflict_manager ) |
Verify a foreign key constraint.

| unordered_set< column_t > duckdb::TableIndexList::GetRequiredColumns | ( | ) |
Get the combined column ids of the indexes.

| IndexSerializationResult duckdb::TableIndexList::SerializeToDisk | ( | QueryContext | context, |
| const IndexSerializationInfo & | info ) |
Serialize all indexes of the table.
|
static |
Initialize an index_chunk from a table.


|
static |
Reference the indexed columns of a table chunk.
