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::MergeLocalSourceState Class Reference
Inheritance diagram for duckdb::MergeLocalSourceState:
Collaboration diagram for duckdb::MergeLocalSourceState:

Public Member Functions

 MergeLocalSourceState (ExecutionContext &context, const PhysicalMergeInto &op, MergeGlobalSourceState &gstate)
Public Member Functions inherited from duckdb::LocalSourceState
template<class TARGET>
TARGET & Cast ()
template<class TARGET>
const TARGET & Cast () const

Public Attributes

DataChunk scan_chunk
vector< unique_ptr< LocalSourceState > > local_states
idx_t index = 0

Constructor & Destructor Documentation

◆ MergeLocalSourceState()

duckdb::MergeLocalSourceState::MergeLocalSourceState ( ExecutionContext & context,
const PhysicalMergeInto & op,
MergeGlobalSourceState & gstate )
inlineexplicit
196762 {
196763 if (!op.return_chunk) {
196764 return;
196765 }
196766 for (idx_t i = 0; i < op.actions.size(); i++) {
196767 auto &action = *op.actions[i];
196768 unique_ptr<LocalSourceState> local_state;
196769 if (action.op) {
196770 local_state = action.op->GetLocalSourceState(context, *gstate.global_states[i]);
196771 }
196772 local_states.push_back(std::move(local_state));
196773 }
196774 vector<LogicalType> scan_types;
196775 for (idx_t c = 0; c < op.types.size() - 1; c++) {
196776 scan_types.emplace_back(op.types[c]);
196777 }
196778 scan_chunk.Initialize(context.client, scan_types);
196779 }
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237

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