![]() |
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.
|
#include <duckdb.hpp>


Classes | |
| class | StdOutWriteStream |
Public Member Functions | |
| StdOutLogStorage (DatabaseInstance &db) | |
| const string | GetStorageName () override |
Public Member Functions inherited from duckdb::CSVLogStorage | |
| CSVLogStorage (DatabaseInstance &db, bool normalize, idx_t buffer_size) | |
Public Member Functions inherited from duckdb::BufferingLogStorage | |
| BufferingLogStorage (DatabaseInstance &db_p, idx_t buffer_size, bool normalize) | |
| void | WriteLogEntry (timestamp_t timestamp, LogLevel level, const string &log_type, const string &log_message, const RegisteredLoggingContext &context) final |
| (Partially) Implements LogStorage API | |
| void | WriteLogEntries (DataChunk &chunk, const RegisteredLoggingContext &context) final |
| Write out the chunk to the buffers. | |
| void | FlushAll () final |
| Flushes buffers for all tables. | |
| void | Flush (LoggingTargetTable table) final |
| Flushes buffer for a specific table. | |
| void | Truncate () override |
| Truncates log storage: both buffers and persistent storage (if applicable) | |
| void | UpdateConfig (DatabaseInstance &db, case_insensitive_map_t< Value > &config) override |
| Apply a new log storage configuration. | |
| bool | IsEnabled (LoggingTargetTable table) override |
| Returns whether the table is enabled for this storage. | |
Public Member Functions inherited from duckdb::LogStorage | |
| virtual DUCKDB_API bool | CanScan (LoggingTargetTable table) |
| READING (OPTIONAL) | |
| virtual DUCKDB_API unique_ptr< LogStorageScanState > | CreateScanState (LoggingTargetTable table) const |
| virtual DUCKDB_API bool | Scan (LogStorageScanState &state, DataChunk &result) const |
| virtual DUCKDB_API void | InitializeScan (LogStorageScanState &state) const |
| virtual DUCKDB_API unique_ptr< TableRef > | BindReplace (ClientContext &context, TableFunctionBindInput &input, LoggingTargetTable table) |
Private Attributes | |
| StdOutWriteStream | stdout_stream |
Additional Inherited Members | |
Static Public Member Functions inherited from duckdb::LogStorage | |
| static vector< LogicalType > | GetSchema (LoggingTargetTable table) |
| static vector< string > | GetColumnNames (LoggingTargetTable table) |
Protected Member Functions inherited from duckdb::CSVLogStorage | |
| void | FlushChunk (LoggingTargetTable table, DataChunk &chunk) final |
| Implement the BufferingLogStorage interface. | |
| void | ResetAllBuffers () override |
| Resets all buffers and state. | |
| void | UpdateConfigInternal (DatabaseInstance &db, case_insensitive_map_t< Value > &config) override |
| Implements CSVLogStorage specific config handling. | |
| virtual void | BeforeFlush (LoggingTargetTable table, DataChunk &chunk) |
| Interface to child classes. | |
| virtual void | AfterFlush (LoggingTargetTable table, DataChunk &chunk) |
| void | RegisterWriter (LoggingTargetTable table, unique_ptr< CSVWriter > writer) |
| Helper functions. | |
| CSVWriter & | GetWriter (LoggingTargetTable table) |
| Returns the writer for a table. | |
| void | SetWriterConfigs (CSVWriter &Writer, vector< string > column_names) |
Configure a CSV writer by initializing its settings with the writer_options and reader_options settings. | |
| CSVWriterOptions & | GetCSVWriterOptions () |
| Allows child classes to manipulate options. | |
| CSVReaderOptions & | GetCSVReaderOptions () |
| Allows child classes to manipulate options. | |
Protected Member Functions inherited from duckdb::BufferingLogStorage | |
| void | FlushAllInternal () |
| Helper methods. | |
| void | FlushInternal (LoggingTargetTable table) |
| Flushes one of the tables. | |
| bool | IsEnabledInternal (LoggingTargetTable table) |
| Whether a specific table is available in the log storage. | |
| idx_t | GetBufferLimit () const |
Protected Attributes inherited from duckdb::BufferingLogStorage | |
| mutex | lock |
| bool | normalize_contexts = true |
Implements a stdout-based log storage using log lines written in CSV format to allow for easy parsing of the log messages Note that this only supports denormalized logging since there is only 1 practical output stream.
|
inlineoverridevirtual |
Implements duckdb::LogStorage.