NebulaStream  0.6.213
NebulaStream is a data and application management framework for the internet of things
NES::Optimizer::SampleCodeGenerationPhase Class Reference

: This phase allows generating C++ code for each logical operator and add it to the operator as property More...

#include <SampleCodeGenerationPhase.hpp>

Public Member Functions

QueryPlanPtr execute (const QueryPlanPtr &queryPlan)
 Iterates over the query plan, compute the C++ code for each operator, and add the generated code to the operator property. More...
 
DecomposedQueryPlanPtr execute (const DecomposedQueryPlanPtr &decomposedQueryPlan)
 

Static Public Member Functions

static SampleCodeGenerationPhasePtr create ()
 

Detailed Description

: This phase allows generating C++ code for each logical operator and add it to the operator as property

Member Function Documentation

◆ create()

SampleCodeGenerationPhasePtr NES::Optimizer::SampleCodeGenerationPhase::create ( )
static

Referenced by NES::RequestProcessor::AddQueryRequest::executeRequestLogic(), and NES::RequestProcessor::ExplainRequest::executeRequestLogic().

Here is the caller graph for this function:

◆ execute() [1/2]

DecomposedQueryPlanPtr NES::Optimizer::SampleCodeGenerationPhase::execute ( const DecomposedQueryPlanPtr decomposedQueryPlan)
Parameters
Iteratesover the query plan, compute the C++ code for each operator, and add the generated code to the operator property
decomposedQueryPlanthe input query plan
Returns
updated query plan

References NES::QueryCompilation::QueryCompilationRequest::create().

Here is the call graph for this function:

◆ execute() [2/2]

QueryPlanPtr NES::Optimizer::SampleCodeGenerationPhase::execute ( const QueryPlanPtr queryPlan)

Iterates over the query plan, compute the C++ code for each operator, and add the generated code to the operator property.

Parameters
queryPlanthe input query plan
Returns
updated query plan

References NES::QueryCompilation::QueryCompilationRequest::create(), and UNSURE_CONVERSION_TODO_4761.

Here is the call graph for this function:

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