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

Public Member Functions

 HashAggregateFinalizeTask (ClientContext &context, Pipeline &pipeline, shared_ptr< Event > event_p, const PhysicalHashAggregate &op, HashAggregateGlobalSinkState &state_p)
TaskExecutionResult ExecuteTask (TaskExecutionMode mode) override
string TaskType () const override
Public Member Functions inherited from duckdb::ExecutorTask
 ExecutorTask (Executor &executor, shared_ptr< Event > event)
 ExecutorTask (ClientContext &context, shared_ptr< Event > event, const PhysicalOperator &op)
void Deschedule () override
void Reschedule () override
 Ensures a task is rescheduled to the correct queue.
TaskExecutionResult Execute (TaskExecutionMode mode) override
Public Member Functions inherited from duckdb::Task
virtual bool TaskBlockedOnResult () const
Public Member Functions inherited from duckdb::enable_shared_from_this< Task >
shared_ptr< Task > shared_from_this ()

Private Attributes

ClientContext & context
Pipeline & pipeline
const PhysicalHashAggregate & op
HashAggregateGlobalSinkState & gstate

Additional Inherited Members

Public Attributes inherited from duckdb::ExecutorTask
Executor & executor
shared_ptr< Event > event
unique_ptr< ThreadContext > thread_context
optional_ptr< const PhysicalOperator > op
Public Attributes inherited from duckdb::Task
optional_ptr< ProducerToken > token
Protected Member Functions inherited from duckdb::enable_shared_from_this< Task >
enable_shared_from_this & operator= (enable_shared_from_this const &) noexcept

Constructor & Destructor Documentation

◆ HashAggregateFinalizeTask()

duckdb::HashAggregateFinalizeTask::HashAggregateFinalizeTask ( ClientContext & context,
Pipeline & pipeline,
shared_ptr< Event > event_p,
const PhysicalHashAggregate & op,
HashAggregateGlobalSinkState & state_p )
inline
160441 : ExecutorTask(pipeline.executor, std::move(event_p)), context(context), pipeline(pipeline), op(op),
160442 gstate(state_p) {
160443 }

Member Function Documentation

◆ ExecuteTask()

TaskExecutionResult duckdb::HashAggregateFinalizeTask::ExecuteTask ( TaskExecutionMode mode)
overridevirtual

Implements duckdb::ExecutorTask.

160467 {
160468 op.FinalizeInternal(pipeline, *event, context, gstate, false);
160469 D_ASSERT(!gstate.finished);
160470 gstate.finished = true;
160471 event->FinishTask();
160472 return TaskExecutionResult::TASK_FINISHED;
160473}

◆ TaskType()

string duckdb::HashAggregateFinalizeTask::TaskType ( ) const
inlineoverridevirtual

Reimplemented from duckdb::Task.

160448 {
160449 return "HashAggregateFinalizeTask";
160450 }

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