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::ColumnScanState Struct Reference
Collaboration diagram for duckdb::ColumnScanState:

Public Member Functions

 ColumnScanState (optional_ptr< CollectionScanState > parent_p)
 
void PushDownCast (const LogicalType &original_type, const LogicalType &cast_type)
 
void Initialize (const QueryContext &context_p, const LogicalType &type, const StorageIndex &column_id, optional_ptr< TableScanOptions > options)
 
void Initialize (const QueryContext &context_p, const LogicalType &type, optional_ptr< TableScanOptions > options)
 
void Next (idx_t count)
 Move the scan state forward by "count" rows (including all child states)
 
void NextInternal (idx_t count)
 Move ONLY this state forward by "count" rows (i.e. not the child states)
 
idx_t GetPositionInSegment () const
 Returns the current row position in the segment.
 

Public Attributes

optional_ptr< CollectionScanStateparent
 
QueryContext context
 The query context for this scan.
 
optional_ptr< SegmentNode< ColumnSegment > > current
 The column segment that is currently being scanned.
 
ColumnSegmentTreesegment_tree = nullptr
 Column segment tree.
 
idx_t offset_in_column = 0
 The current row offset in the column.
 
idx_t internal_index = 0
 The internal row index (i.e. the position of the SegmentScanState)
 
StorageIndex storage_index
 Storage index of the current column that's being scanned.
 
unique_ptr< SegmentScanStatescan_state
 Segment scan state.
 
unsafe_vector< ColumnScanStatechild_states
 Child states of the vector.
 
bool initialized = false
 Whether or not InitializeState has been called for this segment.
 
bool segment_checked = false
 If this segment has already been checked for skipping purposes.
 
vector< unique_ptr< SegmentScanState > > previous_states
 
idx_t last_offset = 0
 The last read offset in the child state (used for LIST columns only)
 
vector< bool > scan_child_column
 Whether or not we should scan a specific child column.
 
optional_ptr< TableScanOptionsscan_options
 Contains TableScan level config for scanning.
 
unique_ptr< PushedDownExpressionStateexpression_state
 (optionally) the expression state for any pushed down expression(s)
 
UpdateScanType update_scan_type = UpdateScanType::STANDARD
 Whether or not updates should be allowed.
 

Constructor & Destructor Documentation

◆ ColumnScanState()

duckdb::ColumnScanState::ColumnScanState ( optional_ptr< CollectionScanState parent_p)
inlineexplicit
74906 : parent(parent_p) {
74907 }

Member Data Documentation

◆ previous_states

vector<unique_ptr<SegmentScanState> > duckdb::ColumnScanState::previous_states

We initialize one SegmentScanState per segment, however, if scanning a DataChunk requires us to scan over more than one Segment, we need to keep the scan states of the previous segments around


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