![]() |
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 | |
| UnboundIndex (unique_ptr< CreateInfo > create_info, IndexStorageInfo storage_info, TableIOManager &table_io_manager, AttachedDatabase &db) | |
| bool | IsBound () const override |
| Returns true if the index is a bound index, and false otherwise. | |
| const string & | GetIndexType () const override |
| The index type (ART, B+-tree, Skip-List, ...). | |
| const string & | GetIndexName () const override |
| The name of the index. | |
| IndexConstraintType | GetConstraintType () const override |
| The index constraint type. | |
| const CreateIndexInfo & | GetCreateInfo () const |
| const IndexStorageInfo & | GetStorageInfo () const |
| const vector< unique_ptr< ParsedExpression > > & | GetParsedExpressions () const |
| const string & | GetTableName () const |
| void | CommitDrop () override |
| void | BufferChunk (DataChunk &index_column_chunk, Vector &row_ids, const vector< StorageIndex > &mapped_column_ids_p, BufferedIndexReplay replay_type) |
| Buffer Index delete or insert (replay_type) data chunk. See note above on mapped_column_ids, this function assumes that index_column_chunk maps into mapped_column_ids_p to get the physical column index for each Indexed column in the chunk. | |
| bool | HasBufferedReplays () const |
| BufferedIndexReplays & | GetBufferedReplays () |
| const vector< StorageIndex > & | GetMappedColumnIds () const |
| Public Member Functions inherited from duckdb::Index | |
| bool | IsUnique () const |
| Returns unique flag. | |
| bool | IsPrimary () const |
| Returns primary key flag. | |
| bool | IsForeign () const |
| Returns foreign key flag. | |
| const vector< column_t > & | GetColumnIds () const |
| const unordered_set< column_t > & | GetColumnIdSet () const |
| template<class TARGET> | |
| TARGET & | Cast () |
| template<class TARGET> | |
| const TARGET & | Cast () const |
Private Attributes | |
| unique_ptr< CreateInfo > | create_info |
| The CreateInfo of the index. | |
| IndexStorageInfo | storage_info |
| The serialized storage information of the index. | |
| BufferedIndexReplays | buffered_replays |
| Buffered for index operations during WAL replay. They are replayed upon index binding. | |
| vector< StorageIndex > | mapped_column_ids |
| Maps the column IDs in the buffered replays to a physical table offset. For example, column [i] in a buffered ColumnDataCollection is the data for an Indexed column with physical table index mapped_column_ids[i]. This is in sorted order of physical column IDs. | |
Additional Inherited Members | |
| Public Attributes inherited from duckdb::Index | |
| TableIOManager & | table_io_manager |
| Associated table io manager. | |
| AttachedDatabase & | db |
| Attached database instance. | |
| Protected Member Functions inherited from duckdb::Index | |
| Index (const vector< column_t > &column_ids, TableIOManager &table_io_manager, AttachedDatabase &db) | |
| Protected Attributes inherited from duckdb::Index | |
| vector< column_t > | column_ids |
| The physical column ids of the indexed columns. For example, given a table with the following columns: (a INT, gen AS (2 * a), b INT, c VARCHAR), an index on columns (a,c) would have physical column_ids [0,2] (since the virtual column is skipped in the physical representation). Also see comments in bound_index.hpp to see how these column IDs are used in the context of bound/unbound expressions. Note that these are the columns for this Index, not all Indexes on the table. | |
| unordered_set< column_t > | column_id_set |
| Unordered set of column_ids used by the Index. | |
| duckdb::UnboundIndex::UnboundIndex | ( | unique_ptr< CreateInfo > | create_info, |
| IndexStorageInfo | storage_info, | ||
| TableIOManager & | table_io_manager, | ||
| AttachedDatabase & | db ) |
|
inlineoverridevirtual |
Returns true if the index is a bound index, and false otherwise.
Implements duckdb::Index.
|
inlineoverridevirtual |
The index type (ART, B+-tree, Skip-List, ...).
Implements duckdb::Index.
|
inlineoverridevirtual |
The name of the index.
Implements duckdb::Index.
|
inlineoverridevirtual |
The index constraint type.
Implements duckdb::Index.
|
inline |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Implements duckdb::Index.
| void duckdb::UnboundIndex::BufferChunk | ( | DataChunk & | index_column_chunk, |
| Vector & | row_ids, | ||
| const vector< StorageIndex > & | mapped_column_ids_p, | ||
| BufferedIndexReplay | replay_type ) |
Buffer Index delete or insert (replay_type) data chunk. See note above on mapped_column_ids, this function assumes that index_column_chunk maps into mapped_column_ids_p to get the physical column index for each Indexed column in the chunk.
First time we are buffering data, canonical column_id mapping is stored. This should be a sorted list of all the physical offsets of Indexed columns on this table.


|
inline |
|
inline |
|
inline |