NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
Provides the query compilation results. Query compilation can succeed, in this case the result contains a ExecutableQueryPlan pointer. If query compilation fails, the result contains the error and hasError() return true. More...
#include <QueryCompilationResult.hpp>
Public Member Functions | |
Runtime::Execution::ExecutableQueryPlanPtr | getExecutableQueryPlan () |
Returns the query execution plan if hasError() == false. More... | |
uint64_t | getCompilationTime () const |
Returns the compilation time. More... | |
bool | hasError () |
Indicates if the query compilation succeeded. More... | |
std::exception_ptr | getError () |
Returns the exception. More... | |
Static Public Member Functions | |
static QueryCompilationResultPtr | create (Runtime::Execution::ExecutableQueryPlanPtr qep, Timer<> &&timer) |
static QueryCompilationResultPtr | create (std::exception_ptr exception) |
Provides the query compilation results. Query compilation can succeed, in this case the result contains a ExecutableQueryPlan pointer. If query compilation fails, the result contains the error and hasError() return true.
|
static |
References backward::details::move().
Referenced by NES::QueryCompilation::SampleCPPCodeGenerator::compileQuery().
|
static |
uint64_t NES::QueryCompilation::QueryCompilationResult::getCompilationTime | ( | ) | const |
Returns the compilation time.
std::exception_ptr NES::QueryCompilation::QueryCompilationResult::getError | ( | ) |
Returns the exception.
Runtime::Execution::ExecutableQueryPlanPtr NES::QueryCompilation::QueryCompilationResult::getExecutableQueryPlan | ( | ) |
Returns the query execution plan if hasError() == false.
QueryCompilationException | if hasError() == true. |
References hasError().
bool NES::QueryCompilation::QueryCompilationResult::hasError | ( | ) |
Indicates if the query compilation succeeded.
Referenced by getExecutableQueryPlan().