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.
Loading...
Searching...
No Matches
duckdb::ParallelCollectionScanState Struct Reference
Collaboration diagram for duckdb::ParallelCollectionScanState:

Public Member Functions

optional_ptr< SegmentNode< RowGroup > > GetRootSegment (RowGroupSegmentTree &row_groups) const
optional_ptr< SegmentNode< RowGroup > > GetNextRowGroup (RowGroupSegmentTree &row_groups, SegmentNode< RowGroup > &row_group) const

Public Attributes

RowGroupCollection * collection
 The row group collection we are scanning.
shared_ptr< RowGroupSegmentTree > row_groups
optional_ptr< SegmentNode< RowGroup > > current_row_group
idx_t vector_index
idx_t max_row
idx_t batch_index
atomic< idx_t > processed_rows
mutex lock
unique_ptr< RowGroupReorderer > reorderer
 Optional state for custom row group ordering.

Constructor & Destructor Documentation

◆ ParallelCollectionScanState()

duckdb::ParallelCollectionScanState::ParallelCollectionScanState ( )
437494 : collection(nullptr), current_row_group(nullptr), processed_rows(0) {
437495}
RowGroupCollection * collection
The row group collection we are scanning.
Definition duckdb.cpp:75139

Member Function Documentation

◆ GetRootSegment()

optional_ptr< SegmentNode< RowGroup > > duckdb::ParallelCollectionScanState::GetRootSegment ( RowGroupSegmentTree & row_groups) const
437497 {
437498 if (reorderer) {
437499 return reorderer->GetRootSegment(row_groups);
437500 }
437501 return row_groups.GetRootSegment();
437502}
unique_ptr< RowGroupReorderer > reorderer
Optional state for custom row group ordering.
Definition duckdb.cpp:75149

◆ GetNextRowGroup()

optional_ptr< SegmentNode< RowGroup > > duckdb::ParallelCollectionScanState::GetNextRowGroup ( RowGroupSegmentTree & row_groups,
SegmentNode< RowGroup > & row_group ) const
437505 {
437506 if (reorderer) {
437507 return reorderer->GetNextRowGroup(row_group);
437508 }
437509 return row_groups.GetNextSegment(row_group);
437510}

The documentation for this struct was generated from the following file: