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::PhysicalStreamingWindow Class Reference

PhysicalStreamingWindow implements streaming window functions (i.e. with an empty OVER clause). More...

Inheritance diagram for duckdb::PhysicalStreamingWindow:
Collaboration diagram for duckdb::PhysicalStreamingWindow:

Public Member Functions

 PhysicalStreamingWindow (PhysicalPlan &physical_plan, vector< LogicalType > types, vector< unique_ptr< Expression > > select_list, idx_t estimated_cardinality, PhysicalOperatorType type=PhysicalOperatorType::STREAMING_WINDOW)
unique_ptr< GlobalOperatorState > GetGlobalOperatorState (ClientContext &context) const override
OperatorResultType Execute (ExecutionContext &context, DataChunk &input, DataChunk &chunk, GlobalOperatorState &gstate, OperatorState &state) const override
OperatorFinalizeResultType FinalExecute (ExecutionContext &context, DataChunk &chunk, GlobalOperatorState &gstate, OperatorState &state) const final
bool RequiresFinalExecute () const final
OrderPreservationType OperatorOrder () const override
 The influence the operator has on order (insertion order means no influence).
InsertionOrderPreservingMap< string > ParamsToString () const override
Public Member Functions inherited from duckdb::PhysicalOperator
 PhysicalOperator (PhysicalPlan &physical_plan, PhysicalOperatorType type, vector< LogicalType > types, idx_t estimated_cardinality)
 PhysicalOperator (const PhysicalOperator &other)=delete
 Deleted copy constructors.
PhysicalOperator & operator= (const PhysicalOperator &)=delete
virtual string GetName () const
virtual string ToString (ExplainFormat format=ExplainFormat::DEFAULT) const
void Print () const
virtual vector< const_reference< PhysicalOperator > > GetChildren () const
const vector< LogicalType > & GetTypes () const
 Return a vector of the types that will be returned by this operator.
virtual bool Equals (const PhysicalOperator &other) const
idx_t EstimatedThreadCount () const
 Functions to help decide how to set up pipeline dependencies.
bool CanSaturateThreads (ClientContext &context) const
virtual void Verify ()
virtual unique_ptr< OperatorState > GetOperatorState (ExecutionContext &context) const
virtual OperatorFinalResultType OperatorFinalize (Pipeline &pipeline, Event &event, ClientContext &context, OperatorFinalizeInput &input) const
virtual bool ParallelOperator () const
virtual bool RequiresOperatorFinalize () const
virtual unique_ptr< LocalSourceState > GetLocalSourceState (ExecutionContext &context, GlobalSourceState &gstate) const
virtual unique_ptr< GlobalSourceState > GetGlobalSourceState (ClientContext &context) const
SourceResultType GetData (ExecutionContext &context, DataChunk &chunk, OperatorSourceInput &input) const
virtual OperatorPartitionData GetPartitionData (ExecutionContext &context, DataChunk &chunk, GlobalSourceState &gstate, LocalSourceState &lstate, const OperatorPartitionInfo &partition_info) const
virtual bool IsSource () const
virtual bool ParallelSource () const
virtual bool SupportsPartitioning (const OperatorPartitionInfo &partition_info) const
virtual OrderPreservationType SourceOrder () const
 The type of order emitted by the operator (as a source).
virtual ProgressData GetProgress (ClientContext &context, GlobalSourceState &gstate) const
 Returns the current progress percentage, or a negative value if progress bars are not supported.
virtual ProgressData GetSinkProgress (ClientContext &context, GlobalSinkState &gstate, const ProgressData source_progress) const
 Returns the current progress percentage, or a negative value if progress bars are not supported.
virtual InsertionOrderPreservingMap< string > ExtraSourceParams (GlobalSourceState &gstate, LocalSourceState &lstate) const
virtual SinkResultType Sink (ExecutionContext &context, DataChunk &chunk, OperatorSinkInput &input) const
virtual SinkCombineResultType Combine (ExecutionContext &context, OperatorSinkCombineInput &input) const
virtual void PrepareFinalize (ClientContext &context, GlobalSinkState &sink_state) const
virtual SinkFinalizeType Finalize (Pipeline &pipeline, Event &event, ClientContext &context, OperatorSinkFinalizeInput &input) const
virtual SinkNextBatchType NextBatch (ExecutionContext &context, OperatorSinkNextBatchInput &input) const
virtual unique_ptr< LocalSinkState > GetLocalSinkState (ExecutionContext &context) const
virtual unique_ptr< GlobalSinkState > GetGlobalSinkState (ClientContext &context) const
virtual bool IsSink () const
virtual bool ParallelSink () const
virtual OperatorPartitionInfo RequiredPartitionInfo () const
virtual bool SinkOrderDependent () const
virtual vector< const_reference< PhysicalOperator > > GetSources () const
bool AllSourcesSupportBatchIndex () const
virtual void BuildPipelines (Pipeline &current, MetaPipeline &meta_pipeline)
template<class TARGET>
TARGET & Cast ()
template<class TARGET>
const TARGET & Cast () const

Static Public Member Functions

static bool IsStreamingFunction (ClientContext &context, unique_ptr< Expression > &expr)
Static Public Member Functions inherited from duckdb::PhysicalOperator
static void SetEstimatedCardinality (InsertionOrderPreservingMap< string > &result, idx_t estimated_cardinality)
static idx_t GetMaxThreadMemory (ClientContext &context)
 The maximum amount of memory the operator should use per thread.
static OperatorCachingMode SelectOperatorCachingMode (ExecutionContext &context)
 Whether operator caching is allowed in the current execution context.

Public Attributes

vector< unique_ptr< Expression > > select_list
 The projection list of the WINDOW statement.
Public Attributes inherited from duckdb::PhysicalOperator
ArenaLinkedList< reference< PhysicalOperator > > children
 The child operators.
PhysicalOperatorType type
 The physical operator type.
vector< LogicalType > types
 The return types.
idx_t estimated_cardinality
 The estimated cardinality.
unique_ptr< GlobalSinkState > sink_state
 The global sink state.
unique_ptr< GlobalOperatorState > op_state
 The global operator state.
mutex lock
 Lock for (re)setting any of the operator states.

Static Public Attributes

static constexpr const PhysicalOperatorType TYPE = PhysicalOperatorType::STREAMING_WINDOW
Static Public Attributes inherited from duckdb::PhysicalOperator
static constexpr const PhysicalOperatorType TYPE = PhysicalOperatorType::INVALID

Private Member Functions

void ExecuteFunctions (ExecutionContext &context, DataChunk &chunk, DataChunk &delayed, GlobalOperatorState &gstate_p) const
void ExecuteInput (ExecutionContext &context, DataChunk &delayed, DataChunk &input, DataChunk &chunk, GlobalOperatorState &gstate) const
void ExecuteDelayed (ExecutionContext &context, DataChunk &delayed, DataChunk &input, DataChunk &chunk, GlobalOperatorState &gstate) const
void ExecuteShifted (ExecutionContext &context, DataChunk &delayed, DataChunk &input, DataChunk &chunk, GlobalOperatorState &gstate) const

Additional Inherited Members

Protected Member Functions inherited from duckdb::PhysicalOperator
virtual SourceResultType GetDataInternal (ExecutionContext &context, DataChunk &chunk, OperatorSourceInput &input) const

Detailed Description

PhysicalStreamingWindow implements streaming window functions (i.e. with an empty OVER clause).

Constructor & Destructor Documentation

◆ PhysicalStreamingWindow()

duckdb::PhysicalStreamingWindow::PhysicalStreamingWindow ( PhysicalPlan & physical_plan,
vector< LogicalType > types,
vector< unique_ptr< Expression > > select_list,
idx_t estimated_cardinality,
PhysicalOperatorType type = PhysicalOperatorType::STREAMING_WINDOW )
161749 : PhysicalOperator(physical_plan, type, std::move(types), estimated_cardinality),
161750 select_list(std::move(select_list)) {
161751}
vector< LogicalType > types
The return types.
Definition duckdb.hpp:22152
idx_t estimated_cardinality
The estimated cardinality.
Definition duckdb.hpp:22154
PhysicalOperatorType type
The physical operator type.
Definition duckdb.hpp:22150
vector< unique_ptr< Expression > > select_list
The projection list of the WINDOW statement.
Definition duckdb.cpp:161703

Member Function Documentation

◆ IsStreamingFunction()

bool duckdb::PhysicalStreamingWindow::IsStreamingFunction ( ClientContext & context,
unique_ptr< Expression > & expr )
static
162091 {
162092 auto &wexpr = expr->Cast<BoundWindowExpression>();
162093 if (!wexpr.partitions.empty() || !wexpr.orders.empty() || !wexpr.arg_orders.empty() ||
162094 wexpr.exclude_clause != WindowExcludeMode::NO_OTHER) {
162095 return false;
162096 }
162097 switch (wexpr.GetExpressionType()) {
162098 // TODO: add more expression types here?
162099 case ExpressionType::WINDOW_AGGREGATE:
162100 // Aggregates with destructors (e.g., quantile) are too slow to repeatedly update/finalize
162101 if (wexpr.aggregate->HasStateDestructorCallback()) {
162102 return false;
162103 }
162104 // We can stream aggregates if they are "running totals"
162105 return wexpr.start == WindowBoundary::UNBOUNDED_PRECEDING && wexpr.end == WindowBoundary::CURRENT_ROW_ROWS;
162106 case ExpressionType::WINDOW_PERCENT_RANK:
162107 case ExpressionType::WINDOW_RANK:
162108 case ExpressionType::WINDOW_RANK_DENSE:
162109 case ExpressionType::WINDOW_ROW_NUMBER:
162110 return true;
162111 case ExpressionType::WINDOW_FIRST_VALUE:
162112 if (wexpr.ignore_nulls) {
162113 // We can stream first values ignoring NULLs if they are "running totals"
162114 return wexpr.start == WindowBoundary::UNBOUNDED_PRECEDING && wexpr.end == WindowBoundary::CURRENT_ROW_ROWS;
162115 }
162116 return true;
162117 case ExpressionType::WINDOW_LAST_VALUE:
162118 // We can stream last values if they are "running totals"
162119 return wexpr.start == WindowBoundary::UNBOUNDED_PRECEDING && wexpr.end == WindowBoundary::CURRENT_ROW_ROWS;
162120 case ExpressionType::WINDOW_LAG:
162121 case ExpressionType::WINDOW_LEAD:
162122 if (!wexpr.ignore_nulls) {
162123 // We can stream LEAD/LAG if the arguments are constant and the delta is less than a block behind
162124 Value dflt;
162125 int64_t offset;
162126 return StreamingWindowState::LeadLagState::ComputeDefault(context, wexpr, dflt) &&
162127 StreamingWindowState::LeadLagState::ComputeOffset(context, wexpr, offset);
162128 }
162129 return false;
162130 default:
162131 return false;
162132 }
162133}
::int64_t int64_t

◆ GetGlobalOperatorState()

unique_ptr< GlobalOperatorState > duckdb::PhysicalStreamingWindow::GetGlobalOperatorState ( ClientContext & context) const
overridevirtual

Reimplemented from duckdb::PhysicalOperator.

162135 {
162136 return make_uniq<StreamingWindowGlobalState>(client);
162137}

◆ Execute()

OperatorResultType duckdb::PhysicalStreamingWindow::Execute ( ExecutionContext & context,
DataChunk & input,
DataChunk & chunk,
GlobalOperatorState & gstate,
OperatorState & state ) const
overridevirtual

Reimplemented from duckdb::PhysicalOperator.

162425 {
162426 auto &gstate = gstate_p.Cast<StreamingWindowGlobalState>();
162427 auto &state = gstate.local_state->Cast<StreamingWindowState>();
162428 if (!state.initialized) {
162429 state.Initialize(context.client, input, select_list);
162430 }
162431
162432 auto &delayed = state.delayed;
162433 // We can Reset delayed now that no one can be referencing it.
162434 if (!delayed.size()) {
162435 state.Reset(delayed);
162436 }
162437 if (delayed.size() < state.lead_count) {
162438 // If we don't have enough to produce a single row,
162439 // then just delay more rows, return nothing
162440 // and ask for more data.
162441 delayed.Append(input);
162442 output.SetCardinality(0);
162443 return OperatorResultType::NEED_MORE_INPUT;
162444 } else if (input.size() < delayed.size()) {
162445 // If we can't consume all of the delayed values,
162446 // we need to split them instead of referencing them all
162447 output.SetCardinality(input.size());
162448 ExecuteShifted(context, delayed, input, output, gstate_p);
162449 // We delayed the unused input so ask for more
162450 return OperatorResultType::NEED_MORE_INPUT;
162451 } else if (delayed.size()) {
162452 // We have enough delayed rows so flush them
162453 ExecuteDelayed(context, delayed, input, output, gstate_p);
162454 // Defer resetting delayed as it may be referenced.
162455 delayed.SetCardinality(0);
162456 // Come back to process the input
162457 return OperatorResultType::HAVE_MORE_OUTPUT;
162458 } else {
162459 // No delayed rows, so emit what we can and delay the rest.
162460 ExecuteInput(context, delayed, input, output, gstate_p);
162461 return OperatorResultType::NEED_MORE_INPUT;
162462 }
162463}

◆ FinalExecute()

OperatorFinalizeResultType duckdb::PhysicalStreamingWindow::FinalExecute ( ExecutionContext & context,
DataChunk & chunk,
GlobalOperatorState & gstate,
OperatorState & state ) const
finalvirtual

Reimplemented from duckdb::PhysicalOperator.

162466 {
162467 auto &gstate = gstate_p.Cast<StreamingWindowGlobalState>();
162468 auto &state = gstate.local_state->Cast<StreamingWindowState>();
162469
162470 if (state.initialized && state.lead_count) {
162471 auto &delayed = state.delayed;
162472 // There are no more input rows
162473 auto &input = state.shifted;
162474 state.Reset(input);
162475
162476 if (output.GetCapacity() < delayed.size()) {
162477 // More than one output buffer was delayed, so shift in what we can
162478 output.SetCardinality(output.GetCapacity());
162479 ExecuteShifted(context, delayed, input, output, gstate_p);
162480 return OperatorFinalizeResultType::HAVE_MORE_OUTPUT;
162481 }
162482 ExecuteDelayed(context, delayed, input, output, gstate_p);
162483 }
162484
162485 return OperatorFinalizeResultType::FINISHED;
162486}

◆ RequiresFinalExecute()

bool duckdb::PhysicalStreamingWindow::RequiresFinalExecute ( ) const
inlinefinalvirtual

Reimplemented from duckdb::PhysicalOperator.

161714 {
161715 return true;
161716 }

◆ OperatorOrder()

OrderPreservationType duckdb::PhysicalStreamingWindow::OperatorOrder ( ) const
inlineoverridevirtual

The influence the operator has on order (insertion order means no influence).

Reimplemented from duckdb::PhysicalOperator.

161718 {
161719 return OrderPreservationType::FIXED_ORDER;
161720 }

◆ ParamsToString()

InsertionOrderPreservingMap< string > duckdb::PhysicalStreamingWindow::ParamsToString ( ) const
overridevirtual

Reimplemented from duckdb::PhysicalOperator.

162488 {
162489 InsertionOrderPreservingMap<string> result;
162490 string projections;
162491 for (idx_t i = 0; i < select_list.size(); i++) {
162492 if (i > 0) {
162493 projections += "\n";
162494 }
162495 projections += select_list[i]->GetName();
162496 }
162497 result["Projections"] = projections;
162498 return result;
162499}
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237

◆ ExecuteFunctions()

void duckdb::PhysicalStreamingWindow::ExecuteFunctions ( ExecutionContext & context,
DataChunk & chunk,
DataChunk & delayed,
GlobalOperatorState & gstate_p ) const
private
162244 {
162245 auto &gstate = gstate_p.Cast<StreamingWindowGlobalState>();
162246 auto &state = gstate.local_state->Cast<StreamingWindowState>();
162247
162248 // Compute window functions
162249 const idx_t count = output.size();
162250 const column_t input_width = children[0].get().GetTypes().size();
162251 for (column_t expr_idx = 0; expr_idx < select_list.size(); expr_idx++) {
162252 column_t col_idx = input_width + expr_idx;
162253 auto &expr = *select_list[expr_idx];
162254 auto &wexpr = expr.Cast<BoundWindowExpression>();
162255 auto &result = output.data[col_idx];
162256 switch (expr.GetExpressionType()) {
162257 case ExpressionType::WINDOW_AGGREGATE:
162258 state.aggregate_states[expr_idx]->Execute(context, output, result);
162259 break;
162260 case ExpressionType::WINDOW_PERCENT_RANK:
162261 case ExpressionType::WINDOW_RANK:
162262 case ExpressionType::WINDOW_RANK_DENSE:
162263 // Reference constant vector
162264 output.data[col_idx].Reference(*state.const_vectors[expr_idx]);
162265 break;
162266 case ExpressionType::WINDOW_FIRST_VALUE:
162267 // If we are ignoring NULLs and we started with a NULL,
162268 // then look for a non-NULL value and update it
162269 if (wexpr.ignore_nulls && ConstantVector::IsNull(*state.const_vectors[expr_idx])) {
162270 // Find the first non-NULL value
162271 ExpressionExecutor executor(context.client);
162272 executor.AddExpression(*wexpr.children[0]);
162273 Vector arg(wexpr.children[0]->return_type);
162274 executor.ExecuteExpression(output, arg);
162275 UnifiedVectorFormat unified;
162276 arg.ToUnifiedFormat(count, unified);
162277 const auto &validity = unified.validity;
162278 auto &prev = *state.const_vectors[expr_idx];
162279 if (validity.AllValid()) {
162280 prev.Reference(arg.GetValue(0));
162281 result.Reference(prev);
162282 } else {
162283 auto &sel = state.sel;
162284 Vector split(wexpr.children[0]->return_type);
162285 split.SetValue(0, prev.GetValue(0));
162286 sel_t s = 0;
162287 for (sel_t i = 0; i < count; ++i) {
162288 if (!s && validity.RowIsValidUnsafe(unified.sel->get_index(i))) {
162289 auto v = arg.GetValue(i);
162290 prev.Reference(v);
162291 s = 1;
162292 split.SetValue(s, v);
162293 }
162294 sel.set_index(i, s);
162295 }
162296 result.Slice(split, sel, count);
162297 }
162298 } else {
162299 // Reference constant vector
162300 result.Reference(*state.const_vectors[expr_idx]);
162301 }
162302 break;
162303 case ExpressionType::WINDOW_LAST_VALUE: {
162304 // Evaluate the argument and copy the values
162305 ExpressionExecutor executor(context.client);
162306 executor.AddExpression(*wexpr.children[0]);
162307 if (wexpr.ignore_nulls) {
162308 auto &prev = *state.const_vectors[expr_idx];
162309 Vector arg(wexpr.children[0]->return_type);
162310 executor.ExecuteExpression(output, arg);
162311 UnifiedVectorFormat unified;
162312 arg.ToUnifiedFormat(count, unified);
162313 const auto &validity = unified.validity;
162314 if (validity.AllValid()) {
162315 VectorOperations::Copy(arg, result, count, 0, 0);
162316 } else {
162317 // Copy the data as it may be a reference to the argument
162318 Vector copy(wexpr.children[0]->return_type);
162319 VectorOperations::Copy(arg, copy, count, 0, 0);
162320 // Overwrite the previous non-NULL value if the first one is NULL
162321 if (!validity.RowIsValidUnsafe(0)) {
162322 VectorOperations::Copy(prev, copy, 1, 0, 0);
162323 }
162324 // Select appropriate the non-NULL values to copy over
162325 auto &sel = state.sel;
162326 sel_t non_null = 0;
162327 for (sel_t i = 0; i < count; ++i) {
162328 if (validity.RowIsValidUnsafe(unified.sel->get_index(i))) {
162329 non_null = i;
162330 }
162331 sel.set_index(i, non_null);
162332 }
162333 result.Slice(copy, sel, count);
162334 }
162335 // Remember the last non-NULL value for the next iteration
162336 prev.Reference(result.GetValue(count - 1));
162337 } else {
162338 executor.ExecuteExpression(output, result);
162339 }
162340 break;
162341 }
162342 case ExpressionType::WINDOW_ROW_NUMBER: {
162343 // Set row numbers
162344 int64_t start_row = gstate.row_number;
162345 auto rdata = FlatVector::GetData<int64_t>(output.data[col_idx]);
162346 for (idx_t i = 0; i < count; i++) {
162347 rdata[i] = NumericCast<int64_t>(start_row + NumericCast<int64_t>(i));
162348 }
162349 break;
162350 }
162351 case ExpressionType::WINDOW_LAG:
162352 case ExpressionType::WINDOW_LEAD:
162353 state.lead_lag_states[expr_idx]->Execute(context, output, delayed, result);
162354 break;
162355 default:
162356 throw NotImplementedException("%s for StreamingWindow", ExpressionTypeToString(expr.GetExpressionType()));
162357 }
162358 }
162359 gstate.row_number += NumericCast<int64_t>(count);
162360}
ArenaLinkedList< reference< PhysicalOperator > > children
The child operators.
Definition duckdb.hpp:22148
internal::named_arg< T, Char > arg(const S &name, const T &arg)
Definition duckdb.cpp:16242
void split(const Mat &src, Mat *mvbegin)
uint32_t v
idx_t column_t
Type used for column identifiers.
Definition duckdb.hpp:259
uint32_t sel_t
Type used for the selection vector.
Definition duckdb.hpp:251

◆ ExecuteInput()

void duckdb::PhysicalStreamingWindow::ExecuteInput ( ExecutionContext & context,
DataChunk & delayed,
DataChunk & input,
DataChunk & chunk,
GlobalOperatorState & gstate ) const
private
162363 {
162364 auto &gstate = gstate_p.Cast<StreamingWindowGlobalState>();
162365 auto &state = gstate.local_state->Cast<StreamingWindowState>();
162366
162367 // Put payload columns in place
162368 for (idx_t col_idx = 0; col_idx < input.data.size(); col_idx++) {
162369 output.data[col_idx].Reference(input.data[col_idx]);
162370 }
162371 idx_t count = input.size();
162372
162373 // Handle LEAD
162374 if (state.lead_count > 0) {
162375 // Nothing delayed yet, so just truncate and copy the delayed values
162376 count -= state.lead_count;
162377 input.Copy(delayed, count);
162378 }
162379 output.SetCardinality(count);
162380
162381 ExecuteFunctions(context, output, state.delayed, gstate_p);
162382}
DUCKDB_API void Copy(DataChunk &other, idx_t offset=0) const
Copies the data from this chunk to another chunk.
Definition duckdb.cpp:116897
vector< Vector > data
The vectors owned by the DataChunk.
Definition duckdb.hpp:11445

◆ ExecuteDelayed()

void duckdb::PhysicalStreamingWindow::ExecuteDelayed ( ExecutionContext & context,
DataChunk & delayed,
DataChunk & input,
DataChunk & chunk,
GlobalOperatorState & gstate ) const
private
162413 {
162414 // Put payload columns in place
162415 for (idx_t col_idx = 0; col_idx < delayed.data.size(); col_idx++) {
162416 output.data[col_idx].Reference(delayed.data[col_idx]);
162417 }
162418 idx_t count = delayed.size();
162419 output.SetCardinality(count);
162420
162421 ExecuteFunctions(context, output, input, gstate_p);
162422}

◆ ExecuteShifted()

void duckdb::PhysicalStreamingWindow::ExecuteShifted ( ExecutionContext & context,
DataChunk & delayed,
DataChunk & input,
DataChunk & chunk,
GlobalOperatorState & gstate ) const
private
162385 {
162386 auto &gstate = gstate_p.Cast<StreamingWindowGlobalState>();
162387 auto &state = gstate.local_state->Cast<StreamingWindowState>();
162388 auto &shifted = state.shifted;
162389
162390 idx_t out = output.size();
162391 idx_t in = input.size();
162392 idx_t delay = delayed.size();
162393 D_ASSERT(out <= delay);
162394
162395 state.Reset(shifted);
162396 // shifted = delayed
162397 delayed.Copy(shifted);
162398 state.Reset(delayed);
162399 for (idx_t col_idx = 0; col_idx < delayed.data.size(); ++col_idx) {
162400 // output[0:out] = delayed[0:out]
162401 output.data[col_idx].Reference(shifted.data[col_idx]);
162402 // delayed[0:out] = delayed[out:delay-out]
162403 VectorOperations::Copy(shifted.data[col_idx], delayed.data[col_idx], delay, out, 0);
162404 // delayed[delay-out:delay-out+in] = input[0:in]
162405 VectorOperations::Copy(input.data[col_idx], delayed.data[col_idx], in, 0, delay - out);
162406 }
162407 delayed.SetCardinality(delay - out + in);
162408
162409 ExecuteFunctions(context, output, delayed, gstate_p);
162410}

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