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

Public Member Functions

 RecursiveCTEState (ClientContext &context, const PhysicalRecursiveCTE &op)
Public Member Functions inherited from duckdb::GlobalSinkState
template<class TARGET>
TARGET & Cast ()
template<class TARGET>
const TARGET & Cast () const
virtual idx_t MaxThreads (idx_t source_max_threads)
Public Member Functions inherited from duckdb::StateWithBlockableTasks
unique_lock< mutex > Lock ()
void PreventBlocking (const unique_lock< mutex > &guard)
bool BlockTask (const unique_lock< mutex > &guard, const InterruptState &interrupt_state)
 Add a task to 'blocked_tasks' before returning SourceResultType::BLOCKED (must hold the lock).
bool CanBlock (const unique_lock< mutex > &guard) const
bool UnblockTasks (const unique_lock< mutex > &guard)
 Unblock all tasks (must hold the lock).
SinkResultType BlockSink (const unique_lock< mutex > &guard, const InterruptState &interrupt_state)
SourceResultType BlockSource (const unique_lock< mutex > &guard, const InterruptState &interrupt_state)
void VerifyLock (const unique_lock< mutex > &guard) const

Public Attributes

unique_ptr< GroupedAggregateHashTable > ht
mutex intermediate_table_lock
ColumnDataCollection intermediate_table
ColumnDataScanState scan_state
bool initialized = false
bool finished_scan = false
SelectionVector new_groups
AggregateHTScanState ht_scan_state
Public Attributes inherited from duckdb::GlobalSinkState
SinkFinalizeType state

Constructor & Destructor Documentation

◆ RecursiveCTEState()

duckdb::RecursiveCTEState::RecursiveCTEState ( ClientContext & context,
const PhysicalRecursiveCTE & op )
inlineexplicit
200640 : intermediate_table(context, op.GetTypes()), new_groups(STANDARD_VECTOR_SIZE) {
200641 vector<BoundAggregateExpression *> payload_aggregates_ptr;
200642 for (idx_t i = 0; i < op.payload_aggregates.size(); i++) {
200643 auto &dat = op.payload_aggregates[i];
200644 payload_aggregates_ptr.push_back(dat.get());
200645 }
200646
200647 ht = make_uniq<GroupedAggregateHashTable>(context, BufferAllocator::Get(context), op.distinct_types,
200648 op.payload_types, payload_aggregates_ptr);
200649 }
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: