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

Public Member Functions

 WindowAggregateExecutorLocalState (ExecutionContext &context, const GlobalSinkState &gstate, const WindowAggregator &aggregator)
Public Member Functions inherited from duckdb::WindowExecutorBoundsLocalState
 WindowExecutorBoundsLocalState (ExecutionContext &context, const WindowExecutorGlobalState &gstate)
virtual void UpdateBounds (WindowExecutorGlobalState &gstate, idx_t row_idx, DataChunk &eval_chunk, optional_ptr< WindowCursor > range)
Public Member Functions inherited from duckdb::WindowExecutorLocalState
 WindowExecutorLocalState (ExecutionContext &context, const WindowExecutorGlobalState &gstate)
virtual void Sink (ExecutionContext &context, DataChunk &sink_chunk, DataChunk &coll_chunk, idx_t input_idx, OperatorSinkInput &sink)
virtual void Finalize (ExecutionContext &context, CollectionPtr collection, OperatorSinkInput &sink)
Public Member Functions inherited from duckdb::LocalSinkState
template<class TARGET>
TARGET & Cast ()
template<class TARGET>
const TARGET & Cast () const

Public Attributes

unique_ptr< LocalSinkState > aggregator_state
ExpressionExecutor filter_executor
 Executor for any filter clause.
SelectionVector filter_sel
 Result of filtering.
Public Attributes inherited from duckdb::WindowExecutorBoundsLocalState
const ValidityMask & partition_mask
const ValidityMask & order_mask
DataChunk bounds
WindowBoundariesState state
Public Attributes inherited from duckdb::WindowExecutorLocalState
unique_ptr< WindowCursor > range_cursor
 The state used for reading the range collection.
Public Attributes inherited from duckdb::LocalSinkState
SourcePartitionInfo partition_info
 Source partition info.

Additional Inherited Members

Public Types inherited from duckdb::WindowExecutorLocalState
using CollectionPtr = optional_ptr<WindowCollection>

Constructor & Destructor Documentation

◆ WindowAggregateExecutorLocalState()

duckdb::WindowAggregateExecutorLocalState::WindowAggregateExecutorLocalState ( ExecutionContext & context,
const GlobalSinkState & gstate,
const WindowAggregator & aggregator )
inline
253297 : WindowExecutorBoundsLocalState(context, gstate.Cast<WindowAggregateExecutorGlobalState>()),
253298 filter_executor(context.client) {
253299 auto &gastate = gstate.Cast<WindowAggregateExecutorGlobalState>();
253300 aggregator_state = aggregator.GetLocalState(context, *gastate.gsink);
253301
253302 // evaluate the FILTER clause and stuff it into a large mask for compactness and reuse
253303 auto filter_ref = gastate.filter_ref;
253304 if (filter_ref) {
253305 filter_executor.AddExpression(*filter_ref);
253306 filter_sel.Initialize(STANDARD_VECTOR_SIZE);
253307 }
253308 }
ExpressionExecutor filter_executor
Executor for any filter clause.
Definition duckdb.cpp:253314
SelectionVector filter_sel
Result of filtering.
Definition duckdb.cpp:253316

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