![]() |
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.
|
Scanner used to skip lines in a CSV File. More...


Public Member Functions | |
| SkipScanner (shared_ptr< CSVBufferManager > buffer_manager, const shared_ptr< CSVStateMachine > &state_machine, shared_ptr< CSVErrorHandler > error_handler, idx_t rows_to_skip) | |
| SkipResult & | ParseChunk () override |
| Parses data into an output_chunk. | |
| SkipResult & | GetResult () override |
| Returns the result from the last Parse call. Shouts at you if you call it wrong. | |
| Public Member Functions inherited from duckdb::BaseScanner | |
| BaseScanner (shared_ptr< CSVBufferManager > buffer_manager, shared_ptr< CSVStateMachine > state_machine, shared_ptr< CSVErrorHandler > error_handler, bool sniffing=false, shared_ptr< CSVFileScan > csv_file_scan=nullptr, const CSVIterator &iterator={}) | |
| void | Print () const |
| bool | FinishedFile () const |
| Returns true if the scanner is finished. | |
| CSVIterator & | GetIterator () |
| void | SetIterator (const CSVIterator &it) |
| idx_t | GetBoundaryIndex () const |
| idx_t | GetLinesRead () const |
| CSVPosition | GetIteratorPosition () const |
| CSVStateMachine & | GetStateMachine () const |
Private Member Functions | |
| void | Initialize () override |
| void | FinalizeChunkProcess () override |
| Finalizes the process of the chunk. | |
Private Attributes | |
| SkipResult | result |
Additional Inherited Members | |
| Static Public Member Functions inherited from duckdb::BaseScanner | |
| static string | RemoveSeparator (const char *value_ptr, const idx_t size, char thousands_separator) |
| Removes thousands separator. | |
| static CSVIterator | SkipCSVRows (shared_ptr< CSVBufferManager > buffer_manager, const shared_ptr< CSVStateMachine > &state_machine, idx_t rows_to_skip) |
| static bool | ContainsZeroByte (uint64_t v) |
| Public Attributes inherited from duckdb::BaseScanner | |
| shared_ptr< CSVFileScan > | csv_file_scan |
| bool | sniffing = false |
| If this scanner is being used for sniffing. | |
| shared_ptr< CSVErrorHandler > | error_handler |
| The guy that handles errors. | |
| shared_ptr< CSVStateMachine > | state_machine |
| Shared pointer to the state machine, this is used across multiple scanners. | |
| CSVStates | states |
| States. | |
| bool | ever_quoted = false |
| If the scanner ever entered a quoted state. | |
| bool | ever_escaped = false |
| If the scanner ever entered an escaped state. | |
| bool | used_unstrictness = false |
| If the scanner ever used advantage of the non-strict mode. | |
| shared_ptr< CSVBufferManager > | buffer_manager |
| Shared pointer to the buffer_manager, this is shared across multiple scanners. | |
| Protected Member Functions inherited from duckdb::BaseScanner | |
| template<class T> | |
| void | Process (T &result) |
| Process one chunk. | |
| template<class T> | |
| void | ParseChunkInternal (T &result) |
| Internal function for parse chunk. | |
| Protected Attributes inherited from duckdb::BaseScanner | |
| CSVIterator | iterator |
| Boundaries of this scanner. | |
| shared_ptr< CSVBufferHandle > | cur_buffer_handle |
| char * | buffer_handle_ptr = nullptr |
| Hold the current buffer ptr. | |
| bool | initialized = false |
| If this scanner has been initialized. | |
| idx_t | lines_read = 0 |
| How many lines were read by this scanner. | |
| idx_t | bytes_read = 0 |
Scanner used to skip lines in a CSV File.
| duckdb::SkipScanner::SkipScanner | ( | shared_ptr< CSVBufferManager > | buffer_manager, |
| const shared_ptr< CSVStateMachine > & | state_machine, | ||
| shared_ptr< CSVErrorHandler > | error_handler, | ||
| idx_t | rows_to_skip ) |
|
overridevirtual |
Parses data into an output_chunk.
Reimplemented from duckdb::BaseScanner.


|
overridevirtual |
Returns the result from the last Parse call. Shouts at you if you call it wrong.
Reimplemented from duckdb::BaseScanner.
|
overrideprivatevirtual |
Internal Functions used to perform the parsing Initializes the scanner
Reimplemented from duckdb::BaseScanner.
|
overrideprivatevirtual |
Finalizes the process of the chunk.
Reimplemented from duckdb::BaseScanner.
