NebulaStream  0.6.213
NebulaStream is a data and application management framework for the internet of things
KeyedSlidingWindowQueryExecutionTest.cpp File Reference
#include <API/QueryAPI.hpp>
#include <API/Schema.hpp>
#include <BaseIntegrationTest.hpp>
#include <Plans/DecomposedQueryPlan/DecomposedQueryPlan.hpp>
#include <TestUtils/UtilityFunctions.hpp>
#include <Types/ThresholdWindow.hpp>
#include <Util/Logger/Logger.hpp>
#include <Util/TestExecutionEngine.hpp>
#include <Util/TestSinkDescriptor.hpp>
#include <Util/TestSourceDescriptor.hpp>
#include <Util/magicenum/magic_enum.hpp>
#include <iostream>
#include <utility>
Include dependency graph for KeyedSlidingWindowQueryExecutionTest.cpp:

Classes

class  KeyedSlidingWindowQueryExecutionTest
 

Functions

void fillBuffer (Runtime::MemoryLayouts::TestTupleBuffer &buf)
 
void createExpectedBuffer (Runtime::MemoryLayouts::TestTupleBuffer &buf)
 
 TEST_P (KeyedSlidingWindowQueryExecutionTest, testKeyedSlidingWindow)
 
 INSTANTIATE_TEST_CASE_P (testNonKeyedSlidingWindow, KeyedSlidingWindowQueryExecutionTest, ::testing::Values(QueryCompilation::WindowingStrategy::SLICING, QueryCompilation::WindowingStrategy::BUCKETING), [](const testing::TestParamInfo< KeyedSlidingWindowQueryExecutionTest::ParamType > &info) { return std::string(magic_enum::enum_name(info.param));})
 

Variables

constexpr auto dumpMode = NES::QueryCompilation::DumpMode::NONE
 

Function Documentation

◆ createExpectedBuffer()

void createExpectedBuffer ( Runtime::MemoryLayouts::TestTupleBuffer buf)

Referenced by TEST_P().

Here is the caller graph for this function:

◆ fillBuffer()

void fillBuffer ( Runtime::MemoryLayouts::TestTupleBuffer buf)

References NES::Runtime::MemoryLayouts::TestTupleBuffer::getBuffer(), NES::Runtime::MemoryLayouts::TestTupleBuffer::setNumberOfTuples(), and NES::Runtime::TupleBuffer::setSequenceData().

Referenced by TEST_P().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ INSTANTIATE_TEST_CASE_P()

INSTANTIATE_TEST_CASE_P ( testNonKeyedSlidingWindow  ,
KeyedSlidingWindowQueryExecutionTest  ,
::testing::Values(QueryCompilation::WindowingStrategy::SLICING, QueryCompilation::WindowingStrategy::BUCKETING)  ,
[] (const testing::TestParamInfo< KeyedSlidingWindowQueryExecutionTest::ParamType > &info) { return std::string(magic_enum::enum_name(info.param));}   
)

References magic_enum::enum_name().

Here is the call graph for this function:

◆ TEST_P()

Variable Documentation

◆ dumpMode

constexpr auto dumpMode = NES::QueryCompilation::DumpMode::NONE
constexpr