![]() |
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 | |
| BaseFileReader (OpenFileInfo file_p) | |
| const vector< MultiFileColumnDefinition > & | GetColumns () const |
| const string & | GetFileName () const |
| virtual bool | UseCastMap () const |
| virtual void | AddVirtualColumn (column_t virtual_column_id) |
| Adds a virtual column to be projected at the end. | |
| virtual DUCKDB_API shared_ptr< BaseUnionData > | GetUnionData (idx_t file_idx) |
| virtual DUCKDB_API unique_ptr< BaseStatistics > | GetStatistics (ClientContext &context, const string &name) |
| Get statistics for a specific column. | |
| virtual DUCKDB_API void | PrepareReader (ClientContext &context, GlobalTableFunctionState &) |
| Prepare reader for scanning. | |
| virtual bool | TryInitializeScan (ClientContext &context, GlobalTableFunctionState &gstate, LocalTableFunctionState &lstate)=0 |
| Try to initialize a scan over the reader - this is done while the global lock is held. | |
| virtual void | PrepareScan (ClientContext &context, GlobalTableFunctionState &gstate, LocalTableFunctionState &lstate) |
| Prepare a scan - called after TryInitializeScan succeeds - this is done without any lock held. | |
| virtual AsyncResult | Scan (ClientContext &context, GlobalTableFunctionState &global_state, LocalTableFunctionState &local_state, DataChunk &chunk)=0 |
| Scan a chunk from the read state. | |
| virtual DUCKDB_API void | FinishFile (ClientContext &context, GlobalTableFunctionState &gstate) |
| Finish scanning a given file. | |
| virtual DUCKDB_API double | GetProgressInFile (ClientContext &context) |
| Get progress within a given file. | |
| virtual string | GetReaderType () const =0 |
| template<class TARGET> | |
| TARGET & | Cast () |
| template<class TARGET> | |
| const TARGET & | Cast () const |
| Public Member Functions inherited from duckdb::enable_shared_from_this< BaseFileReader > | |
| shared_ptr< BaseFileReader > | shared_from_this () |
Public Attributes | |
| OpenFileInfo | file |
| The file we are reading. | |
| optional_idx | file_list_idx |
| (Optionally) The file index (generated by the multi file reader) | |
| vector< MultiFileColumnDefinition > | columns |
| The set of columns for the current file. | |
| MultiFileLocalColumnIds< MultiFileLocalColumnId > | column_ids |
| The column ids to read from the file. | |
| vector< ColumnIndex > | column_indexes |
| The column indexes to read from the file. | |
| unique_ptr< TableFilterSet > | filters |
| The set of table filters (adjusted to local indexes). | |
| unordered_map< column_t, unique_ptr< Expression > > | expression_map |
| unordered_map< column_t, LogicalType > | cast_map |
| The final types for various expressions - this is ONLY used if UseCastMap() is explicitly enabled. | |
| unique_ptr< DeleteFilter > | deletion_filter |
| (Optionally) The deletion filter (generated by the multi file reader) | |
Additional Inherited Members | |
| Protected Member Functions inherited from duckdb::enable_shared_from_this< BaseFileReader > | |
| enable_shared_from_this & | operator= (enable_shared_from_this const &) noexcept |
Parent class of single-file readers - this must be inherited from for readers implementing the MultiFileReader interface
|
inlineexplicit |
|
inline |
|
inline |
|
inlinevirtual |
Whether or not to push casts into the cast map
Reimplemented in duckdb::CSVFileScan.
|
inlinevirtual |
Adds a virtual column to be projected at the end.
Reimplemented in duckdb::DuckDBReader.
|
virtual |
|
virtual |
Get statistics for a specific column.
Reimplemented in duckdb::DirectFileReader, and duckdb::DuckDBReader.

|
virtual |
|
pure virtual |
Try to initialize a scan over the reader - this is done while the global lock is held.
Implemented in duckdb::CSVFileScan, duckdb::DirectFileReader, and duckdb::DuckDBReader.
|
virtual |
Prepare a scan - called after TryInitializeScan succeeds - this is done without any lock held.
|
pure virtual |
Scan a chunk from the read state.
Implemented in duckdb::CSVFileScan, duckdb::DirectFileReader, and duckdb::DuckDBReader.
|
virtual |
Finish scanning a given file.
Reimplemented in duckdb::CSVFileScan, duckdb::DirectFileReader, and duckdb::DuckDBReader.
|
virtual |
Get progress within a given file.
Reimplemented in duckdb::CSVFileScan, and duckdb::DuckDBReader.

|
inline |
|
inline |
| unordered_map<column_t, unique_ptr<Expression> > duckdb::BaseFileReader::expression_map |
Expression to execute for a given column (BEFORE executing the filter) NOTE: this is only set when we have filters - it can be ignored for readers that don't have filter pushdown