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

Result for a specific @CompilationRequest. Contains a reference to the @DynmaicObject created by the compiler. More...

#include <CompilationResult.hpp>

Public Member Functions

 CompilationResult (std::shared_ptr< DynamicObject > dynamicObject, Timer<> &&timer)
 Constructor for a Compilation result. More...
 
std::shared_ptr< DynamicObjectgetDynamicObject () const
 Returns the dynamic object created by the Compiler. More...
 
uint64_t getCompilationTime () const
 Returns the compilation time. More...
 

Detailed Description

Result for a specific @CompilationRequest. Contains a reference to the @DynmaicObject created by the compiler.

Constructor & Destructor Documentation

◆ CompilationResult()

NES::Compiler::CompilationResult::CompilationResult ( std::shared_ptr< DynamicObject dynamicObject,
Timer<> &&  timer 
)

Constructor for a Compilation result.

Parameters
dynamicObjectThe dynamic object created by the @LanguageCompiler
timertimer object to measure the time it takes to handle the @CompilationRequest

Member Function Documentation

◆ getCompilationTime()

uint64_t NES::Compiler::CompilationResult::getCompilationTime ( ) const

Returns the compilation time.

Returns
compilation time

References NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::getRuntime().

Here is the call graph for this function:

◆ getDynamicObject()

std::shared_ptr< DynamicObject > NES::Compiler::CompilationResult::getDynamicObject ( ) const

Returns the dynamic object created by the Compiler.

Returns
std::shared_ptr<DynamicObject>

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