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

Public Member Functions

 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

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

◆ WindowExecutorBoundsLocalState()

duckdb::WindowExecutorBoundsLocalState::WindowExecutorBoundsLocalState ( ExecutionContext & context,
const WindowExecutorGlobalState & gstate )
256136 : WindowExecutorLocalState(context, gstate), partition_mask(gstate.partition_mask), order_mask(gstate.order_mask),
256137 state(gstate.executor.wexpr, gstate.payload_count) {
256138 vector<LogicalType> bounds_types(8, LogicalType(LogicalTypeId::UBIGINT));
256139 bounds.Initialize(Allocator::Get(context.client), bounds_types);
256140}

◆ ~WindowExecutorBoundsLocalState()

duckdb::WindowExecutorBoundsLocalState::~WindowExecutorBoundsLocalState ( )
inlineoverride
163872 {
163873 }

Member Function Documentation

◆ UpdateBounds()

void duckdb::WindowExecutorBoundsLocalState::UpdateBounds ( WindowExecutorGlobalState & gstate,
idx_t row_idx,
DataChunk & eval_chunk,
optional_ptr< WindowCursor > range )
virtual
256143 {
256144 // Evaluate the row-level arguments
256145 WindowInputExpression boundary_start(eval_chunk, gstate.executor.boundary_start_idx);
256146 WindowInputExpression boundary_end(eval_chunk, gstate.executor.boundary_end_idx);
256147
256148 const auto count = eval_chunk.size();
256149 state.Bounds(bounds, row_idx, range, count, boundary_start, boundary_end, partition_mask, order_mask);
256150}

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