NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
Test of distributed NEMO join. More...
Public Member Functions | |
void | SetUp () override |
TestHarness | createTestHarness (const Query &query, std::function< void(CoordinatorConfigurationPtr)> crdFunctor, uint64_t layers, uint64_t nodesPerNode, uint64_t leafNodesPerNode) |
![]() | |
BaseIntegrationTest () | |
the base test class ctor that creates the internal test resources More... | |
~BaseIntegrationTest () override | |
void | SetUp () override |
Fetches the port. More... | |
void | TearDown () override |
Release internal ports. More... | |
void | onFatalError (int signalNumber, std::string callstack) override |
onFatalError shall be called when a signal is caught More... | |
void | onFatalException (std::shared_ptr< std::exception > exception, std::string callstack) override |
onFatalException shall be called when an exception is caught More... | |
![]() | |
void | SetUp () override |
void | TearDown () override |
![]() | |
~virtual_enable_shared_from_this () NES_NOEXCEPT(true) override=default | |
std::shared_ptr< T1 > | shared_from_this () |
std::weak_ptr< T1 > | weak_from_this () |
![]() | |
virtual | ~virtual_enable_shared_from_this_base () NES_NOEXCEPT(isNoexceptDestructible)=default |
![]() | |
TestWaitingHelper () | |
void | startWaitingThread (std::string testName) |
void | completeTest () |
void | failTest () |
Static Public Member Functions | |
static void | SetUpTestCase () |
static CSVSourceTypePtr | createCSVSourceType (const std::string &logicalSourceNAme, const std::string &physicalSourceName, const std::string &inputPath) |
Public Attributes | |
BufferManagerPtr | bufferManager |
QueryCompilation::StreamJoinStrategy | joinStrategy = QueryCompilation::StreamJoinStrategy::NESTED_LOOP_JOIN |
QueryCompilation::WindowingStrategy | windowingStrategy = QueryCompilation::WindowingStrategy::SLICING |
![]() | |
detail::TestSourceNameHelper | srcName |
Additional Inherited Members | |
![]() | |
BorrowedPortPtr | getAvailablePort () |
Retrieve another free port. More... | |
std::filesystem::path | getTestResourceFolder () const |
returns the test resource folder to write files More... | |
![]() | |
BorrowedPortPtr | rpcCoordinatorPort {nullptr} |
BorrowedPortPtr | restPort {nullptr} |
Test of distributed NEMO join.
|
inlinestatic |
|
inline |
Creates a TestHarness with a given query and topology parameters. The leafs of the topology are sources.
query | the query |
crdFunctor | functor to pass coordinator params |
layers | number of layers of the topology tree |
nodesPerNode | number of children per node |
leafNodesPerNode | number of leaf nodes for the parents of last layer |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerToWorkerWithId(), NES::TestHarness::attachWorkerWithCSVSourceToWorkerWithId(), NES::Schema::create(), NES::DataTypeFactory::createUInt32(), NES::DataTypeFactory::createUInt64(), NES_DEBUG, nodeId, NES::TestUtils::restPort(), NES::TestHarness::setJoinStrategy(), NES::TestHarness::setupTopology(), NES::TestHarness::setWindowingStrategy(), NES::TestHarness::validate(), and magic_enum::detail::value().
|
inlineoverride |
|
inlinestatic |
References NES::LOG_DEBUG, NES_INFO, and NES::Logger::setupLogging().
BufferManagerPtr NES::DistributedNemoJoinIntegrationTest::bufferManager |
QueryCompilation::StreamJoinStrategy NES::DistributedNemoJoinIntegrationTest::joinStrategy = QueryCompilation::StreamJoinStrategy::NESTED_LOOP_JOIN |
QueryCompilation::WindowingStrategy NES::DistributedNemoJoinIntegrationTest::windowingStrategy = QueryCompilation::WindowingStrategy::SLICING |