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

Classes | |
| struct | CachedCollection |
Public Member Functions | |
| DUCKDB_API | BatchedDataCollection (ClientContext &context, vector< LogicalType > types, ColumnDataAllocatorType allocator_type=ColumnDataAllocatorType::IN_MEMORY_ALLOCATOR, ColumnDataCollectionLifetime lifetime=ColumnDataCollectionLifetime::REGULAR) |
| DUCKDB_API | BatchedDataCollection (ClientContext &context, vector< LogicalType > types, QueryResultMemoryType memory_type) |
| DUCKDB_API | BatchedDataCollection (ClientContext &context, vector< LogicalType > types, batch_map_t batches, ColumnDataAllocatorType allocator_type=ColumnDataAllocatorType::IN_MEMORY_ALLOCATOR, ColumnDataCollectionLifetime lifetime=ColumnDataCollectionLifetime::REGULAR) |
| DUCKDB_API void | Append (DataChunk &input, idx_t batch_index) |
| Appends a datachunk with the given batch index to the batched collection. | |
| DUCKDB_API void | Merge (BatchedDataCollection &other) |
| Merge the other batched chunk collection into this batched collection. | |
| void | InitializeScan (BatchedChunkScanState &state, const BatchedChunkIteratorRange &range) |
| DUCKDB_API void | InitializeScan (BatchedChunkScanState &state) |
| Initialize a scan over the batched chunk collection. | |
| DUCKDB_API void | Scan (BatchedChunkScanState &state, DataChunk &output) |
| Scan a chunk from the batched chunk collection, in-order of batch index. | |
| DUCKDB_API unique_ptr< ColumnDataCollection > | FetchCollection () |
| Fetch a column data collection from the batched data collection - this consumes all of the data stored within. | |
| DUCKDB_API idx_t | Count () const |
| Inspect how many tuples this batched data collection contains. | |
| DUCKDB_API const vector< LogicalType > & | Types () const |
| Inspect the types of the collection. | |
| DUCKDB_API idx_t | BatchCount () const |
| Inspect how many batches this collection contains. | |
| DUCKDB_API idx_t | IndexToBatchIndex (idx_t index) const |
| Retrieve the batch index of the nth batch in the collection. | |
| DUCKDB_API idx_t | BatchSize (idx_t batch_index) const |
| Inspect how big a given batch is. | |
| const ColumnDataCollection & | Batch (idx_t batch_index) const |
| Inspect a given batch through a const reference. | |
| BatchedChunkIteratorRange | BatchRange (idx_t begin=0, idx_t end=DConstants::INVALID_INDEX) |
| Create an iterator range from the provided indices. | |
| DUCKDB_API string | ToString () const |
| DUCKDB_API void | Print () const |
Private Member Functions | |
| unique_ptr< ColumnDataCollection > | CreateCollection () const |
Private Attributes | |
| ClientContext & | context |
| vector< LogicalType > | types |
| ColumnDataAllocatorType | allocator_type |
| ColumnDataCollectionLifetime | lifetime |
| map< idx_t, unique_ptr< ColumnDataCollection > > | data |
| The data of the batched chunk collection - a set of batch_index -> ColumnDataCollection pointers. | |
| CachedCollection | last_collection |
| The last batch collection that was inserted into. | |
A BatchedDataCollection holds a number of data entries that are partitioned by batch index Scans over a BatchedDataCollection are ordered by batch index
| duckdb::BatchedDataCollection::BatchedDataCollection | ( | ClientContext & | context, |
| vector< LogicalType > | types, | ||
| ColumnDataAllocatorType | allocator_type = ColumnDataAllocatorType::IN_MEMORY_ALLOCATOR, | ||
| ColumnDataCollectionLifetime | lifetime = ColumnDataCollectionLifetime::REGULAR ) |
| duckdb::BatchedDataCollection::BatchedDataCollection | ( | ClientContext & | context, |
| vector< LogicalType > | types, | ||
| QueryResultMemoryType | memory_type ) |
| duckdb::BatchedDataCollection::BatchedDataCollection | ( | ClientContext & | context, |
| vector< LogicalType > | types, | ||
| batch_map_t | batches, | ||
| ColumnDataAllocatorType | allocator_type = ColumnDataAllocatorType::IN_MEMORY_ALLOCATOR, | ||
| ColumnDataCollectionLifetime | lifetime = ColumnDataCollectionLifetime::REGULAR ) |
Appends a datachunk with the given batch index to the batched collection.

| void duckdb::BatchedDataCollection::Merge | ( | BatchedDataCollection & | other | ) |
Merge the other batched chunk collection into this batched collection.
| void duckdb::BatchedDataCollection::InitializeScan | ( | BatchedChunkScanState & | state, |
| const BatchedChunkIteratorRange & | range ) |
| void duckdb::BatchedDataCollection::InitializeScan | ( | BatchedChunkScanState & | state | ) |
Initialize a scan over the batched chunk collection.

| void duckdb::BatchedDataCollection::Scan | ( | BatchedChunkScanState & | state, |
| DataChunk & | output ) |
Scan a chunk from the batched chunk collection, in-order of batch index.
| unique_ptr< ColumnDataCollection > duckdb::BatchedDataCollection::FetchCollection | ( | ) |
Fetch a column data collection from the batched data collection - this consumes all of the data stored within.
| idx_t duckdb::BatchedDataCollection::Count | ( | ) | const |
Inspect how many tuples this batched data collection contains.

| const vector< LogicalType > & duckdb::BatchedDataCollection::Types | ( | ) | const |
Inspect the types of the collection.
| idx_t duckdb::BatchedDataCollection::BatchCount | ( | ) | const |
Inspect how many batches this collection contains.
Retrieve the batch index of the nth batch in the collection.
Inspect how big a given batch is.

| const ColumnDataCollection & duckdb::BatchedDataCollection::Batch | ( | idx_t | batch_index | ) | const |
Inspect a given batch through a const reference.

| BatchedChunkIteratorRange duckdb::BatchedDataCollection::BatchRange | ( | idx_t | begin = 0, |
| idx_t | end = DConstants::INVALID_INDEX ) |
Create an iterator range from the provided indices.

| string duckdb::BatchedDataCollection::ToString | ( | ) | const |
| void duckdb::BatchedDataCollection::Print | ( | ) | const |
|
private |