![]() |
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.
|
List column data represents a list. More...


Public Member Functions | |
| ListColumnData (BlockManager &block_manager, DataTableInfo &info, idx_t column_index, LogicalType type, ColumnDataType data_type, optional_ptr< ColumnData > parent) | |
| void | SetDataType (ColumnDataType data_type) override |
| FilterPropagateResult | CheckZonemap (ColumnScanState &state, TableFilter &filter) override |
| void | InitializePrefetch (PrefetchState &prefetch_state, ColumnScanState &scan_state, idx_t rows) override |
| Initialize prefetch state with required I/O data for the next N rows. | |
| void | InitializeScan (ColumnScanState &state) override |
| Initialize a scan of the column. | |
| void | InitializeScanWithOffset (ColumnScanState &state, idx_t row_idx) override |
| Initialize a scan starting at the specified offset. | |
| idx_t | Scan (TransactionData transaction, idx_t vector_index, ColumnScanState &state, Vector &result, idx_t scan_count) override |
| idx_t | ScanCount (ColumnScanState &state, Vector &result, idx_t count, idx_t result_offset=0) override |
| void | Skip (ColumnScanState &state, idx_t count=STANDARD_VECTOR_SIZE) override |
| Skip the scan forward by "count" rows. | |
| void | InitializeAppend (ColumnAppendState &state) override |
| Initialize an appending phase for this column. | |
| void | Append (BaseStatistics &stats, ColumnAppendState &state, Vector &vector, idx_t count) override |
| Append a vector of type [type] to the end of the column. | |
| void | RevertAppend (row_t new_count) override |
| Revert a set of appends to the ColumnData. | |
| idx_t | Fetch (ColumnScanState &state, row_t row_id, Vector &result) override |
| Fetch the vector from the column data that belongs to this specific row. | |
| void | FetchRow (TransactionData transaction, ColumnFetchState &state, const StorageIndex &storage_index, row_t row_id, Vector &result, idx_t result_idx) override |
| Fetch a specific row id and append it to the vector. | |
| void | Update (TransactionData transaction, DataTable &data_table, idx_t column_index, Vector &update_vector, row_t *row_ids, idx_t update_count, idx_t row_group_start) override |
| void | UpdateColumn (TransactionData transaction, DataTable &data_table, const vector< column_t > &column_path, Vector &update_vector, row_t *row_ids, idx_t update_count, idx_t depth, idx_t row_group_start) override |
| unique_ptr< BaseStatistics > | GetUpdateStatistics () override |
| void | VisitBlockIds (BlockIdVisitor &visitor) const override |
| unique_ptr< ColumnCheckpointState > | CreateCheckpointState (const RowGroup &row_group, PartialBlockManager &partial_block_manager) override |
| unique_ptr< ColumnCheckpointState > | Checkpoint (const RowGroup &row_group, ColumnCheckpointInfo &info, const BaseStatistics &old_stats) override |
| bool | IsPersistent () override |
| bool | HasAnyChanges () const override |
| Whether or not the column has ANY changes, including in child columns. | |
| PersistentColumnData | Serialize () override |
| void | InitializeColumn (PersistentColumnData &column_data, BaseStatistics &target_stats) override |
| void | GetColumnSegmentInfo (const QueryContext &context, duckdb::idx_t row_group_index, vector< duckdb::idx_t > col_path, vector< duckdb::ColumnSegmentInfo > &result) override |
| void | SetValidityData (shared_ptr< ValidityColumnData > validity_p) |
| void | SetChildData (shared_ptr< ColumnData > child_column_p) |
| const BaseStatistics & | GetChildStats (const ColumnData &child) const override |
| Public Member Functions inherited from duckdb::ColumnData | |
| ColumnData (BlockManager &block_manager, DataTableInfo &info, idx_t column_index, LogicalType type, ColumnDataType data_type, optional_ptr< ColumnData > parent) | |
| BlockManager & | GetBlockManager () const |
| DatabaseInstance & | GetDatabase () const |
| DataTableInfo & | GetTableInfo () const |
| StorageManager & | GetStorageManager () const |
| virtual idx_t | GetMaxEntry () |
| idx_t | GetAllocationSize () const |
| optional_ptr< const CompressionFunction > | GetCompressionFunction () const |
| ColumnDataType | GetDataType () const |
| bool | HasParent () const |
| void | SetParent (optional_ptr< ColumnData > parent) |
| const ColumnData & | Parent () const |
| const LogicalType & | GetType () const |
| ColumnSegmentTree & | GetSegmentTree () |
| void | SetCount (idx_t new_count) |
| bool | HasUpdates () const |
| Whether or not the column has any updates. | |
| bool | HasChanges (idx_t start_row, idx_t end_row) const |
| bool | HasChanges () const |
| Whether or not the column has changes at this level. | |
| virtual ScanVectorType | GetVectorScanType (ColumnScanState &state, idx_t scan_count, Vector &result) |
| Whether or not we can scan an entire vector. | |
| idx_t | Scan (TransactionData transaction, idx_t vector_index, ColumnScanState &state, Vector &result) |
| Scan the next vector from the column. | |
| virtual void | ScanCommittedRange (idx_t row_group_start, idx_t offset_in_row_group, idx_t count, Vector &result) |
| virtual void | Filter (TransactionData transaction, idx_t vector_index, ColumnScanState &state, Vector &result, SelectionVector &sel, idx_t &count, const TableFilter &filter, TableFilterState &filter_state) |
| Select. | |
| virtual void | Select (TransactionData transaction, idx_t vector_index, ColumnScanState &state, Vector &result, SelectionVector &sel, idx_t count) |
| void | Append (ColumnAppendState &state, Vector &vector, idx_t count) |
| Append a vector of type [type] to the end of the column. | |
| virtual void | AppendData (BaseStatistics &stats, ColumnAppendState &state, UnifiedVectorFormat &vdata, idx_t count) |
| unique_ptr< ColumnCheckpointState > | Checkpoint (const RowGroup &row_group, ColumnCheckpointInfo &info) |
| If this is a nested column, "stats" are the corresponding statistics from the parent column Otherwise, "stats" == this->statistics->stats. | |
| virtual void | CheckpointScan (ColumnSegment &segment, ColumnScanState &state, idx_t count, Vector &scan_vector) const |
| vector< DataPointer > | GetDataPointers () |
| void | InitializeColumn (PersistentColumnData &column_data) |
| virtual void | Verify (RowGroup &parent) |
| FilterPropagateResult | CheckZonemap (const StorageIndex &index, TableFilter &filter) |
| void | MergeStatistics (const BaseStatistics &other) |
| void | MergeIntoStatistics (BaseStatistics &other) |
| unique_ptr< BaseStatistics > | GetStatistics () const |
| const BaseStatistics & | GetStatisticsRef () const |
| template<class TARGET> | |
| TARGET & | Cast () |
| template<class TARGET> | |
| const TARGET & | Cast () const |
| Public Member Functions inherited from duckdb::enable_shared_from_this< ColumnData > | |
| shared_ptr< ColumnData > | shared_from_this () |
Protected Attributes | |
| shared_ptr< ColumnData > | child_column |
| The child-column of the list. | |
| shared_ptr< ValidityColumnData > | validity |
| The validity column data of the list. | |
| Protected Attributes inherited from duckdb::ColumnData | |
| ColumnSegmentTree | data |
| The segments holding the data of this column segment. | |
| mutex | update_lock |
| The lock for the updates. | |
| unique_ptr< UpdateSegment > | updates |
| The updates for this column segment. | |
| mutex | stats_lock |
| The lock for the stats. | |
| atomic< idx_t > | allocation_size |
| Total transient allocation size. | |
| unique_ptr< SegmentStatistics > | stats |
| The stats of the root segment. | |
Private Member Functions | |
| uint64_t | FetchListOffset (idx_t row_idx) |
Additional Inherited Members | |
| Static Public Member Functions inherited from duckdb::ColumnData | |
| static shared_ptr< ColumnData > | Deserialize (BlockManager &block_manager, DataTableInfo &info, idx_t column_index, ReadStream &source, const LogicalType &type) |
| static shared_ptr< ColumnData > | CreateColumn (BlockManager &block_manager, DataTableInfo &info, idx_t column_index, const LogicalType &type, ColumnDataType data_type=ColumnDataType::MAIN_TABLE, optional_ptr< ColumnData > parent=nullptr) |
| Public Attributes inherited from duckdb::ColumnData | |
| atomic< idx_t > | count |
| The count of the column data. | |
| BlockManager & | block_manager |
| The block manager. | |
| DataTableInfo & | info |
| Table info for the column. | |
| idx_t | column_index |
| The column index of the column, either within the parent table or within the parent. | |
| LogicalType | type |
| The type of the column. | |
| Protected Member Functions inherited from duckdb::ColumnData | |
| void | AppendTransientSegment (SegmentLock &l, idx_t start_row) |
| Append a transient segment. | |
| void | AppendSegment (SegmentLock &l, unique_ptr< ColumnSegment > segment) |
| void | BeginScanVectorInternal (ColumnScanState &state) |
| idx_t | ScanVector (ColumnScanState &state, Vector &result, idx_t remaining, ScanVectorType scan_type, idx_t result_offset=0) |
| Scans a base vector from the column. | |
| idx_t | ScanVector (TransactionData transaction, idx_t vector_index, ColumnScanState &state, Vector &result, idx_t target_scan, ScanVectorType scan_type, UpdateScanType update_type) |
| Scans a vector from the column merged with any potential updates. | |
| idx_t | ScanVector (TransactionData transaction, idx_t vector_index, ColumnScanState &state, Vector &result, idx_t target_scan, UpdateScanType update_type) |
| void | SelectVector (ColumnScanState &state, Vector &result, idx_t target_count, const SelectionVector &sel, idx_t sel_count) |
| void | FilterVector (ColumnScanState &state, Vector &result, idx_t target_count, SelectionVector &sel, idx_t &sel_count, const TableFilter &filter, TableFilterState &filter_state) |
| void | FetchUpdates (TransactionData transaction, idx_t vector_index, Vector &result, idx_t scan_count, UpdateScanType update_type) |
| void | FetchUpdateRow (TransactionData transaction, row_t row_id, Vector &result, idx_t result_idx) |
| void | UpdateInternal (TransactionData transaction, DataTable &data_table, idx_t column_index, Vector &update_vector, row_t *row_ids, idx_t update_count, Vector &base_vector, idx_t row_group_start) |
| idx_t | FetchUpdateData (ColumnScanState &state, row_t *row_ids, Vector &base_vector, idx_t row_group_start) |
| idx_t | GetVectorCount (idx_t vector_index) const |
| Protected Member Functions inherited from duckdb::enable_shared_from_this< ColumnData > | |
| enable_shared_from_this & | operator= (enable_shared_from_this const &) noexcept |
List column data represents a list.
| duckdb::ListColumnData::ListColumnData | ( | BlockManager & | block_manager, |
| DataTableInfo & | info, | ||
| idx_t | column_index, | ||
| LogicalType | type, | ||
| ColumnDataType | data_type, | ||
| optional_ptr< ColumnData > | parent ) |
|
overridevirtual |
Reimplemented from duckdb::ColumnData.
|
overridevirtual |
Reimplemented from duckdb::ColumnData.
|
overridevirtual |
Initialize prefetch state with required I/O data for the next N rows.
Reimplemented from duckdb::ColumnData.

