|
NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
A simple stand alone query execution engine for testing. More...
#include <TestExecutionEngine.hpp>
A simple stand alone query execution engine for testing.
|
explicit |
|
inline |
| std::shared_ptr< TestSink > NES::Testing::TestExecutionEngine::createDataSink | ( | const SchemaPtr & | outputSchema, |
| uint32_t | expectedTuples = 1 |
||
| ) |
| std::shared_ptr< SourceDescriptor > NES::Testing::TestExecutionEngine::createDataSource | ( | SchemaPtr | inputSchema | ) |
References NES::Testing::createNonRunnableSource(), and NES::Runtime::Graceful.
| void NES::Testing::TestExecutionEngine::emitBuffer | ( | std::shared_ptr< Runtime::Execution::ExecutableQueryPlan > | plan, |
| Runtime::TupleBuffer | buffer | ||
| ) |
| Runtime::MemoryLayouts::TestTupleBuffer NES::Testing::TestExecutionEngine::getBuffer | ( | const SchemaPtr & | schema | ) |
References NES::Runtime::MemoryLayouts::RowLayout::create().
| Runtime::BufferManagerPtr NES::Testing::TestExecutionEngine::getBufferManager | ( | ) | const |
| std::shared_ptr< NonRunnableDataSource > NES::Testing::TestExecutionEngine::getDataSource | ( | std::shared_ptr< Runtime::Execution::ExecutableQueryPlan > | plan, |
| uint32_t | source | ||
| ) |
References NES_ASSERT.
| Runtime::NodeEnginePtr NES::Testing::TestExecutionEngine::getNodeEngine | ( | ) | const |
| bool NES::Testing::TestExecutionEngine::stop | ( | ) |
| bool NES::Testing::TestExecutionEngine::stopQuery | ( | std::shared_ptr< Runtime::Execution::ExecutableQueryPlan > | plan, |
| Runtime::QueryTerminationType | type = Runtime::QueryTerminationType::HardStop |
||
| ) |
References type.
| std::shared_ptr< Runtime::Execution::ExecutableQueryPlan > NES::Testing::TestExecutionEngine::submitQuery | ( | DecomposedQueryPlanPtr | decomposedQueryPlan | ) |
References NES_ASSERT.