![]() |
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 Attributes | |
| CompressionType | type |
| Compression type. | |
| PhysicalType | data_type |
| The data type this function can compress. | |
| compression_init_analyze_t | init_analyze |
| Analyze step: determine which compression function is the most effective init_analyze is called once to set up the analyze state. | |
| compression_analyze_t | analyze |
| analyze is called several times (once per vector in the row group) analyze should return true, unless compression is no longer possible with this compression method in that case false should be returned | |
| compression_final_analyze_t | final_analyze |
| final_analyze should return the score of the compression function ideally this is the exact number of bytes required to store the data this is not required/enforced: it can be an estimate as well also this function can return DConstants::INVALID_INDEX to skip this compression method | |
| compression_init_compression_t | init_compression |
| Compression step: actually compress the data init_compression is called once to set up the comperssion state. | |
| compression_compress_data_t | compress |
| compress is called several times (once per vector in the row group) | |
| compression_compress_finalize_t | compress_finalize |
| compress_finalize is called after | |
| compression_init_prefetch_t | init_prefetch |
| Initialize prefetch state with required I/O data to scan this segment. | |
| compression_init_segment_scan_t | init_scan |
| init_scan is called to set up the scan state | |
| compression_scan_vector_t | scan_vector |
| scan_vector scans an entire vector using the scan state | |
| compression_scan_partial_t | scan_partial |
| scan_partial scans a subset of a vector this can request > vector_size as well this is used if a vector crosses segment boundaries, or for child columns of lists | |
| compression_select_t | select |
| scan a subset of a vector | |
| compression_filter_t | filter |
| Scan and apply a filter to a vector while scanning. | |
| compression_fetch_row_t | fetch_row |
| fetch an individual row from the compressed vector used for index lookups | |
| compression_skip_t | skip |
| Skip forward in the compressed segment. | |
| compression_init_segment_t | init_segment |
| This only really needs to be defined for uncompressed segments. | |
| compression_init_append_t | init_append |
| Initialize the append state (optional). | |
| compression_append_t | append |
| Append to the compressed segment (optional). | |
| compression_finalize_append_t | finalize_append |
| Finalize an append to the segment. | |
| compression_revert_append_t | revert_append |
| Revert append (optional). | |
| compression_serialize_state_t | serialize_state |
| This is only necessary if the segment state has information that must be written to disk in the metadata. | |
| compression_deserialize_state_t | deserialize_state |
| Deserialize the segment state to the metadata (optional). | |
| compression_visit_block_ids_t | visit_block_ids |
| Iterate over any extra block ids used by the compression algorithm (optional). | |
| compression_get_segment_info_t | get_segment_info = nullptr |
| This is only necessary if you want to convey more information about the segment in the 'pragma_storage_info' result. | |
| CompressionValidity | validity = CompressionValidity::REQUIRES_VALIDITY |
| Whether the validity mask should be separately compressed or this compression function can also be used to decompress the validity. | |
|
inline |
| compression_init_segment_t duckdb::CompressionFunction::init_segment |
This only really needs to be defined for uncompressed segments.
Initialize a compressed segment (optional)
| compression_serialize_state_t duckdb::CompressionFunction::serialize_state |
This is only necessary if the segment state has information that must be written to disk in the metadata.
Serialize the segment state to the metadata (optional)
| compression_get_segment_info_t duckdb::CompressionFunction::get_segment_info = nullptr |
This is only necessary if you want to convey more information about the segment in the 'pragma_storage_info' result.
Get stringified segment information directly from reading the column segment