|
overridevirtual |
Initialize a scan of the column.
Reimplemented from duckdb::ColumnData.


|
overridevirtual |
Initialize a scan starting at the specified offset.
Reimplemented from duckdb::ColumnData.

|
overridevirtual |
Reimplemented from duckdb::ColumnData.
|
overridevirtual |
Reimplemented from duckdb::ColumnData.
|
overridevirtual |
Skip the scan forward by "count" rows.
Reimplemented from duckdb::ColumnData.

|
overridevirtual |
Initialize an appending phase for this column.
Reimplemented from duckdb::ColumnData.

|
overridevirtual |
Append a vector of type [type] to the end of the column.
Reimplemented from duckdb::ColumnData.

|
overridevirtual |
Revert a set of appends to the ColumnData.
Reimplemented from duckdb::ColumnData.

|
overridevirtual |
Fetch the vector from the column data that belongs to this specific row.
Reimplemented from duckdb::ColumnData.
|
overridevirtual |
Fetch a specific row id and append it to the vector.
Reimplemented from duckdb::ColumnData.

|
overridevirtual |
Reimplemented from duckdb::ColumnData.
|
overridevirtual |
Reimplemented from duckdb::ColumnData.
|
overridevirtual |
Reimplemented from duckdb::ColumnData.
|
overridevirtual |
Reimplemented from duckdb::ColumnData.
|
overridevirtual |
Reimplemented from duckdb::ColumnData.
|
overridevirtual |
Reimplemented from duckdb::ColumnData.
|
overridevirtual |
Reimplemented from duckdb::ColumnData.
|
overridevirtual |
Whether or not the column has ANY changes, including in child columns.
Reimplemented from duckdb::ColumnData.

|
overridevirtual |
Reimplemented from duckdb::ColumnData.
|
overridevirtual |
Reimplemented from duckdb::ColumnData.
|
overridevirtual |
Reimplemented from duckdb::ColumnData.
| void duckdb::ListColumnData::SetValidityData | ( | shared_ptr< ValidityColumnData > | validity_p | ) |
| void duckdb::ListColumnData::SetChildData | ( | shared_ptr< ColumnData > | child_column_p | ) |
|
overridevirtual |
Reimplemented from duckdb::ColumnData.