|
NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
A class to keep Configurations of different nodes in the topology. More...
#include <TestHarnessWorkerConfiguration.hpp>
Public Types | |
| enum class | TestHarnessWorkerSourceType : int8_t { CSVSource , MemorySource , LambdaSource , NonSource } |
Public Member Functions | |
| void | setQueryStatusListener (const NesWorkerPtr &nesWorker) |
| const WorkerConfigurationPtr & | getWorkerConfiguration () const |
| TestHarnessWorkerSourceType | getSourceType () const |
| PhysicalSourceTypePtr | getPhysicalSourceType () const |
| void | setPhysicalSourceType (PhysicalSourceTypePtr physicalSource) |
| const std::vector< uint8_t * > & | getRecords () const |
| void | addRecord (uint8_t *record) |
| WorkerId | getWorkerId () const |
| const std::string & | getLogicalSourceName () const |
| const std::string & | getPhysicalSourceName () const |
| const NesWorkerPtr & | getNesWorker () const |
Static Public Member Functions | |
| static TestHarnessWorkerConfigurationPtr | create (WorkerConfigurationPtr workerConfiguration, WorkerId workerId) |
| static TestHarnessWorkerConfigurationPtr | create (WorkerConfigurationPtr workerConfiguration, std::string logicalSourceName, std::string physicalSourceName, TestHarnessWorkerSourceType sourceType, WorkerId workerId) |
A class to keep Configurations of different nodes in the topology.
|
strong |
| void NES::TestHarnessWorkerConfiguration::addRecord | ( | uint8_t * | record | ) |
|
static |
|
static |
References backward::details::move(), and NonSource.
Referenced by NES::TestHarness::attachWorkerToWorkerWithId(), NES::TestHarness::attachWorkerWithCSVSourceToWorkerWithId(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), and NES::TestHarness::attachWorkerWithMemorySourceToWorkerWithId().
| const std::string & NES::TestHarnessWorkerConfiguration::getLogicalSourceName | ( | ) | const |
| const NesWorkerPtr & NES::TestHarnessWorkerConfiguration::getNesWorker | ( | ) | const |
| const std::string & NES::TestHarnessWorkerConfiguration::getPhysicalSourceName | ( | ) | const |
| PhysicalSourceTypePtr NES::TestHarnessWorkerConfiguration::getPhysicalSourceType | ( | ) | const |
| const std::vector< uint8_t * > & NES::TestHarnessWorkerConfiguration::getRecords | ( | ) | const |
| TestHarnessWorkerConfiguration::TestHarnessWorkerSourceType NES::TestHarnessWorkerConfiguration::getSourceType | ( | ) | const |
| const WorkerConfigurationPtr & NES::TestHarnessWorkerConfiguration::getWorkerConfiguration | ( | ) | const |
| WorkerId NES::TestHarnessWorkerConfiguration::getWorkerId | ( | ) | const |
| void NES::TestHarnessWorkerConfiguration::setPhysicalSourceType | ( | PhysicalSourceTypePtr | physicalSource | ) |
| void NES::TestHarnessWorkerConfiguration::setQueryStatusListener | ( | const NesWorkerPtr & | nesWorker | ) |