NebulaStream  0.6.213
NebulaStream is a data and application management framework for the internet of things
NES Namespace Reference

This exception represents a network error. More...

Namespaces

 API
 The following declares API functions for windowing.
 
 Catalogs
 
 CEPOperatorBuilder
 
 Client
 
 Compiler
 
 Configurations
 
 CrossJoinOperatorBuilder
 CrossJoinOperatorBuilder.
 
 detail
 
 Exceptions
 
 ExecutableTypes
 
 Experimental
 create a table source
 
 IntervalJoinOperatorBuilder
 IntervalJoinOperator.
 
 jni
 This header provides basic functions that simplify the interaction with a JVM over JNI.
 
 Join
 
 JoinOperatorBuilder
 
 Logger
 
 Monitoring
 
 Nautilus
 
 Network
 
 Optimizer
 
 Parsers
 
 PhysicalTypes
 
 QueryCompilation
 
 RequestProcessor
 
 REST
 
 Runtime
 Turn this on to have Thread::current_num_threads_ keep a count of currently-active threads.
 
 Sensors
 
 Sequencing
 
 Spatial
 
 SpatialUtils
 a collection of shared spatial utility functions
 
 Statistic
 
 Testing
 
 TestUtils
 this is a util class for the tests
 
 Util
 
 Windowing
 
 WindowOperatorBuilder
 

Classes

class  NesCoordinator
 
class  ExecutionPlanRollbackException
 This exception represents an error occurred while reverting the changes in the QEP plan. More...
 
class  MapEntryNotFoundException
 This exception is raised when the query you are looking for is not found. More...
 
class  NesNetworkException
 
class  QueryDeploymentException
 This exception is thrown if some error occurred while deploying the query. More...
 
class  RequestTypeNotHandledException
 
class  CoordinatorRPCServer
 Coordinator RPC server responsible for receiving requests over GRPC interface. More...
 
class  GrpcLibraryInizializer
 
struct  RpcAsyncRequest
 
class  WorkerRPCClient
 
class  DeploymentPhase
 This class contains logic to transmit a collection of query sub plans to the desired worker nodes. More...
 
class  ErrorHandler
 
class  RestServer
 : This class is responsible for starting the REST server. More...
 
class  RestServerInterruptHandler
 Interrupt Handler for the rest server. This is used to wait for the termination of the rest server. More...
 
class  CoordinatorHealthCheckService
 : This class is responsible for handling requests related to monitor the alive status of nodes from the coordinator More...
 
class  MonitoringService
 : This class is responsible for handling requests related to fetching information regarding monitoring data. More...
 
class  QueryParsingService
 
class  RequestHandlerService
 : This class is responsible for handling requests related to submitting, fetching information, and deleting different queryIdAndCatalogEntryMapping, as well as modifying the topology. More...
 
class  E2ECoordinatorMultiWorkerTest
 
class  E2EMonitoringTest
 
class  DummySink
 
class  MetricValidator
 This class is responsible for verifying the content of metrics read by the SystemResourcesReader. More...
 
class  ProtobufMessageFactory
 Factory for Protobuf messages used in test code. More...
 
class  SchemaSourceDescriptor
 
class  TestHarness
 
class  TestHarnessWorkerConfiguration
 A class to keep Configurations of different nodes in the topology. More...
 
class  TestQuery
 TestQuery api for testing. More...
 
class  TestSink
 A sink for testing that can be part of a query plan and enables executing queries and producing results. More...
 
class  CollectTestSink
 A sink for testing that is instantiated using 'Type'. The CollectSink uses 'Type' as a template parameter for the TupleBuffer that it writes results into. More...
 
class  DummyQueryListener
 
class  DeepHierarchyTopologyTest
 
class  DistributedMatrixJoinIntegrationTest
 Test of distributed NEMO join. More...
 
class  DistributedNemoJoinIntegrationTest
 Test of distributed NEMO join. More...
 
class  ExplainRequestIntegrationTest
 
class  FileSinkIntegrationTest
 
class  JoinMultiThreadedTest
 
class  MultiThreadedTest
 
struct  NonKeyedResultRecord
 
struct  KeyedResultRecord
 
class  MultiWorkerTest
 
struct  TestStruct
 
class  FilterPushDownTest
 
class  QueryDeploymentTest
 
class  QueryFailureTest
 
class  QueryReconfigurationTest
 
class  QueryRedeploymentIntegrationTest
 
class  ConnectivityControllerTest
 
class  LocationControllerIntegrationTest
 
class  MonitoringControllerTest
 
class  QueryCatalogControllerTest
 
class  QueryControllerTest
 
class  SourceCatalogControllerTest
 
class  TopologyControllerTest
 
class  UDFCatalogControllerTest
 
class  BenchmarkSourceIntegrationTest
 
class  ContinuousSourceTest
 
class  LambdaSourceIntegrationTest
 
class  MemorySourceIntegrationTest
 
class  SourceCatalogRemoteTest
 
class  TCPSourceIntegrationTest
 
class  VariableLengthIntegrationTest
 
class  StatisticsIntegrationTest
 
class  TestHarnessUtilTest
 
class  UnionDeploymentTest
 
class  UpdateTopologyRemoteTest
 
class  KTMDeploymentTest
 
class  KeyedSlidingWindowTests
 In this test we assess the correctness of the thread local tumbling window. More...
 
struct  InputValue
 
struct  InputValueMultiKeys
 
class  DataGeneratorMultiKey
 
class  DataGenerator
 
class  NonKeyedSlidingWindowTests
 In this test we assess the correctness of the non-keyed sliding window. More...
 
class  KeyedTumblingWindowTests
 In this test we assess the correctness of the thread local tumbling window. More...
 
class  NonKeyedTumblingWindowTests
 In this test we assess the correctness of the non keyed tumbling window. More...
 
struct  MultipleInputValues
 
class  DataGeneratorMultiValue
 
class  WindowDeploymentTest
 
class  YSBDeploymentTest
 
class  WorkerCoordinatorStarterTest
 
class  NesCoordinatorTest
 
class  RequestExecutionExceptionTest
 
class  CoordinatorRPCServerTest
 
class  GrpcTests
 
class  MetricCollectorTest
 
class  MetricStoreTest
 
class  MonitoringQueriesTest
 
class  ResourcesReaderTest
 
class  UserDefinedMonitoringTest
 
class  ExpressionNodeTest
 
class  LogicalOperatorTest
 
class  MapJavaUDFLogicalOperatorTest
 
class  OperatorPropertiesTest
 
class  ConvertLogicalToPhysicalSinkTest
 
class  ConvertLogicalToPhysicalSourceTest
 
class  LogicalExpressionTest
 
class  AddScanAndEmitPhaseTest
 
class  ArrayTypeTest
 
class  DataTypeFactoryTests
 
class  LowerLogicalToPhysicalOperatorsTest
 
class  PipeliningPhaseTest
 
class  SemanticQueryValidationTest
 
class  SyntacticQueryValidationTest
 
class  AsyncTaskExecutorTest
 
class  BufferManagerTest
 
class  BufferStorageTest
 
class  LineageManagerTest
 
class  TextExecutablePipeline
 
class  NodeEngineTest
 test for the engine TODO: add more test cases More...
 
class  MockedPipelineExecutionContext
 
class  PapiProfilerTest
 
class  TupleBufferTest
 
class  WatermarkManagerTest
 
class  SinkTest
 
class  StatisticSinkTest
 
class  CircularBufferTest
 
class  MillisecondIntervalTest
 
class  MockDataSource
 
class  MockDataSourceWithRunningRoutine
 
class  DataSourceProxy
 
class  BinarySourceProxy
 
class  CSVSourceProxy
 
class  TCPSourceProxy
 
class  GeneratorSourceProxy
 
class  DefaultSourceProxy
 
class  LambdaSourceProxy
 
class  MonitoringSourceProxy
 
class  MockedExecutablePipeline
 
class  SourceTest
 
class  TCPSourceTest
 
class  LocationUnitTest
 
class  LocationProviderCSVTest
 
class  ReconnectSchedulePredictorTest
 
class  DefaultStatisticQueryGeneratorTest
 
class  StatisticIdsExtractorTest
 
class  StatisticRegistryTest
 
class  TimerTest
 
class  ExpressionItem
 A expression item represents the leaf in an expression tree. It is converted to an constant value expression or a field access expression. More...
 
class  Query
 
class  QueryAPITest
 
class  RemoteClientTest
 
class  TaskExecutionException
 This exception is thrown when an error occurs during window processing. More...
 
class  AbstractQueryStatusListener
 
class  DataEmitter
 Interface that classes have to adhere to emit data as tasks. More...
 
class  BufferAccessException
 This exception is thrown when an error occurs during UDF processing. More...
 
class  OperatorHandlerStore
 
class  TaggedPointer
 This class represents a mutable pointer that stores a tag in the 16 msb bits. More...
 
class  DataSinkPlugin
 DataSink interface to register a new physical data sink plugin. Implementations of this plugin must implement createDataSink that translates a sink descriptor to a DataSinkPtr. More...
 
class  CsvFormat
 
class  FormatIterator
 this class is used for iterating over a single buffer and extracting out the tuples More...
 
class  Iterator
 
class  JsonFormat
 
class  NesFormat
 
class  SinkFormat
 
class  FileSink
 The file sink writes the stream result to a text file, in CSV or JSON format. More...
 
class  MonitoringSink
 this class provides a monitoring sink to collecct metrics based on a given metric collector. More...
 
class  NullOutputSink
 this class provides a print sink More...
 
class  PrintSink
 this class provides a print sink More...
 
class  RawBufferSink
 
class  SinkMedium
 Base class for all data sinks in NES. More...
 
class  ZmqSink
 
class  BenchmarkSource
 Benchmark Source is a special source for benchmarking purposes only and stripes away all overhead The memory area out of which buffers will be produced must be initialized beforehand and allocated as a shared_ptr that must have ownership of the area, i.e., it must control when to free it. Do not use in distributed settings but only for single node dev and testing. More...
 
class  BinarySource
 this class provides a binary file as source More...
 
class  CSVSource
 this class implement the CSV as an input source More...
 
class  DataSource
 Base class for all data sources in NES we allow only three cases: 1.) If the user specifies a numBuffersToProcess: 1.1) if the source e.g. file is large enough we will read in numBuffersToProcess and then terminate 1.2) if the file is not large enough, we will start at the beginning until we produced numBuffersToProcess 2.) If the user set numBuffersToProcess to 0, we read the source until it ends, e.g, until the file ends 3.) If the user just set numBuffersToProcess to n but does not say how many tuples he wants per buffer, we loop over the source until the buffer is full. More...
 
class  DataSourcePlugin
 DataSource interface to register a new physical data source plugin. Implementations of this plugin must implement createDatasource that translates a source descriptor to a DataSourcePtr. More...
 
class  DefaultSource
 
class  GeneratorSource
 this class implements the generator source @Limitations: More...
 
class  LambdaSource
 
class  MemorySource
 Memory Source that reads from main memory and produces buffers. The memory area out of which buffers will be produced must be initialized beforehand and allocated as a shared_ptr that must have ownership of the area, i.e., it must control when to free it. Do not use in distributed settings but only for single node dev and testing. More...
 
class  MonitoringSource
 this class provides a monitoring source to generate metrics based on a given metric collector. More...
 
class  CSVParser
 
class  JSONParser
 
class  NESBinaryParser
 
class  Parser
 Base class for all input data parsers in NES. More...
 
class  BasePersistentSourceProperties
 
class  PersistentTCPSourceProperties
 
class  SenseSource
 this class implement the CSV as an input source More...
 
class  TCPSource
 source to receive data via TCP connection More...
 
class  ZmqSource
 this class provide a zmq as data source More...
 
class  BufferSequenceNumber
 The Buffer Sequence Number class encapsulates a unique id for every tuple buffer in the system. It consists out of a sequence number and an origin id. Their combination allows uniquely define a tuple buffer in the system. More...
 
class  CircularBuffer
 A templated class for a circular buffer. The implementation is header-only. Currently the structure supports push/emplace at front and checks for full/capacity/size. The iterators are only forward. Addition of elements is at the front. Removal is at the back. More...
 
class  MQTTClientWrapper
 Helper class for MQTTSink. Provides a convenient way to choose between asynchronous and synchronous clients. More...
 
class  MMapCircularBufferTest
 
class  AttributeField
 Represents a typed field in a schema. More...
 
class  Schema
 
class  TestSchemas
 
class  ArrayType
 Arrays con be constructed of any built-in type. Arrays always have a fixed sized and can not be extended. More...
 
class  Boolean
 The boolean type can have two states: true, and false. More...
 
class  Char
 The char type represents a single character. More...
 
class  DataType
 Base data type, which is the parent class for all other data types. More...
 
class  DataTypeFactory
 The data type factory offers multiple methods to construct data types. More...
 
class  FixedChar
 FixedChar(n), where n is a positive integer. FixedChar can store strings up to n characters (not bytes) in length. If the string to be stored is shorter than the declared length, values of type FixedChar will be space-padded. More...
 
class  Float
 Float precision are inexact, variable-precision numeric types. Inexact means that some values cannot be converted exactly to the internal format and are stored as approximations, so that storing and retrieving a value might show slight discrepancies. More...
 
class  Integer
 The Integer type represents whole numbers, that is, numbers without fractional components, of various ranges. The internal Integer type is parameterised by its bit size, and its lower and upper bound Integer(bitSize, lowerBound, upperBound) More...
 
class  Numeric
 The Numeric type represents integers and floats. More...
 
class  TextType
 The Text type represents a variable-sized text field. More...
 
class  Undefined
 The Undefined type represents a type for without any meaning. More...
 
class  BaseVariableSizeType
 Base class for all nes specific variable-sized data types. More...
 
class  NESType
 Base class for all nes specific data types. More...
 
class  ArrayPhysicalType
 The array physical type, which represent ArrayType and FixedChar types in NES. More...
 
class  BasicPhysicalType
 The BasicPhysicalType represents nes data types, which can be directly mapped to a native c++ type. More...
 
class  DefaultPhysicalTypeFactory
 This is a default physical type factory, which maps nes types to common x86 types. More...
 
class  PhysicalType
 The physical data type represents the physical representation of a NES data type. More...
 
class  PhysicalTypeFactory
 The physical type factory converts a nes data type into a physical representation. This is implemented as an abstract factory, as in the future we could identify different data type mappings, depending on the underling hardware. More...
 
class  TextPhysicalType
 The text physical type, which represent TextType and FixedChar types in NES. More...
 
class  ArrayValue
 
class  BasicValue
 
class  ValueType
 Representation of a user-defined constant in the NES type system. More...
 
class  DataTypeSerializationUtil
 The DataTypeSerializationUtil offers functionality to serialize and de-serialize data types and value types to a corresponding protobuffer object. More...
 
class  SchemaTest
 
class  InvalidArgumentException
 This class is used for adding custom invalid argument exception. More...
 
class  InvalidFieldException
 This exception is thrown when an invalid vide is detected during type inference phase. More...
 
class  DecomposedQueryIdWithVersion
 Wrapper for decomposed query plan and version. More...
 
class  NESStrongType
 
class  BreadthFirstNodeIterator
 Breadth-First iterator for node trees. We first iterate over all records at the same level and then go to the next level. More...
 
class  DepthFirstNodeIterator
 Depth-First iterator for node trees. We first iterate over all children and then process nodes at the same level. More...
 
class  Node
 
class  DrainQueryMetadata
 Metadata defining the information about how many sources will send the reconfiguration marker before draining and terminating the decomposed query. More...
 
class  ReconfigurationMetadata
 
class  UpdateAndDrainQueryMetadata
 Metadata defining the information about the new decomposed plan that needs to be started and immediately terminated. This metadata can be used for state migration using adhoc queries that are merged into the currently running decomposed query. Therefore, first the current plan needs to be updated to perform state migration before terminating it. More...
 
class  UpdateQueryMetadata
 Metadata defining the information about the new decomposed plan that needs to be started instead of the current one. This metadata can be used for updating the query plan due to addition, removal, or updation of an operator. More...
 
class  ReconfigurationMarker
 This class represents a reconfiguration marker that passes through currently deployed versions of decomposed query plans and transforms them. To this end, a reconfiguration marker contains a collection of instructions for different decomposed query plans to allow the transformation. This information is wrapped together in a map. More...
 
class  ReconfigurationMarkerEvent
 Reconfiguration marker event represents a single reconfiguration instruction that defines what is to be done as part of the reconfiguration and how to do so. More...
 
class  ReconfigurationMarkerSerializationUtil
 
class  ChunkCollector
 
class  SequenceData
 
struct  AtomicCounter
 
class  BlockingQueue
 
class  DumpHelper
 This is a utility, which provides an context, to dump state (e.g., query plans or irs) to a file or the console. More...
 
struct  LogCaller
 LogCaller is our compile-time trampoline to invoke the Logger method for the desired level of logging L. More...
 
struct  LogCaller< LogLevel::LOG_INFO >
 
struct  LogCaller< LogLevel::LOG_TRACE >
 
struct  LogCaller< LogLevel::LOG_DEBUG >
 
struct  LogCaller< LogLevel::LOG_ERROR >
 
struct  LogCaller< LogLevel::LOG_FATAL_ERROR >
 
struct  LogCaller< LogLevel::LOG_WARNING >
 
class  QueryStateHistoryEntry
 Associate a timestamp (in microseconds) with a query status change. More...
 
class  QueryStateSerializationUtil
 
class  ThreadBarrier
 Utility class that introduce a barrier for N threads. The barrier resets when N threads call wait(). More...
 
class  Timer
 Util class to measure the time of NES components and sub-components using snapshots. More...
 
class  TopologyLinkInformation
 this class represents a topology edge between 2 nodes More...
 
struct  ChunkStateTest
 
class  NonBlockingMonotonicSeqQueueTest
 
class  ThreadNamingTest
 
class  UtilFunctionTest
 

Typedefs

using RequestQueuePtr = std::shared_ptr< RequestQueue >
 
using TopologyPtr = std::shared_ptr< Topology >
 
using RestServerPtr = std::shared_ptr< RestServer >
 
using NesWorkerPtr = std::shared_ptr< NesWorker >
 
using RequestHandlerServicePtr = std::shared_ptr< RequestHandlerService >
 
using QueryParsingServicePtr = std::shared_ptr< QueryParsingService >
 
using MonitoringServicePtr = std::shared_ptr< MonitoringService >
 
using GlobalQueryPlanPtr = std::shared_ptr< GlobalQueryPlan >
 
using WorkerRPCClientPtr = std::shared_ptr< WorkerRPCClient >
 
using CoordinatorHealthCheckServicePtr = std::shared_ptr< CoordinatorHealthCheckService >
 
using LocationServicePtr = std::shared_ptr< LocationService >
 
using NesCoordinatorPtr = std::shared_ptr< NesCoordinator >
 
using CompletionQueuePtr = std::shared_ptr< grpc::CompletionQueue >
 
using ReconfigurationMarkerPtr = std::shared_ptr< ReconfigurationMarker >
 
using DecomposedQueryPlanPtr = std::shared_ptr< DecomposedQueryPlan >
 
using DeploymentPhasePtr = std::shared_ptr< DeploymentPhase >
 
using QueryPlanPtr = std::shared_ptr< QueryPlan >
 
using SchemaPtr = std::shared_ptr< Schema >
 
using QueryPtr = std::shared_ptr< Query >
 
using PatternPtr = std::shared_ptr< Pattern >
 
using QueryCatalogServicePtr = std::shared_ptr< QueryCatalogService >
 
using TopologyNodePtr = std::shared_ptr< TopologyNode >
 
using SharedQueryPlanPtr = std::shared_ptr< SharedQueryPlan >
 
using QueryUndeploymentPhasePtr = std::shared_ptr< QueryUndeploymentPhase >
 
using GlobalExecutionPlanPtr = std::shared_ptr< GlobalExecutionPlan >
 
template<typename T >
using ResourceHandle = std::shared_ptr< T >
 
using TopologyHandle = ResourceHandle< Topology >
 
using QueryCatalogHandle = ResourceHandle< Catalogs::Query::QueryCatalog >
 
using GlobalQueryPlanHandle = ResourceHandle< GlobalQueryPlan >
 
using ErrorHandlerPtr = std::shared_ptr< ErrorHandler >
 
using NesCoordinatorWeakPtr = std::weak_ptr< NesCoordinator >
 
using LogicalOperatorPtr = std::shared_ptr< LogicalOperator >
 
using CSVSourceTypePtr = std::shared_ptr< CSVSourceType >
 
using TestHarnessWorkerConfigurationPtr = std::shared_ptr< TestHarnessWorkerConfiguration >
 
using DataSourceProxyPtr = std::shared_ptr< DataSourceProxy >
 
using ExpressionNodePtr = std::shared_ptr< ExpressionNode >
 
using ValueTypePtr = std::shared_ptr< ValueType >
 
using FieldAssignmentExpressionNodePtr = std::shared_ptr< FieldAssignmentExpressionNode >
 
using OperatorPtr = std::shared_ptr< Operator >
 
using SourceLogicalOperatorPtr = std::shared_ptr< SourceLogicalOperator >
 
using SinkLogicalOperatorPtr = std::shared_ptr< SinkLogicalOperator >
 
using SinkDescriptorPtr = std::shared_ptr< SinkDescriptor >
 
using AbstractQueryStatusListenerPtr = std::shared_ptr< AbstractQueryStatusListener >
 
using ReconfigurationMarkerEventPtr = std::shared_ptr< const ReconfigurationMarkerEvent >
 
using BasicValuePtr = std::shared_ptr< BasicValue >
 
using LogicalJoinOperatorPtr = std::shared_ptr< LogicalJoinOperator >
 
using SourceDescriptorPtr = std::shared_ptr< SourceDescriptor >
 
using PhysicalSourceTypePtr = std::shared_ptr< PhysicalSourceType >
 
using OperatorHash = std::tuple< SharedQueryId, DecomposedQueryId, OperatorId >
 
using OperatorHandlerStorePtr = std::shared_ptr< OperatorHandlerStore >
 
using PhysicalTypePtr = std::shared_ptr< PhysicalType >
 
using DataSinkPtr = std::shared_ptr< SinkMedium >
 
using DataSourcePtr = std::shared_ptr< DataSource >
 
using DataEmitterPtr = std::shared_ptr< DataEmitter >
 
using HashOperatorId = std::pair< OperatorId, DecomposedQueryPlanVersion >
 
using SinkPluginRegistry = Util::PluginRegistry< DataSinkPlugin >
 
using SerializableSchemaPtr = std::shared_ptr< SerializableSchema >
 
using SinkFormatPtr = std::shared_ptr< SinkFormat >
 
using FileSinkPtr = std::shared_ptr< FileSink >
 
using MetricPtr = std::shared_ptr< Metric >
 
using MonitoringSinkPtr = std::shared_ptr< MonitoringSink >
 
using WatermarkTs = uint64_t
 
using OriginId = uint64_t
 
using SequenceNumber = uint64_t
 
using NullOutputSinkPtr = std::shared_ptr< NullOutputSink >
 
using PrintSinkPtr = std::shared_ptr< PrintSink >
 
using ZmqSinkPtr = std::shared_ptr< ZmqSink >
 
using BenchmarkSourcePtr = std::shared_ptr< BenchmarkSource >
 
using BinarySourcePtr = std::shared_ptr< BinarySource >
 
using CSVParserPtr = std::shared_ptr< CSVParser >
 
using CSVSourcePtr = std::shared_ptr< CSVSource >
 
using SourcePluginRegistry = Util::PluginRegistry< DataSourcePlugin >
 
using DefaultSourcePtr = std::shared_ptr< DefaultSource >
 
using LambdaSourcePtr = std::shared_ptr< LambdaSource >
 
using MemorySourcePtr = std::shared_ptr< MemorySource >
 
using MonitoringSourcePtr = std::shared_ptr< MonitoringSource >
 
using NESParserPtr = std::shared_ptr< NESBinaryParser >
 
using SenseSourcePtr = std::shared_ptr< SenseSource >
 
using MonitoringPlanPtr = std::shared_ptr< MonitoringPlan >
 
using MetricGroupPtr = std::shared_ptr< MetricGroup >
 
using MetricCatalogPtr = std::shared_ptr< MetricCatalog >
 
using ParserPtr = std::shared_ptr< Parser >
 
using TCPSourcePtr = std::shared_ptr< TCPSource >
 
using ZmqSourcePtr = std::shared_ptr< ZmqSource >
 
using BufferSequenceNumberPtr = std::shared_ptr< BufferSequenceNumber >
 
using MQTTClientWrapperPtr = std::shared_ptr< MQTTClientWrapper >
 
using DataTypePtr = std::shared_ptr< DataType >
 
using AttributeFieldPtr = std::shared_ptr< AttributeField >
 
using ArrayTypePtr = std::shared_ptr< ArrayType >
 
using TextTypePtr = std::shared_ptr< TextType >
 
using QueryCompilerPtr = std::shared_ptr< QueryCompiler >
 
using BasicPhysicalTypePtr = std::shared_ptr< BasicPhysicalType >
 
using IntegerPtr = std::shared_ptr< Integer >
 
using ArrayPtr = std::shared_ptr< ArrayType >
 
using FloatPtr = std::shared_ptr< Float >
 
using CharPtr = std::shared_ptr< Char >
 
using TextPtr = std::shared_ptr< TextType >
 
using SubpartitionId = NESStrongType< uint64_t, struct SubpartitionId_, 0, 1 >
 
using PartitionId = NESStrongType< uint64_t, struct PartitionId_, 0, 1 >
 
using OperatorId = NESStrongType< uint64_t, struct OperatorId_, 0, 1 >
 
using PipelineId = NESStrongType< uint64_t, struct PipelineId_, 0, 1 >
 
using QueryId = NESStrongType< uint64_t, struct QueryId_, 0, 1 >
 
using SharedQueryId = NESStrongType< uint64_t, struct SharedQueryId_, 0, 1 >
 
using DecomposedQueryId = NESStrongType< uint64_t, struct DecomposedQueryPlanId_, 0, 1 >
 
using WorkerId = NESStrongType< uint64_t, struct WorkerId_, 0, 1 >
 
using WorkerThreadId = NESStrongType< uint32_t, struct WorkerThreadId_, UINT32_MAX, 0 >
 
using RequestId = NESStrongType< uint64_t, struct RequestId_, 0, 1 >
 
using StatisticId = uint64_t
 
using DecomposedQueryPlanVersion = uint16_t
 
using ChunkNumber = uint64_t
 
using NodePtr = std::shared_ptr< Node >
 
using ReconfigurationMetadatatPtr = std::shared_ptr< ReconfigurationMetadata >
 
using Timestamp = uint64_t
 
using QueryStateHistory = std::vector< QueryStateHistoryEntry >
 Track a timestamped history of query status changes. More...
 
using ThreadBarrierPtr = std::shared_ptr< ThreadBarrier >
 
using NanoSeconds = std::chrono::nanoseconds
 
using Clock = std::chrono::high_resolution_clock
 

Enumerations

enum class  RpcClientMode : uint8_t {
  Register , Unregister , Start , Stop ,
  Reconfiguration
}
 
enum class  ExecutionResult : uint8_t { Ok = 0 , Error , Finished , AllFinished }
 
enum class  PipelineStageArity : uint8_t { Unary , BinaryLeft , BinaryRight }
 
enum class  FormatTypes : uint8_t { ARROW_IPC_FORMAT , CSV_FORMAT , JSON_FORMAT , NES_FORMAT }
 Format types supported by NES. More...
 
enum class  SinkMediumTypes : uint8_t {
  ZMQ_SINK , PRINT_SINK , KAFKA_SINK , FILE_SINK ,
  NETWORK_SINK , OPC_SINK , MQTT_SINK , NULL_SINK ,
  MONITORING_SINK , STATISTIC_SINK
}
 
enum class  BasicType : uint8_t {
  INT8 , UINT8 , INT16 , UINT16 ,
  INT32 , UINT32 , INT64 , FLOAT32 ,
  UINT64 , FLOAT64 , BOOLEAN , CHAR
}
 
enum class  ReconfigurationMetadataType : uint8_t { DrainQuery = 1 , UpdateAndDrainQuery = 2 , UpdateQuery = 3 }
 
enum class  GatheringMode : uint8_t { INTERVAL_MODE = 0 , INGESTION_RATE_MODE = 1 , ADAPTIVE_MODE = 2 }
 
enum class  LogLevel : uint8_t {
  LOG_NONE = 1 , LOG_FATAL_ERROR = 2 , LOG_ERROR = 3 , LOG_WARNING = 4 ,
  LOG_INFO = 5 , LOG_DEBUG = 6 , LOG_TRACE = 7
}
 Indicators for a log level following the priority of log messages. A specific log level contains all log messages of an lower level. For example if LOG_LEVEL is LOG_WARNING, then it also contains LOG_NONE, LOG_FATAL_ERROR, and LOG_ERROR. More...
 
enum class  OperatorState : uint8_t {
  TO_BE_PLACED = 0 , TO_BE_REMOVED , TO_BE_REPLACED , PLACED ,
  REMOVED
}
 Represents various states the operator goes through. More...
 
enum class  QueryState : uint8_t {
  REGISTERED = 0 , OPTIMIZING , MARKED_FOR_DEPLOYMENT , MARKED_FOR_REDEPLOYMENT ,
  MARKED_FOR_MIGRATION , MARKED_FOR_UPDATE_AND_DRAIN , DEPLOYED , REDEPLOYED ,
  RUNNING , MIGRATING , MARKED_FOR_HARD_STOP , MARKED_FOR_SOFT_STOP ,
  SOFT_STOP_TRIGGERED , SOFT_STOP_COMPLETED , STOPPED , MARKED_FOR_FAILURE ,
  FAILED , RESTARTING , MIGRATION_COMPLETED , EXPLAINED
}
 Represents various states the user query goes through. More...
 
enum class  RequestType : uint8_t {
  AddQuery = 0 , StopQuery , RestartQuery , FailQuery ,
  MigrateQuery , UpdateQuery , AddTopologyNode , RemoveTopologyNode ,
  MigrateTopologyNode , AddTopologyLink , RemoveTopologyLink
}
 Represents various request types. More...
 
enum class  SharedQueryPlanStatus : uint8_t {
  CREATED = 0 , DEPLOYED , PROCESSED , PARTIALLY_PROCESSED ,
  UPDATED , STOPPED , FAILED , MIGRATING
}
 Represents various states a Shared query Plan goes through. More...
 
enum class  SourceMode : uint8_t {
  EMPTY_BUFFER = 0 , WRAP_BUFFER = 1 , CACHE_COPY = 2 , COPY_BUFFER = 3 ,
  COPY_BUFFER_SIMD_RTE = 4 , COPY_BUFFER_SIMD_APEX = 5
}
 

Functions

 TEST_F (E2ECoordinatorMultiWorkerTest, testHierarchicalTopology)
 Testing NES with a config using a hierarchical topology. More...
 
 TEST_F (E2ECoordinatorMultiWorkerTest, testExecutingValidQueryWithFileOutputTwoWorkerSameSource)
 
 TEST_F (E2ECoordinatorMultiWorkerTest, testExecutingValidQueryWithFileOutputTwoWorkerDifferentSource)
 
 TEST_F (E2ECoordinatorMultiWorkerTest, testExecutingValidUserQueryWithTumblingWindowFileOutput)
 
 TEST_F (E2ECoordinatorMultiWorkerTest, testExecutingValidJoinQueryWithNemo)
 
 TEST_F (E2ECoordinatorMultiWorkerTest, DISABLED_testExecutingValidJoinQueryWithNemoTcpSource)
 
 TEST_F (E2EMonitoringTest, requestStoredRegistrationMetrics)
 
 TEST_F (E2EMonitoringTest, requestAllMetricsViaRest)
 
 TEST_F (E2EMonitoringTest, requestStoredMetricsViaRest)
 
 TEST_F (E2EMonitoringTest, requestAllMetricsFromMonitoringStreams)
 
 TEST_F (E2EMonitoringTest, testNemoPlacementWithMonitoringSource)
 
std::vector< NES::Spatial::DataTypes::Experimental::WaypointgetWaypointsFromCsv (const std::string &csvPath, Timestamp startTime)
 read mobile device path waypoints from csv More...
 
void writeWaypointsToCsv (const std::string &csvPath, const std::vector< NES::Spatial::DataTypes::Experimental::Waypoint > &waypoints)
 write mobile device path waypoints to a csv file to use as input for the LocationProviderCSV class More...
 
uint64_t countOccurrences (const std::string &searchString, const std::string &targetString)
 
 TEST_F (DeepHierarchyTopologyTest, testOutputAndAllSensors)
 This tests just outputs the default source for a hierarchy with one relay which also produces data by itself Topology: PhysicalNode[id=1, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=2, ip=127.0.0.1, resourceCapacity=1, usedResource=0] | |–PhysicalNode[id=6, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=5, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=4, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=3, ip=127.0.0.1, resourceCapacity=12, usedResource=0]. More...
 
 TEST_F (DeepHierarchyTopologyTest, testSimpleQueryWithTwoLevelTreeWithDefaultSourceAndAllSensors)
 This tests just outputs the default source for a hierarchy of two levels where each node produces data Topology: PhysicalNode[id=1, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=5, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=7, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=6, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=2, ip=127.0.0.1, resourceCapacity=1, usedResource=0] | |–PhysicalNode[id=4, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=3, ip=127.0.0.1, resourceCapacity=12, usedResource=0]. More...
 
 TEST_F (DeepHierarchyTopologyTest, testOutputAndNoSensors)
 This tests just outputs the default source for a hierarchy with one relay which does not produce data Topology: PhysicalNode[id=1, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=2, ip=127.0.0.1, resourceCapacity=1, usedResource=0] | |–PhysicalNode[id=6, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=5, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=4, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=3, ip=127.0.0.1, resourceCapacity=12, usedResource=0]. More...
 
 TEST_F (DeepHierarchyTopologyTest, testSimpleQueryWithTwoLevelTreeWithDefaultSourceAndWorker)
 This tests just outputs the default source for a hierarchy of two levels where only leaves produce data Topology: PhysicalNode[id=1, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=5, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=7, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=6, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=2, ip=127.0.0.1, resourceCapacity=1, usedResource=0] | |–PhysicalNode[id=4, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=3, ip=127.0.0.1, resourceCapacity=12, usedResource=0]. More...
 
 TEST_F (DeepHierarchyTopologyTest, testSimpleQueryWithThreeLevelTreeWithDefaultSourceAndWorker)
 This tests just outputs the default source for a hierarchy of three levels where only leaves produce data Topology: PhysicalNode[id=1, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=5, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=7, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=9, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=6, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=8, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=2, ip=127.0.0.1, resourceCapacity=1, usedResource=0] | |–PhysicalNode[id=4, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=11, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=3, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=10, ip=127.0.0.1, resourceCapacity=12, usedResource=0]. More...
 
 TEST_F (DeepHierarchyTopologyTest, testSelectProjectThreeLevel)
 This tests applies project and selection on a three level hierarchy Topology: PhysicalNode[id=1, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=5, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=7, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=9, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=6, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=8, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=2, ip=127.0.0.1, resourceCapacity=1, usedResource=0] | |–PhysicalNode[id=4, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=11, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=3, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=10, ip=127.0.0.1, resourceCapacity=12, usedResource=0]. More...
 
 TEST_F (DeepHierarchyTopologyTest, testUnionThreeLevel)
 This tests applies a unionWith on a three level hierarchy Topology: PhysicalNode[id=1, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=5, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=7, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=9, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=6, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=8, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=2, ip=127.0.0.1, resourceCapacity=1, usedResource=0] | |–PhysicalNode[id=4, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=11, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=3, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=10, ip=127.0.0.1, resourceCapacity=12, usedResource=0]. More...
 
 TEST_F (DeepHierarchyTopologyTest, testSimpleQueryWithThreeLevelTreeWithWindowDataAndWorkerFinal)
 This tests just outputs the default source for a hierarchy of two levels where only leaves produce data Topology: PhysicalNode[id=1, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=5, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=7, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=6, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=2, ip=127.0.0.1, resourceCapacity=1, usedResource=0] | |–PhysicalNode[id=4, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=3, ip=127.0.0.1, resourceCapacity=12, usedResource=0]. More...
 
 TEST_F (DeepHierarchyTopologyTest, testMapAndAggregationQuery)
 
 TEST_F (DistributedMatrixJoinIntegrationTest, testThreeLevelsTopologyTopDown)
 
 TEST_F (DistributedNemoJoinIntegrationTest, testThreeLevelsTopologyTopDown)
 
 TEST_F (ExplainRequestIntegrationTest, executeExplainRequest)
 
 TEST_F (FileSinkIntegrationTest, DISABLED_canWriteToOutputFileInAppendMode)
 
 TEST_F (FileSinkIntegrationTest, canWriteToOutputFileInOverWriteMode)
 
 TEST_F (FileSinkIntegrationTest, cannotOpenOutputFile)
 
 TEST_F (FileSinkIntegrationTest, cannotRemoveOutputFileInOverwriteMode)
 
 TEST_P (JoinMultiThreadedTest, testOneJoin)
 
 TEST_P (JoinMultiThreadedTest, testTwoJoins)
 
 TEST_P (JoinMultiThreadedTest, testThreeJoins)
 
 TEST_P (JoinMultiThreadedTest, oneJoinSlidingWindow)
 
 TEST_P (JoinMultiThreadedTest, threeJoinsSlidingWindow)
 
 INSTANTIATE_TEST_CASE_P (testJoinQueriesMultiThreaded, JoinMultiThreadedTest, ::testing::Combine(ALL_JOIN_STRATEGIES, ALL_WINDOW_STRATEGIES, ::testing::Values(1, 2, 3, 4, 8)), [](const testing::TestParamInfo< JoinMultiThreadedTest::ParamType > &info) { return std::string(magic_enum::enum_name(std::get< 0 >(info.param)))+"_"+std::string(magic_enum::enum_name(std::get< 1 >(info.param)))+"_"+std::to_string(std::get< 2 >(info.param))+"Workerthreads";})
 
 TEST_P (MultiThreadedTest, DISABLED_testFilterQuery)
 
 TEST_P (MultiThreadedTest, testProjectQuery)
 
std::ostream & operator<< (std::ostream &os, const NonKeyedResultRecord &record)
 
std::ostream & operator<< (std::ostream &os, const KeyedResultRecord &record)
 
 TEST_P (MultiThreadedTest, DISABLED_testNonKeyedEventTimeTumblingWindowAggregation)
 
 TEST_P (MultiThreadedTest, testNonKeyedEventTimeSlidingWindowAggregation)
 
 TEST_P (MultiThreadedTest, testKeyedEventTimeTumblingWindowAggregation)
 
 TEST_P (MultiThreadedTest, DISABLED_testMultipleNonKeyedEventTimeTumblingWindows)
 
 TEST_P (MultiThreadedTest, testMultipleKeyedEventTimeTumblingWindows)
 
 INSTANTIATE_TEST_CASE_P (testQueriesMultiThreaded, MultiThreadedTest, ::testing::Values(1, 2, 3, 4, 8), [](const testing::TestParamInfo< MultiThreadedTest::ParamType > &info) { return std::to_string(info.param)+"Workerthreads";})
 
 TEST_F (MultiWorkerTest, startStopWorkerCoordinatorSingle)
 
 TEST_F (MultiWorkerTest, startStopWorkerCoordinator)
 
 TEST_F (MultiWorkerTest, startStopCoordinatorWorker)
 
 TEST_F (MultiWorkerTest, startConnectStopWorkerCoordinator)
 
 TEST_F (MultiWorkerTest, startWithConnectStopWorkerCoordinator)
 
 TEST_F (MultiWorkerTest, startConnectStopWithoutDisconnectWorkerCoordinator)
 
 TEST_F (MultiWorkerTest, testMultipleWorker)
 
 TEST_F (MultiWorkerTest, startWorkersWithoutWorkerId)
 
 TEST_F (MultiWorkerTest, startWorkerWithWorkerIdBelongingToActiveWorker)
 
 TEST_F (MultiWorkerTest, startWorkerWithMisconfiguredWorkerId)
 
 TEST_F (MultiWorkerTest, startWorkerWithCorrectNextWorkerId)
 
 TEST_F (MultiWorkerTest, checkPersistenceOfNewWorkerIdInYaml)
 
 TEST_F (MultiWorkerTest, checkPersistenceOfWorkerIdWithNonExistingConfigFile)
 
 TEST_F (MultiWorkerTest, DISABLED_checkPersistenceOfOverwrittenWorkerIdInYaml)
 
 TEST_F (FilterPushDownTest, testCorrectResultsForFilterPushDownBelowTwoMaps)
 
 TEST_F (FilterPushDownTest, testSameResultsForPushDownBelowMapWithMul)
 
 TEST_F (FilterPushDownTest, testSameResultsForPushDownBelowMapWithNewField)
 
 TEST_F (QueryDeploymentTest, testDeployTwoWorkerMergeUsingBottomUp)
 
 TEST_F (QueryDeploymentTest, testDeployTwoWorkerMergeUsingTopDown)
 
 TEST_F (QueryDeploymentTest, testDeployOneWorkerFileOutput)
 
 TEST_F (QueryDeploymentTest, testDeployOneWorkerFileOutputUsingTopDownStrategy)
 Test deploy query with print sink with one worker using top down strategy. More...
 
 TEST_F (QueryDeploymentTest, testDeployTwoWorkerFileOutput)
 
 TEST_F (QueryDeploymentTest, testSourceSharing)
 
 TEST_F (QueryDeploymentTest, testSourceSharingWithFilter)
 
 TEST_F (QueryDeploymentTest, testDeployTwoWorkerFileOutputUsingTopDownStrategy)
 
 TEST_F (QueryDeploymentTest, testDeployOneWorkerFileOutputWithFilter)
 
 TEST_F (QueryDeploymentTest, testDeployOneWorkerFileOutputWithFilterWithInProcessTerminationWhenTwoSourcesRunning)
 
 TEST_F (QueryDeploymentTest, testDeployOneWorkerFileOutputWithFilterWithInProcessTerminationWhenOneSourceRunning)
 
 TEST_F (QueryDeploymentTest, testDeployOneWorkerFileOutputWithFilterWithInProcessTerminationWhenNoSourceRunning)
 
 TEST_F (QueryDeploymentTest, testDeployOneWorkerFileOutputWithProjection)
 
 TEST_F (QueryDeploymentTest, testDeployOneWorkerFileOutputWithWrongProjection)
 
 TEST_F (QueryDeploymentTest, testDeployUndeployMultipleQueriesTwoWorkerFileOutput)
 
 TEST_F (QueryDeploymentTest, testOneQueuePerQueryWithOutput)
 
 TEST_F (QueryDeploymentTest, testOneQueuePerQueryWithHardShutdownAndStatic)
 
 TEST_F (QueryDeploymentTest, testDeployUndeployMultipleQueriesOnTwoWorkerFileOutputWithQueryMerging)
 
 TEST_F (QueryDeploymentTest, testDeployTwoWorkerJoinUsingTopDownOnSameSchema)
 
 TEST_F (QueryDeploymentTest, testOneQueuePerQueryWithHardShutdown)
 
 TEST_F (QueryDeploymentTest, DISABLED_testSelfJoinTumblingWindow)
 
 TEST_F (QueryDeploymentTest, testJoinWithDifferentSourceDifferentSpeedTumblingWindow)
 
 TEST_F (QueryDeploymentTest, testJoinWithSlidingWindow)
 
 TEST_F (QueryDeploymentTest, testJoinWithThreeSources)
 
 TEST_F (QueryDeploymentTest, testJoinWithFourSources)
 
 TEST_F (QueryDeploymentTest, DISABLED_testJoin2WithDifferentSourceTumblingWindowDistributed)
 This tests just outputs the default source for a hierarchy with one relay which also produces data by itself Topology: PhysicalNode[id=1, ip=127.0.0.1, resourceCapacity=12, usedResource=0] => Join 2 |–PhysicalNode[id=2, ip=127.0.0.1, resourceCapacity=1, usedResource=0] => Join 1 | |–PhysicalNode[id=6, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=5, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=4, ip=127.0.0.1, resourceCapacity=12, usedResource=0]. More...
 
 TEST_F (QueryDeploymentTest, DISABLED_testJoin2WithDifferentSourceSlidingWindowDistributed)
 This tests just outputs the default source for a hierarchy with one relay which also produces data by itself Topology: PhysicalNode[id=1, ip=127.0.0.1, resourceCapacity=12, usedResource=0] => Join 2 |–PhysicalNode[id=2, ip=127.0.0.1, resourceCapacity=1, usedResource=0] => Join 1 | |–PhysicalNode[id=6, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=5, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=4, ip=127.0.0.1, resourceCapacity=12, usedResource=0]. More...
 
 TEST_F (QueryDeploymentTest, testIntervalJoinTwoSources)
 
 TEST_F (QueryFailureTest, testQueryFailureForFaultySource)
 
 TEST_F (QueryFailureTest, testExecutingOneFaultAndOneCorrectQuery)
 
 TEST_F (QueryReconfigurationTest, testMarkerPropagation)
 
 TEST_F (QueryReconfigurationTest, testPlanIdMatching)
 
 TEST_P (QueryRedeploymentIntegrationTest, DISABLED_testAsyncConnectingSink)
 This tests the asynchronous connection establishment, where the sink buffers incoming tuples while waiting for the network channel to become available. More...
 
 TEST_F (ConnectivityControllerTest, testCORSRequest)
 
 TEST_F (ConnectivityControllerTest, testGetRequest)
 
 TEST_F (LocationControllerIntegrationTest, testGetLocationMissingQueryParameters)
 
 TEST_F (LocationControllerIntegrationTest, testGetLocationNoSuchNodeId)
 
 TEST_F (LocationControllerIntegrationTest, testGetLocationNonNumericalNodeId)
 
 TEST_F (LocationControllerIntegrationTest, testGetSingleLocation)
 
 TEST_F (LocationControllerIntegrationTest, testGetSingleLocationWhenNoLocationDataIsProvided)
 
 TEST_F (LocationControllerIntegrationTest, testGetAllMobileLocationsNoMobileNodes)
 
 TEST_F (MonitoringControllerTest, testStartMonitoring)
 
 TEST_F (MonitoringControllerTest, testStopMonitoring)
 
 TEST_F (MonitoringControllerTest, testStartMonitoringFailsBecauseMonitoringIsNotEnabled)
 
 TEST_F (MonitoringControllerTest, testStopMonitoringFailsBecauseMonitoringIsNotEnabled)
 
 TEST_F (MonitoringControllerTest, testRequestAllMetrics)
 
 TEST_F (MonitoringControllerTest, testGetMonitoringControllerDataFromOneNode)
 
 TEST_F (MonitoringControllerTest, testGetMonitoringControllerStorage)
 
 TEST_F (MonitoringControllerTest, testGetMonitoringControllerStreams)
 
 TEST_F (QueryCatalogControllerTest, testGetRequestAllRegistedQueries)
 
 TEST_F (QueryCatalogControllerTest, testGetQueriesWithSpecificStatus)
 
 TEST_F (QueryCatalogControllerTest, testGetRequestStatusOfQuery)
 
 TEST_F (QueryControllerTest, testSubmitQueryNoUserQuery)
 
 TEST_F (QueryControllerTest, testSubmitQueryNoPlacement)
 
 TEST_F (QueryControllerTest, testSubmitQueryInvalidPlacement)
 
 TEST_F (QueryControllerTest, testSubmitValidQuery)
 
 TEST_F (QueryControllerTest, testGetExecutionPlan)
 
 TEST_F (QueryControllerTest, testGetExecutionPlanNoSuchQueryId)
 
 TEST_F (QueryControllerTest, testGetQueryPlan)
 
 TEST_F (QueryControllerTest, testGetQueryPlanNoSuchQueryId)
 
 TEST_F (SourceCatalogControllerTest, testGetAllLogicalSource)
 
 TEST_F (SourceCatalogControllerTest, testGetPhysicalSource)
 
 TEST_F (SourceCatalogControllerTest, testGetSchema)
 
 TEST_F (SourceCatalogControllerTest, testPostLogicalSource)
 
 TEST_F (SourceCatalogControllerTest, testUpdateLogicalSource)
 
 TEST_F (SourceCatalogControllerTest, testDeleteLogicalSource)
 
 TEST_F (TopologyControllerTest, testGetTopology)
 
 TEST_F (TopologyControllerTest, testAddParentSuccess)
 
 TEST_F (TopologyControllerTest, testaddAsChildMissingParentId)
 
 TEST_F (TopologyControllerTest, testaddAsChildMissingChildId)
 
 TEST_F (TopologyControllerTest, testAddParentInvalidChildId)
 
 TEST_F (TopologyControllerTest, testAddParentInvalidParentId)
 
 TEST_F (TopologyControllerTest, testaddAsChildNoSuchChild)
 
 TEST_F (TopologyControllerTest, testaddAsChildNoSuchParent)
 
 TEST_F (TopologyControllerTest, testaddAsChildSameChildAndParent)
 
 TEST_F (TopologyControllerTest, testaddAsChildAlreadyExists)
 
 TEST_F (TopologyControllerTest, testaddAsChild)
 
 TEST_F (TopologyControllerTest, testRemoveChildSuccess)
 
 TEST_F (TopologyControllerTest, testRemoveParentChildIDIsNotChildOfParent)
 
 TEST_F (UDFCatalogControllerTest, getUdfDescriptorReturnsUdf)
 
 TEST_F (UDFCatalogControllerTest, testGetUdfDescriptorIfNoUdfExists)
 
 TEST_F (UDFCatalogControllerTest, testErrorIfUnknownEndpointIsUsed)
 
 TEST_F (UDFCatalogControllerTest, testIfRegisterEndpointHandlesExceptionsWithoutReturningAStackTrace)
 
 TEST_F (UDFCatalogControllerTest, testIfRegisterUdfEndpointCorrectlyAddsUDF)
 
 TEST_F (UDFCatalogControllerTest, testRemoveUdfEndpoint)
 
 TEST_F (UDFCatalogControllerTest, testRemoveUdfEndpointIfUdfDoesNotExist)
 
 TEST_F (UDFCatalogControllerTest, testRemoveUdfEndpointHandlesMissingQueryParametersCorrectly)
 
 TEST_F (UDFCatalogControllerTest, testIfRemoveUdfEndpointHandlesExtraQueryParametersCorrectly)
 
 TEST_F (UDFCatalogControllerTest, testIfListUdfsEndpointHandlesMissingQueryParameters)
 
 TEST_F (UDFCatalogControllerTest, testIfListUdfsEndpointReturnsListAsExpected)
 
 TEST_F (UDFCatalogControllerTest, testIfListUdfsReturnsEmptyUdfList)
 
 TEST_F (BenchmarkSourceIntegrationTest, testBenchmarkSource)
 This test checks that a deployed BenchmarkSource can write M records spanning exactly N records. More...
 
 TEST_F (BenchmarkSourceIntegrationTest, testMemorySourceFewTuples)
 This test checks that a deployed MemorySource can write M records stored in one buffer that is not full. More...
 
 TEST_F (BenchmarkSourceIntegrationTest, DISABLED_testMemorySourceHalfFullBuffer)
 
 TEST_F (ContinuousSourceTest, testMultipleOutputBufferFromDefaultSourcePrint)
 
 TEST_F (ContinuousSourceTest, testMultipleOutputBufferFromDefaultSourcePrintWithLargerFrequency)
 
 TEST_F (ContinuousSourceTest, testMultipleOutputBufferFromDefaultSourceWriteFile)
 
 TEST_F (ContinuousSourceTest, testMultipleOutputBufferFromDefaultSourceWriteFileWithLargerFrequency)
 
 TEST_F (ContinuousSourceTest, testMultipleOutputBufferFromCSVSourcePrint)
 
 TEST_F (ContinuousSourceTest, testMultipleOutputBufferFromCSVSourceWrite)
 
 TEST_F (ContinuousSourceTest, testTimestampCsvSink)
 
 TEST_F (ContinuousSourceTest, testWithManyInputBuffer)
 
 TEST_F (LambdaSourceIntegrationTest, testTwoLambdaSources)
 
 TEST_F (LambdaSourceIntegrationTest, testTwoLambdaSourcesWithSamePhysicalName)
 
 TEST_F (LambdaSourceIntegrationTest, testTwoLambdaSourcesMultiThread)
 
 TEST_F (MemorySourceIntegrationTest, testMemorySource)
 This test checks that a deployed MemorySource can write M records spanning exactly N records. More...
 
 TEST_F (MemorySourceIntegrationTest, testMemorySourceFewTuples)
 This test checks that a deployed MemorySource can write M records stored in one buffer that is not full. More...
 
 TEST_F (MemorySourceIntegrationTest, testMemorySourceHalfFullBuffer)
 
 TEST_F (SourceCatalogRemoteTest, addPhysicalToExistingLogicalSourceRemote)
 
 TEST_F (SourceCatalogRemoteTest, addPhysicalToNewLogicalSourceRemote)
 
 TEST_F (SourceCatalogRemoteTest, removePhysicalFromNewLogicalSourceRemote)
 
 TEST_F (SourceCatalogRemoteTest, removeNotExistingSourceRemote)
 
 TEST_F (TCPSourceIntegrationTest, TCPSourceReadCSVDataWithSeparatorToken)
 tests TCPSource read of csv data that is seperated by a given token. Here
is used More...
 
 TEST_F (TCPSourceIntegrationTest, TCPSourceReadJSONDataWithSeparatorToken)
 tests TCPSource read of JSON data that is seperated by a given token. Here
is used More...
 
 TEST_F (TCPSourceIntegrationTest, TCPSourceReadCSVDataLengthFromSocket)
 tests TCPSource read of CSV data when obtaining the size of the data from the socket. Constant length More...
 
 TEST_F (TCPSourceIntegrationTest, TCPSourceReadCSVWithVariableLength)
 tests TCPSource read of CSV data when obtaining the size of the data from the socket. Variable length More...
 
 TEST_F (TCPSourceIntegrationTest, TCPSourceReadJSONDataLengthFromSocket)
 tests TCPSource read of JSON data when obtaining the size of the data from the socket. Constant length More...
 
 TEST_F (TCPSourceIntegrationTest, TCPSourceReadJSONDataWithVariableLength)
 tests TCPSource read of CSV data when obtaining the size of the data from the socket. Variable length More...
 
 TEST_F (TCPSourceIntegrationTest, TCPSourceReadCSVDataWithFixedSize)
 tests TCPSource read of CSV data with fixed length inputted at source creation time More...
 
 TEST_F (TCPSourceIntegrationTest, TCPSourceReadJSONDataWithFixedSize)
 tests TCPSource read of CSV data with fixed length inputted at source creation time More...
 
 TEST_F (TCPSourceIntegrationTest, DISABLED_TCPSourceReadCSVData)
 This test is written to check the proper functioning of our TCP data generator (more details on https://github.com/nebulastream/tcp-data-generator). The data generator is capable of producing data at a high even rate. Make sure that the data generator is running locally before starting this test. Last time tested by running: ./tcp-data-generator –host 127.0.0.1 -p 3000 -b 100 -t 1 -f 1000 -w 1000 This test has two purpose: More...
 
 TEST_F (VariableLengthIntegrationTest, testCsvSourceWithVariableLengthFieldsFilterOnMap)
 
 TEST_F (VariableLengthIntegrationTest, testCsvSourceWithVariableLengthFieldsFilter)
 
 TEST_F (VariableLengthIntegrationTest, testCsvSourceWithVariableLengthFields)
 
 TEST_P (StatisticsIntegrationTest, singleTrackAndProbeDataCharacteristic)
 Test case for creating a statistic, probing it and deleting it for a cardinality. More...
 
 INSTANTIATE_TEST_CASE_P (testDefaultStatisticStore, StatisticsIntegrationTest, ::testing::Combine(::testing::Values(1, 2, 3), ::testing::Values(1, 5, 10), ::testing::Values(1, 10, 1000), ::testing::Values(Statistic::Cardinality::create(Statistic::Over(StatisticsIntegrationTest::fieldNameToTrack)), Statistic::Selectivity::create(Statistic::Over(StatisticsIntegrationTest::fieldNameToTrack)))), [](const testing::TestParamInfo< StatisticsIntegrationTest::ParamType > &info) { return std::string(std::to_string(std::get< 0 >(info.param))+"Workers_"+std::to_string(std::get< 1 >(info.param))+"NumberOfBuffers_"+std::to_string(std::get< 2 >(info.param))+"WindowSize_"+std::to_string(info.index)+"Metric");})
 
 TEST_F (TestHarnessUtilTest, testHarnessUtilWithSingleSource)
 
 TEST_F (TestHarnessUtilTest, testHarnessUtilWithTwoPhysicalSourceOfTheSameLogicalSource)
 
 TEST_F (TestHarnessUtilTest, testHarnessUtilWithTwoPhysicalSourceOfDifferentLogicalSources)
 
 TEST_F (TestHarnessUtilTest, testHarnessUtilWithWindowOperator)
 
 TEST_F (TestHarnessUtilTest, testHarnessWithJoinOperator)
 
 TEST_F (TestHarnessUtilTest, testHarnessOnQueryWithMapOperator)
 
 TEST_F (TestHarnessUtilTest, testHarnessWithHiearchyInTopology)
 
 TEST_F (TestHarnessUtilTest, testHarnessCsvSource)
 
 TEST_F (TestHarnessUtilTest, testHarnessCsvSourceAndMemorySource)
 
 TEST_F (TestHarnessUtilTest, testHarnessUtilWithNoSources)
 
 TEST_F (TestHarnessUtilTest, testHarnessUtilPushToNonExsistentSource)
 
 TEST_F (TestHarnessUtilTest, testHarnessUtilPushToWrongSource)
 
 TEST_F (UnionDeploymentTest, testDeployTwoWorkerMergeUsingBottomUp)
 
 TEST_F (UnionDeploymentTest, testDeployTwoWorkerMergeUsingTopDown)
 
 TEST_F (UnionDeploymentTest, testOneFilterPushDownWithMergeOfTwoDifferentSources)
 
 TEST_F (UnionDeploymentTest, testPushingTwoFiltersBelowAndTwoFiltersAlreadyAtBottomWithMergeOfTwoDifferentSources)
 
 TEST_F (UnionDeploymentTest, testPushingTwoFiltersAlreadyBelowAndMergeOfTwoDifferentSources)
 
 TEST_F (UpdateTopologyRemoteTest, addAndRemovePathWithOwnId)
 
 TEST_F (UpdateTopologyRemoteTest, addAndRemovePathWithOwnIdAndSelf)
 
 TEST_F (KTMDeploymentTest, ktmQuery)
 test tumbling window with multiple aggregations More...
 
PhysicalSourceTypePtr createSimpleInputStream (std::string logicalSourceName, std::string physicalSourceName, uint64_t numberOfBuffers, uint64_t numberOfKeys=1)
 
 TEST_F (KeyedSlidingWindowTests, testSingleSlidingWindowSingleBufferSameLength)
 
 TEST_F (KeyedSlidingWindowTests, testSingleSlidingWindowSingleBuffer)
 
 TEST_F (KeyedSlidingWindowTests, testSingleSlidingWindowMultiBuffer)
 
 TEST_F (KeyedSlidingWindowTests, testMultipleSlidingWindowMultiBuffer)
 
 TEST_F (KeyedSlidingWindowTests, testMultipleSldingWindowIrigularSlide)
 
 TEST_F (KeyedSlidingWindowTests, testSingleMultiKeySlidingWindow)
 
 TEST_F (NonKeyedSlidingWindowTests, testSingleSlidingWindowSingleBufferSameLength)
 
 TEST_F (NonKeyedSlidingWindowTests, testSingleSlidingWindowSingleBuffer)
 
 TEST_F (NonKeyedSlidingWindowTests, testSingleSlidingWindowMultiBuffer)
 
 TEST_F (NonKeyedSlidingWindowTests, testMultipleSldingWindowMultiBuffer)
 
 TEST_F (NonKeyedSlidingWindowTests, testMultipleSldingWindowIrigularSlide)
 
 TEST_F (NonKeyedSlidingWindowTests, testWindowExecutionWithDifferentTimeUnits)
 
 TEST_F (KeyedTumblingWindowTests, testSimpleWindowEventTime)
 
 TEST_F (KeyedTumblingWindowTests, testSingleTumblingWindowSingleBuffer)
 
 TEST_F (KeyedTumblingWindowTests, testSingleTumblingWindowMultiBuffer)
 
 TEST_F (KeyedTumblingWindowTests, testMultipleTumblingWindowMultiBuffer)
 
 TEST_F (KeyedTumblingWindowTests, testSingleTumblingWindowMultiBufferMultipleKeys)
 
 TEST_F (KeyedTumblingWindowTests, testTumblingWindowCount)
 
 TEST_F (KeyedTumblingWindowTests, testTumblingWindowMin)
 
 TEST_F (KeyedTumblingWindowTests, testTumblingWindowMin2)
 
 TEST_F (KeyedTumblingWindowTests, testTumblingWindowMax)
 
 TEST_F (KeyedTumblingWindowTests, testTumblingWindowAVG)
 
 TEST_F (KeyedTumblingWindowTests, testSingleMultiKeyTumblingWindow)
 
 TEST_F (KeyedTumblingWindowTests, testTumblingWindowMultiAggregate)
 
 TEST_F (NonKeyedTumblingWindowTests, testSingleGlobalTumblingWindowSingleBuffer)
 
 TEST_F (NonKeyedTumblingWindowTests, testSingleGlobalTumblingWindowMultiBuffer)
 
 TEST_F (NonKeyedTumblingWindowTests, testMultipleGlobalTumblingWindowMultiBuffer)
 
 TEST_F (NonKeyedTumblingWindowTests, testSingleTumblingWindowMultiBufferMultipleKeys)
 
 TEST_F (NonKeyedTumblingWindowTests, testTumblingWindowCount)
 
 TEST_F (NonKeyedTumblingWindowTests, testTumblingWindowMin)
 
 TEST_F (NonKeyedTumblingWindowTests, testTumblingWindowMax)
 
 TEST_F (NonKeyedTumblingWindowTests, testTumblingWindowAVG)
 
 TEST_F (NonKeyedTumblingWindowTests, testTumblingWindowMultiAggregate)
 
 TEST_F (NonKeyedTumblingWindowTests, testTumblingWindowMultiAverageAndCount)
 : This test replicates the angle-turning query from KTM in Elegant. The average of 3 readings on top of a motorcycle are used to determine how "dangerously" someone drives. The count is work-around meta-info about the duration of the dangerous behavior. More...
 
 TEST_F (NonKeyedTumblingWindowTests, testTumblingWindowMultiplePhysicalValuesAndCount)
 : This test replicates the angle-turning query from KTM in Elegant. The average of 3 readings on top of a motorcycle are used to determine how "dangerously" someone drives. The count is work-around meta-info about the duration of the dangerous behavior. More...
 
 TEST_F (WindowDeploymentTest, testTumblingWindowEventTimeWithTimeUnit)
 
 TEST_F (WindowDeploymentTest, testCentralSlidingWindowEventTime)
 test central sliding window and event time More...
 
 TEST_F (WindowDeploymentTest, DISABLED_testDeployDistributedTumblingWindowQueryEventTimeTimeUnit)
 test distributed tumbling window and event time, for now disabled see issue #3324 More...
 
 TEST_F (WindowDeploymentTest, testCentralNonKeyTumblingWindowEventTime)
 test central tumbling window and event time More...
 
 TEST_F (WindowDeploymentTest, testCentralNonKeySlidingWindowEventTime)
 test central sliding window and event time More...
 
 TEST_F (WindowDeploymentTest, testCentralNonKeyTumblingWindowIngestionTime)
 test central tumbling window and event time More...
 
 TEST_F (WindowDeploymentTest, testDeploymentOfWindowWithDoubleKey)
 
 TEST_F (WindowDeploymentTest, testDeploymentOfWindowWithFloatKey)
 
 TEST_F (WindowDeploymentTest, DISABLED_testDeploymentOfWindowWithBoolKey)
 TODO support bool key for aggregations #4151. More...
 
 TEST_F (WindowDeploymentTest, DISABLED_testDeploymentOfWindowWitCharKey)
 TODO inplace chars are not implemented in Nautilus #2739. More...
 
 TEST_F (WindowDeploymentTest, DISABLED_testDeploymentOfWindowWithFixedChar)
 TODO inplace chars are not implemented in Nautilus. More...
 
 TEST_F (WindowDeploymentTest, testDeploymentOfWindowWithAvgAggregation)
 
 TEST_F (WindowDeploymentTest, testDeploymentOfWindowWithMaxAggregation)
 
 TEST_F (WindowDeploymentTest, testDeploymentOfWindowWithMaxAggregationWithNegativeValues)
 
 TEST_F (WindowDeploymentTest, testDeploymentOfWindowWithMaxAggregationWithUint64AggregatedField)
 
 TEST_F (WindowDeploymentTest, testDeploymentOfWindowWithFloatMinAggregation)
 
 TEST_F (WindowDeploymentTest, testDeploymentOfWindowWithCountAggregation)
 
 TEST_F (WindowDeploymentTest, DISABLED_testDeploymentOfWindowWithMedianAggregation)
 
 TEST_F (WindowDeploymentTest, testDeploymentOfWindowWithFieldRename)
 
 TEST_F (YSBDeploymentTest, testYSBWindow)
 test ysb query deployment More...
 
 TEST_F (WorkerCoordinatorStarterTest, startStopWorkerCoordinator)
 
 TEST_F (WorkerCoordinatorStarterTest, startStopWorkerCoordinator10times)
 
 TEST_F (WorkerCoordinatorStarterTest, startStopCoordinatorWorker)
 
 TEST_F (WorkerCoordinatorStarterTest, startConnectStopWorkerCoordinator)
 
 TEST_F (WorkerCoordinatorStarterTest, startConnectStopWithoutDisconnectWorkerCoordinator)
 
 TEST_F (WorkerCoordinatorStarterTest, startConnectDisconnectStopWorkerCoordinator)
 
 TEST_F (WorkerCoordinatorStarterTest, startReconnectStopWorkerCoordinator)
 
 TEST_F (NesCoordinatorTest, internalWorkerUsesConfigurationFromCoordinatorConfiguration)
 
 TEST_F (NesCoordinatorTest, internalWorkerUsesIpAndPortFromCoordinator)
 
 TEST_F (RequestExecutionExceptionTest, testInstanceOf)
 Checks if the instanceOf() function returns true only for the actual class of the object. More...
 
 TEST_F (CoordinatorRPCServerTest, testEmptyPhysicalSourceRegistrationRequest)
 
 TEST_F (CoordinatorRPCServerTest, testValidPhysicalSourceRegistrationRequest)
 
 TEST_F (CoordinatorRPCServerTest, testInvalidPhysicalSourceRegistrationRequest)
 
 TEST_F (CoordinatorRPCServerTest, testValidAndInvalidPhysicalSourceRegistrationRequest)
 
 TEST_F (GrpcTests, DISABLED_testGrpcNotifyQueryFailure)
 
 TEST_F (MetricCollectorTest, testNetworkCollectorWrappedMetrics)
 
 TEST_F (MetricCollectorTest, testNetworkCollectorSingleMetrics)
 
 TEST_F (MetricCollectorTest, testCpuCollectorWrappedMetrics)
 
 TEST_F (MetricCollectorTest, testCpuCollectorSingleMetrics)
 
 TEST_F (MetricCollectorTest, testDiskCollector)
 
 TEST_F (MetricCollectorTest, testMemoryCollector)
 
 TEST_F (MetricStoreTest, testNewestEntryMetricStore)
 
 TEST_F (MetricStoreTest, testAllEntriesMetricStore)
 
 TEST_F (MonitoringQueriesTest, testDiskMetricsQueryWithStorage)
 
 TEST_F (MonitoringQueriesTest, testCpuMetricsQueryWithStorage)
 
 TEST_F (MonitoringQueriesTest, testMemoryMetricsQueryWithStorage)
 
 TEST_F (MonitoringQueriesTest, testNetworkMetricsQueryWithStorage)
 
 TEST_F (ResourcesReaderTest, testAbstractSystemResourcesReader)
 
 TEST_F (ResourcesReaderTest, testRuntimeNesMetrics)
 
 TEST_F (ResourcesReaderTest, testStaticNesMetrics)
 
 TEST_F (ResourcesReaderTest, testCPUStats)
 
 TEST_F (ResourcesReaderTest, testMemoryStats)
 
 TEST_F (ResourcesReaderTest, testDiskStats)
 
 TEST_F (ResourcesReaderTest, testNetworkStats)
 
 TEST_F (UserDefinedMonitoringTest, testRuntimeConcepts)
 
 TEST_F (UserDefinedMonitoringTest, testJsonRuntimeConcepts)
 
 TEST_F (ExpressionNodeTest, predicateConstruction)
 
 TEST_F (ExpressionNodeTest, attributeStampInference)
 
 TEST_F (ExpressionNodeTest, inferenceExpressionTest)
 
 TEST_F (ExpressionNodeTest, inferPredicateTest)
 
 TEST_F (ExpressionNodeTest, inferAssertionTest)
 
 TEST_F (ExpressionNodeTest, multiplicationInferStampTest)
 
 TEST_F (ExpressionNodeTest, moduloIntegerInferStampTest)
 Test behaviour of special ModExpressionNode::inferStamp function. (integers) More...
 
 TEST_F (ExpressionNodeTest, moduloFloatInferStampTest)
 Test behaviour of special ModExpressionNode::inferStamp function. (float) More...
 
 TEST_F (ExpressionNodeTest, whenInferStampTest)
 Test behaviour of special WhenExpressionNode::inferStamp function. (float) More...
 
 TEST_F (ExpressionNodeTest, caseInfereStampTest)
 Test behaviour of special CaseExpressionNode::inferStamp function. More...
 
 TEST_F (ExpressionNodeTest, testOrExpressionNodeEqual)
 
 TEST_F (ExpressionNodeTest, testAndExpressionNodeEqual)
 
 TEST_F (ExpressionNodeTest, testEqualsExpressionNodeEqual)
 
 TEST_F (ExpressionNodeTest, testNegateExpressionNodeEqual)
 
 TEST_F (ExpressionNodeTest, testLessEqualsExpressionNodeEqual)
 
 TEST_F (ExpressionNodeTest, testLessExpressionNodeEqual)
 
 TEST_F (ExpressionNodeTest, testGreaterEqualsExpressionNodeEqual)
 
 TEST_F (ExpressionNodeTest, testGreaterExpressionNodeEqual)
 
 TEST_F (LogicalOperatorTest, getSuccessors)
 
 TEST_F (LogicalOperatorTest, getPredecessors)
 
 TEST_F (LogicalOperatorTest, addSelfAsSuccessor)
 
 TEST_F (LogicalOperatorTest, addAndRemoveSingleSuccessor)
 
 TEST_F (LogicalOperatorTest, addAndRemoveMultipleSuccessors)
 
 TEST_F (LogicalOperatorTest, addAndRemoveDuplicatedSuccessors)
 
 TEST_F (LogicalOperatorTest, addAndRemoveLogicalDuplicateButDifferentOperatorAsSuccessors)
 
 TEST_F (LogicalOperatorTest, addAndRemoveNullSuccessor)
 
 TEST_F (LogicalOperatorTest, addSelfAsPredecessor)
 
 TEST_F (LogicalOperatorTest, addAndRemoveSinglePredecessor)
 
 TEST_F (LogicalOperatorTest, addAndRemoveMultiplePredecessors)
 
 TEST_F (LogicalOperatorTest, addAndRemoveDuplicatedPredecessors)
 
 TEST_F (LogicalOperatorTest, addAndRemoveLogicallyDuplicatedButDifferentOperatorAsPredecessors)
 
 TEST_F (LogicalOperatorTest, consistencyBetweenSuccessorPredecesorRelation1)
 
 TEST_F (LogicalOperatorTest, consistencyBetweenSuccessorPredecesorRelation2)
 
 TEST_F (LogicalOperatorTest, addAndRemoveNullPredecessor)
 
 TEST_F (LogicalOperatorTest, replaceSuccessor)
 replace filterOp1 with filterOp3 original: sourceOp -> filterOp1 -> filterOp2 filterOp3 -> filterOp4 replaced: sourceOp -> filterOp3 -> filterOp2 |-> filterOp4 More...
 
 TEST_F (LogicalOperatorTest, replaceWithEqualSuccessor)
 replace filterOp1 with filterOp1Copy original: sourceOp -> filterOp1 -> filterOp2 replaced: sourceOp -> filterOp1Copy -> filterOp2 More...
 
 TEST_F (LogicalOperatorTest, replaceWithExistedSuccessor)
 replace filterOp1 with filterOp3 original: sourceOp -> filterOp1 -> filterOp2 |-> filterOp3 -> filterOp4 replaced: sourceOp -> filterOp1 -> filterOp2 |-> filterOp3 -> filterOp4 More...
 
 TEST_F (LogicalOperatorTest, replaceWithIdenticalSuccessor)
 replace filterOp1 with filterOp1 original: sourceOp -> filterOp1 -> filterOp2 replaced: sourceOp -> filterOp1 -> filterOp2 More...
 
 TEST_F (LogicalOperatorTest, replaceWithSubSuccessor)
 replace filterOp1 with filterOp2 original: sourceOp -> filterOp1 -> filterOp2 replaced: sourceOp -> filterOp2 More...
 
 TEST_F (LogicalOperatorTest, replaceWithNoneSuccessor)
 replace filterOp3 (not existed) with filterOp3 original: sourceOp -> filterOp1 -> filterOp2 replaced: sourceOp -> filterOp1 -> filterOp2 More...
 
 TEST_F (LogicalOperatorTest, replaceSuccessorInvalidOldOperator)
 
 TEST_F (LogicalOperatorTest, replaceWithWithInvalidNewOperator)
 
 TEST_F (LogicalOperatorTest, replacePredecessor)
 replace filterOp1 with filterOp3 original: sourceOp <- filterOp1 <- filterOp2 replaced: sourceOp <- filterOp3 <- filterOp2 More...
 
 TEST_F (LogicalOperatorTest, replaceWithEqualPredecessor)
 replace filterOp1 with filterOp1Copy original: sourceOp -> filterOp1 -> filterOp2 replaced: sourceOp -> filterOp1Copy -> filterOp2 More...
 
 TEST_F (LogicalOperatorTest, replaceWithIdenticalPredecessor)
 replace filterOp1 with filterOp1 original: sourceOp -> filterOp1 -> filterOp2 replaced: sourceOp -> filterOp1 -> filterOp2 More...
 
 TEST_F (LogicalOperatorTest, removeExistedAndLevelUpSuccessors)
 remove filterOp1 from topology original: sourceOp -> filterOp1 -> filterOp2 |-> filterOp3 desired: sourceOp -> filterOp2 |-> filterOp3 More...
 
 TEST_F (LogicalOperatorTest, removeNotExistedAndLevelUpSuccessors)
 remove filterOp4 from topology original: sourceOp -> filterOp1 -> filterOp2 |-> filterOp3 More...
 
 TEST_F (LogicalOperatorTest, removeExistedSblingAndLevelUpSuccessors)
 remove filterOp1 from topology More...
 
 TEST_F (LogicalOperatorTest, remove)
 
 TEST_F (LogicalOperatorTest, clear)
 
 TEST_F (LogicalOperatorTest, equalWithAllSuccessors1)
 
 TEST_F (LogicalOperatorTest, equalWithAllSuccessors2)
 
 TEST_F (LogicalOperatorTest, equalWithAllSuccessors3)
 
 TEST_F (LogicalOperatorTest, equalWithAllPredecessors1)
 
 TEST_F (LogicalOperatorTest, equalWithAllPredecessors2)
 
 TEST_F (LogicalOperatorTest, equalWithAllPredecessors3)
 
 TEST_F (LogicalOperatorTest, as)
 
 TEST_F (LogicalOperatorTest, asBadCast)
 
 TEST_F (LogicalOperatorTest, findRecurisivelyOperatorNotExists)
 
 TEST_F (LogicalOperatorTest, isCyclic)
 
 TEST_F (LogicalOperatorTest, isNotCyclic)
 
 TEST_F (LogicalOperatorTest, getAndFlattenAllSuccessorsNoCycle)
 
 TEST_F (LogicalOperatorTest, getAndFlattenAllSuccessorsForCycle)
 
 TEST_F (LogicalOperatorTest, prettyPrint)
 
 TEST_F (LogicalOperatorTest, instanceOf)
 
 TEST_F (LogicalOperatorTest, getOperatorByType)
 
 TEST_F (LogicalOperatorTest, swap1)
 
 TEST_F (LogicalOperatorTest, swap2)
 
 TEST_F (LogicalOperatorTest, swap3)
 
 TEST_F (LogicalOperatorTest, swap4)
 
 TEST_F (LogicalOperatorTest, swap5)
 
 TEST_F (LogicalOperatorTest, swap6)
 
 TEST_F (LogicalOperatorTest, splitWithSinglePredecessor)
 
 TEST_F (LogicalOperatorTest, splitWithAtLastSuccessor)
 
 TEST_F (LogicalOperatorTest, splitWithAtRoot)
 
 TEST_F (LogicalOperatorTest, splitWithMultiplePredecessors)
 
 TEST_F (LogicalOperatorTest, bfIterator)
 
 TEST_F (LogicalOperatorTest, dfIterator)
 
 TEST_F (MapJavaUDFLogicalOperatorTest, InferSchema)
 
 TEST_F (MapJavaUDFLogicalOperatorTest, InferStringSignature)
 
 TEST_F (MapJavaUDFLogicalOperatorTest, AddParentToCopy)
 
 TEST_F (MapJavaUDFLogicalOperatorTest, InferSchemaCompatibleTypes)
 
 TEST_F (MapJavaUDFLogicalOperatorTest, InferSchemaInCompatibleTypes)
 
 TEST_F (MapJavaUDFLogicalOperatorTest, InferSchemaDifferentSize)
 
 TEST_F (MapJavaUDFLogicalOperatorTest, InferSchemaMissingField)
 
 TEST_F (MapJavaUDFLogicalOperatorTest, InferSchemaUnsignedIntegers)
 
 TEST_F (MapJavaUDFLogicalOperatorTest, InferSchemaUnsignedLong)
 
 TEST_F (MapJavaUDFLogicalOperatorTest, InferSchemaSingleField)
 
 TEST_F (MapJavaUDFLogicalOperatorTest, InferSchemaSingleFieldIncompatibleTypes)
 
 TEST_F (MapJavaUDFLogicalOperatorTest, InferSchemaSingleFieldUnsignedLong)
 
 TEST_F (OperatorPropertiesTest, testAssignProperties)
 
 TEST_F (OperatorPropertiesTest, testAssignDifferentPropertyTypes)
 
 TEST_F (OperatorPropertiesTest, testAssignWithMorePropertiesThanOperators)
 
 TEST_F (OperatorPropertiesTest, testAssignWithLessPropertiesThanOperators)
 
 TEST_F (OperatorPropertiesTest, testAssignWithBinaryOperator)
 
 TEST_F (ConvertLogicalToPhysicalSinkTest, testConvertingFileLogicalToPhysicalSink)
 
 TEST_F (ConvertLogicalToPhysicalSinkTest, testConvertingZMQLogicalToPhysicalSink)
 
 TEST_F (ConvertLogicalToPhysicalSinkTest, testConvertingPrintLogicalToPhysicalSink)
 
 TEST_F (ConvertLogicalToPhysicalSinkTest, testConvertingNetworkLogicalToPhysicalSink)
 
 TEST_F (ConvertLogicalToPhysicalSourceTest, testConvertingCsvFileLogicalToPhysicalSource)
 
 TEST_F (ConvertLogicalToPhysicalSourceTest, testConvertingTCPLogicalToPhysicalSource)
 
 TEST_F (ConvertLogicalToPhysicalSourceTest, testConvertingBinaryFileLogicalToPhysicalSource)
 
 TEST_F (ConvertLogicalToPhysicalSourceTest, testConvertingZMQLogicalToPhysicalSource)
 
 TEST_F (ConvertLogicalToPhysicalSourceTest, testConvertingSenseLogicalToPhysicalSource)
 
 TEST_F (ConvertLogicalToPhysicalSourceTest, testConvertingDefaultLogicalToPhysicalSource)
 
 TEST_F (ConvertLogicalToPhysicalSourceTest, testConvertingNetworkLogicalToPhysicalSource)
 
template<template< typename, auto... > typename CompilesFromArgs, template< typename... > typename CompilesFromTypes>
void checkBinary ()
 
 SETUP_COMPILE_TIME_TESTS (eq, operator==)
 
 SETUP_COMPILE_TIME_TESTS (neq, operator!=)
 
 SETUP_COMPILE_TIME_TESTS (land, operator&&)
 
 SETUP_COMPILE_TIME_TESTS (lor, operator||)
 
 SETUP_COMPILE_TIME_TESTS (leq, operator<=)
 
 SETUP_COMPILE_TIME_TESTS (geq, operator>=)
 
 SETUP_COMPILE_TIME_TESTS (lt, operator<)
 
 SETUP_COMPILE_TIME_TESTS (gt, operator>)
 
 TEST_F (LogicalExpressionTest, testEqualityExpression)
 
 TEST_F (LogicalExpressionTest, testInequalityExpression)
 
 TEST_F (LogicalExpressionTest, testAndCompile)
 
 TEST_F (LogicalExpressionTest, testOrExpression)
 
 TEST_F (LogicalExpressionTest, testLeqExpression)
 
 TEST_F (LogicalExpressionTest, testGeqExpression)
 
 TEST_F (LogicalExpressionTest, testLtExpression)
 
 TEST_F (LogicalExpressionTest, testGtExpression)
 
 TEST_F (AddScanAndEmitPhaseTest, scanOperator)
 Input Query Plan: Input: | Physical Source |. More...
 
 TEST_F (AddScanAndEmitPhaseTest, sinkOperator)
 Input Query Plan: Input: | Physical Sink |. More...
 
 TEST_F (AddScanAndEmitPhaseTest, pipelineFilterQuery)
 Input Query Plan: Input: | Physical Filter |. More...
 
 TEST_F (ArrayTypeTest, testCheckNullTerminator)
 Check that the null-terminator has to be present for fixed-size strings only. More...
 
 TEST_F (ArrayTypeTest, testExceptionSpecifier)
 
template<std::size_t s, typename J >
auto eq (ExecutableTypes::Array< char, s > const &l, J r) -> bool
 Utility for checking equality. More...
 
template<typename T , std::size_t s>
auto eq (ExecutableTypes::Array< T, s > const &l, std::vector< T > &&r) -> bool
 
 TEST_F (ArrayTypeTest, testInitialization)
 Test type, size and content of ExecutableTypes::Arrays. More...
 
 TEST_F (DataTypeFactoryTests, stampModificationTest)
 Input Query Plan: Input: | Physical Source |. More...
 
 TEST_F (LowerLogicalToPhysicalOperatorsTest, translateFilterQuery)
 Input Query Plan: More...
 
 TEST_F (LowerLogicalToPhysicalOperatorsTest, translateDemultiplexFilterQuery)
 Input Query Plan: More...
 
 TEST_F (LowerLogicalToPhysicalOperatorsTest, translateFilterMultiplexQuery)
 Input Query Plan: More...
 
 TEST_F (LowerLogicalToPhysicalOperatorsTest, translateFilterImplicitMultiplexQuery)
 Input Query Plan: More...
 
 TEST_F (LowerLogicalToPhysicalOperatorsTest, DISABLED_translateSimpleJoinQuery)
 Input Query Plan: More...
 
 TEST_F (LowerLogicalToPhysicalOperatorsTest, DISABLED_translateSimpleBatchJoinQuery)
 
 TEST_F (LowerLogicalToPhysicalOperatorsTest, DISABLED_translateJoinQueryWithMultiplex)
 Input Query Plan: More...
 
 TEST_F (LowerLogicalToPhysicalOperatorsTest, DISABLED_translateJoinQueryWithMultiplex4Edges)
 Input Query Plan: More...
 
 TEST_F (LowerLogicalToPhysicalOperatorsTest, DISABLED_translateWindowQuery)
 Input Query Plan: More...
 
 TEST_F (LowerLogicalToPhysicalOperatorsTest, translateMapQuery)
 Input Query Plan: More...
 
 TEST_F (LowerLogicalToPhysicalOperatorsTest, translateMapJavaUDFQuery)
 Input Query Plan: More...
 
 TEST_F (LowerLogicalToPhysicalOperatorsTest, translateProjectQuery)
 Input Query Plan: More...
 
 TEST_F (LowerLogicalToPhysicalOperatorsTest, translateTwoSourceQuery)
 Input Query Plan: More...
 
 TEST_F (LowerLogicalToPhysicalOperatorsTest, translateSinkSourceQuery)
 Input Query Plan: More...
 
 TEST_F (LowerLogicalToPhysicalOperatorsTest, checkUsedSameOperator)
 Check that same decomposed query is lowered with the same operator handler Input Query Plan: More...
 
 TEST_F (LowerLogicalToPhysicalOperatorsTest, checkRecreationFileSet)
 Check migration file path is propagated Input Query Plan: More...
 
 TEST_F (LowerLogicalToPhysicalOperatorsTest, checkMigrationFileIsPropogatedToSink)
 check recreation file Input Query Plan: More...
 
 TEST_F (PipeliningPhaseTest, pipelineFilterQuery)
 Input Query Plan: More...
 
 TEST_F (PipeliningPhaseTest, pipelineFilterMapQuery)
 Input Query Plan: More...
 
 TEST_F (PipeliningPhaseTest, pipelineMultiplexQuery)
 Input Query Plan: More...
 
 TEST_F (PipeliningPhaseTest, pipelineFilterMultiplexQuery)
 Input Query Plan: More...
 
 TEST_F (PipeliningPhaseTest, pipelineJoinQuery)
 Input Query Plan: More...
 
 TEST_F (PipeliningPhaseTest, pipelineJoinWithMultiplexQuery)
 Input Query Plan: More...
 
 TEST_F (PipeliningPhaseTest, pipelineWindowQuery)
 
 TEST_F (PipeliningPhaseTest, pipelineMapFilterProjectQuery)
 
 TEST_F (PipeliningPhaseTest, pipelineDemultiplex)
 
 TEST_F (SemanticQueryValidationTest, satisfiableQueryWithSingleFilter)
 
 TEST_F (SemanticQueryValidationTest, satisfiableQueryWithLogicalExpression)
 
 TEST_F (SemanticQueryValidationTest, unsatisfiableQueryWithLogicalExpression)
 
 TEST_F (SemanticQueryValidationTest, satisfiableQueryWithMultipleFilters)
 
 TEST_F (SemanticQueryValidationTest, unsatisfiableQueryWithMultipleFilters)
 
 TEST_F (SemanticQueryValidationTest, satisfiableQueryWithLaterAddedFilters)
 
 TEST_F (SemanticQueryValidationTest, unsatisfiableQueryWithLaterAddedFilters)
 
 TEST_F (SemanticQueryValidationTest, invalidLogicalSourceTest)
 
 TEST_F (SemanticQueryValidationTest, invalidAttributesInLogicalSourceTest)
 
 TEST_F (SemanticQueryValidationTest, DISABLED_validAsOperatorTest)
 
 TEST_F (SemanticQueryValidationTest, invalidAsOperatorTest)
 
 TEST_F (SemanticQueryValidationTest, validProjectionTest)
 
 TEST_F (SemanticQueryValidationTest, invalidProjectionTest)
 
 TEST_F (SemanticQueryValidationTest, invalidMixedInputMLInferenceOperatorTest)
 
 TEST_F (SemanticQueryValidationTest, missingPhysicalSourceTest)
 
 TEST_F (SyntacticQueryValidationTest, validQueryTest)
 
 TEST_F (SyntacticQueryValidationTest, validAttributeRenameFromProjectOperator)
 
 TEST_F (SyntacticQueryValidationTest, missingSemicolonTest)
 
 TEST_F (SyntacticQueryValidationTest, typoInFilterTest)
 
 TEST_F (SyntacticQueryValidationTest, missingClosingParenthesisTest)
 
 TEST_F (SyntacticQueryValidationTest, invalidBoolOperatorTest)
 
 TEST_F (SyntacticQueryValidationTest, attributeRenameOutsideProjection)
 
 TEST_F (SyntacticQueryValidationTest, validQueryWithInferModelOperatorTest)
 
 TEST_P (AsyncTaskExecutorTest, startAndDestroy)
 
 TEST_P (AsyncTaskExecutorTest, submitTask)
 
 TEST_P (AsyncTaskExecutorTest, submitConcatenatedTasks)
 
 TEST_P (AsyncTaskExecutorTest, submitTaskWithStoppedExecutor)
 
 INSTANTIATE_TEST_CASE_P (AsyncTaskExecutorMTTest, AsyncTaskExecutorTest, ::testing::Values(1, 4, 8))
 
 TEST_F (BufferManagerTest, initializedBufferManager)
 
 TEST_F (BufferManagerTest, initializedBufferManagerAlignment64)
 
 TEST_F (BufferManagerTest, singleThreadedBufferRecycling)
 
 TEST_F (BufferManagerTest, singleThreadedBufferRecyclingUnpooled)
 
 TEST_F (BufferManagerTest, singleThreadedManyBufferRecyclingUnpooled)
 
 TEST_F (BufferManagerTest, allocateSingleByteUnpooledBuffer)
 
 TEST_F (BufferManagerTest, getBufferAfterRelease)
 
 TEST_F (BufferManagerTest, bufferManagerMtAccess)
 
 TEST_F (BufferManagerTest, bufferManagerMtProducerConsumer)
 
TupleBuffer getBufferTimeout (const std::shared_ptr< Runtime::BufferManager > &bufferManager, std::chrono::milliseconds &&timeout)
 
 TEST_F (BufferManagerTest, bufferManagerMtProducerConsumerTimeout)
 
std::optional< TupleBuffergetBufferNoBlocking (Runtime::BufferManager &bufferManager)
 
 TEST_F (BufferManagerTest, bufferManagerMtProducerConsumerNoblocking)
 
 TEST_F (BufferManagerTest, bufferManagerMtProducerConsumerLocalPool)
 
 TEST_F (BufferManagerTest, bufferManagerMtProducerConsumerLocalPoolWithExtraAllocation)
 
 TEST_F (BufferManagerTest, singleThreadedBufferRecyclingWithChildren)
 
 TEST_F (BufferStorageTest, bufferInsertionInBufferStorage)
 test inserts buffers to different queues and checks after every insertion that queue size increased on one. After the insertion is fully done the size of the buffer storage is checked to be buffersInserted More...
 
 TEST_F (BufferStorageTest, sortedInsertionInBufferStorage)
 test inserts buffersInserted amount of buffers into one queue but starts from the biggest watermark. The queue is then checked to be sorted to be exact to have the biggest watermark value at the top. More...
 
 TEST_F (BufferStorageTest, emptyBufferCheck)
 test checks that if trimming is called on an empty buffer it doesn't cause an error More...
 
 TEST_F (BufferStorageTest, trimmingOfNonExistingNesPartition)
 test tries to delete non existing element More...
 
 TEST_F (BufferStorageTest, oneBufferDeletionFromBufferStorage)
 test inserts one buffer and deletes it More...
 
 TEST_F (BufferStorageTest, manyBufferDeletionFromBufferStorage)
 test inserts buffersInserted buffers in different queues and deletes them. More...
 
 TEST_F (BufferStorageTest, smallerBufferDeletionFromBufferStorage)
 test inserts buffersInserted buffers in one queue and leaves only one after trimming. The test checks that the deleted buffers are smaller that passed timestamp. More...
 
 TEST_F (LineageManagerTest, OneBufferInsertionInLineageManager)
 test inserts one buffer into bufferAncestorMapping manager and checks that it was successfully inserted More...
 
 TEST_F (LineageManagerTest, bufferInsertionInLineageManager)
 test inserts buffers into bufferAncestorMapping manager and checks after every insertion that the table size increased on one. More...
 
 TEST_F (LineageManagerTest, bufferInsertionWithTheSameSNInLineageManager)
 test inserts buffers with the same new buffer sequence number into bufferAncestorMapping and checks that the vector size with a given new buffer sequnce number increased. More...
 
 TEST_F (LineageManagerTest, deletionFromAnEmptyLineageManager)
 test tries to delete from an empty bufferAncestorMapping More...
 
 TEST_F (LineageManagerTest, bufferDeletionFromLineageManager)
 test trims buffers from a bufferAncestorMapping manager and checks after every deletion that the table size decreased on one. More...
 
 TEST_F (LineageManagerTest, invertNonExistingId)
 test checks that invert function returns null in case id doesn't exist More...
 
 TEST_F (LineageManagerTest, invertExistingId)
 test check that the invert function returns old id of a buffer More...
 
 TEST_F (LineageManagerTest, multithreadInsertionInLineage)
 test inserts buffers in bufferAncestorMapping concurrently. More...
 
 TEST_F (LineageManagerTest, multithreadDeletionFromLineage)
 test deletes buffers from bufferAncestorMapping concurrently. More...
 
template<typename MockedNodeEngine >
std::shared_ptr< MockedNodeEngine > createMockedEngine (const std::string &hostname, uint16_t port, uint64_t bufferSize=8192, uint64_t numBuffers=1024)
 
void testOutput (const std::string &path)
 
void testOutput (const std::string &path, const std::string &expectedOutput)
 
auto setupQEP (const NodeEnginePtr &engine, SharedQueryId sharedQueryId, const std::string &outPath)
 
 TEST_F (NodeEngineTest, testStartStopEngineEmpty)
 
 TEST_F (NodeEngineTest, teststartDeployStop)
 
 TEST_F (NodeEngineTest, testStartDeployUndeployStop)
 
 TEST_F (NodeEngineTest, testStartRegisterStartStopDeregisterStop)
 
 TEST_F (NodeEngineTest, testParallelDifferentSource)
 
 TEST_F (NodeEngineTest, testParallelSameSource)
 
 TEST_F (NodeEngineTest, DISABLED_testParallelSameSink)
 
 TEST_F (NodeEngineTest, DISABLED_testParallelSameSourceAndSinkRegstart)
 
 TEST_F (NodeEngineTest, testStartStopStartStop)
 
 TEST_F (NodeEngineTest, testBufferData)
 
 TEST_F (NodeEngineTest, testReconfigureSink)
 
 TEST_F (NodeEngineTest, DISABLED_testExceptionCrash)
 
 TEST_F (NodeEngineTest, DISABLED_testSemiUnhandledExceptionCrash)
 
 TEST_F (NodeEngineTest, DISABLED_testFullyUnhandledExceptionCrash)
 
 TEST_F (NodeEngineTest, DISABLED_testFatalCrash)
 
 TEST_F (PapiProfilerTest, testSampling)
 
 TEST_F (TupleBufferTest, testPrintingOfTupleBuffer)
 
 TEST_F (TupleBufferTest, testCopyAndSwap)
 
 TEST_F (WatermarkManagerTest, singleThreadWatermarkUpdaterTest)
 
 TEST_F (WatermarkManagerTest, concurrentWatermarkUpdaterTest)
 
 TEST_F (WatermarkManagerTest, singleThreadWatermarkUpdaterMultipleOriginsTest)
 
 TEST_F (WatermarkManagerTest, singleThreadWatermarkUpdaterMultipleOriginsOutofOrderTest)
 
 TEST_F (WatermarkManagerTest, concurrentWatermarkUpdaterMultipleOriginsTest)
 
 TEST_F (SinkTest, testCSVFileSink)
 
 TEST_F (SinkTest, testRawBufferSink)
 
 TEST_F (SinkTest, testCSVPrintSink)
 
 TEST_F (SinkTest, testNullOutSink)
 
 TEST_F (SinkTest, testCSVZMQSink)
 
 TEST_F (SinkTest, testWatermarkForZMQ)
 
 TEST_F (SinkTest, testWatermarkCsvSource)
 
 TEST_F (SinkTest, testMonitoringSink)
 
 TEST_P (StatisticSinkTest, testCountMin)
 Tests if our statistic sink can put CountMin-Sketches into the StatisticStore. More...
 
 TEST_P (StatisticSinkTest, testHyperLogLog)
 Tests if our statistic sink can put HyperLogLog-Sketches into the StatisticStore. More...
 
 INSTANTIATE_TEST_CASE_P (testStatisticSink, StatisticSinkTest, ::testing::Combine(::testing::Values(1, 2, 10, 5000), ::testing::ValuesIn(magic_enum::enum_values< Statistic::StatisticDataCodec >())), [](const testing::TestParamInfo< StatisticSinkTest::ParamType > &info) { const auto param=info.param;return std::to_string(std::get< 0 >(param))+"_Statistics"+std::string(magic_enum::enum_name(std::get< 1 >(param)));})
 
 TEST_F (CircularBufferTest, initialState)
 
 TEST_F (CircularBufferTest, randomAccessInitial)
 
 TEST_F (CircularBufferTest, pushFrontOnce)
 
 TEST_F (CircularBufferTest, emplaceFrontOnce)
 
 TEST_F (CircularBufferTest, emplaceFrontFull)
 
 TEST_F (CircularBufferTest, emplaceFrontOneOverCapacity)
 
 TEST_F (CircularBufferTest, pushUntilFull)
 
 TEST_F (CircularBufferTest, emplaceUntilFull)
 
 TEST_F (CircularBufferTest, iterateAutoNotFull)
 
 TEST_F (CircularBufferTest, popAfterPushOnce)
 
 TEST_F (CircularBufferTest, popAfterTwoPushes)
 
 TEST_F (CircularBufferTest, popOnEmpty)
 
struct __attribute__ ((packed)) YSBRecordTuple
 
 TEST_F (MillisecondIntervalTest, testPipelinedCSVSource)
 
 TEST_F (MillisecondIntervalTest, testMultipleOutputBufferFromDefaultSourcePrintSubSecond)
 
 TEST_F (SourceTest, testDataSourceGetOperatorId)
 
 TEST_F (SourceTest, DISABLED_testDataSourceEmptySuccessors)
 
 TEST_F (SourceTest, testDataSourceGetSchema)
 
 TEST_F (SourceTest, testDataSourceRunningImmediately)
 
 TEST_F (SourceTest, testDataSourceStartSideEffectRunningTrue)
 
 TEST_F (SourceTest, testDataSourceStartTwiceNoSideEffect)
 
 TEST_F (SourceTest, testDataSourceStopImmediately)
 
 TEST_F (SourceTest, testDataSourceStopSideEffect)
 
 TEST_F (SourceTest, testDataSourceHardStopSideEffect)
 
 TEST_F (SourceTest, testDataSourceGracefulStopSideEffect)
 
 TEST_F (SourceTest, testDataSourceRunningRoutineGatheringInterval)
 
 TEST_F (SourceTest, testDataSourceRunningRoutineIngestion)
 
 TEST_F (SourceTest, DISABLED_testDataSourceRunningRoutineKalmanFilter)
 
 TEST_F (SourceTest, testDataSourceGatheringIntervalRoutineBufWithValue)
 
 TEST_F (SourceTest, testDataSourceIngestionRoutineBufWithValue)
 
 TEST_F (SourceTest, testDataSourceOpen)
 
 TEST_F (SourceTest, testBinarySourceGetType)
 
 TEST_F (SourceTest, testBinarySourceWrongPath)
 
 TEST_F (SourceTest, testBinarySourceCorrectPath)
 
 TEST_F (SourceTest, testBinarySourceFillBuffer)
 
 TEST_F (SourceTest, testBinarySourceFillBufferRandomTimes)
 
 TEST_F (SourceTest, testBinarySourceFillBufferContents)
 
 TEST_F (SourceTest, testCSVSourceGetType)
 
 TEST_F (SourceTest, testCSVSourceWrongFilePath)
 
 TEST_F (SourceTest, testCSVSourceCorrectFilePath)
 
 TEST_F (SourceTest, testCSVSourceFillBufferFileEnded)
 
 TEST_F (SourceTest, testCSVSourceFillBufferOnce)
 
 TEST_F (SourceTest, testCSVSourceFillBufferOnceColumnLayout)
 
 TEST_F (SourceTest, testCSVSourceFillBufferContentsHeaderFailure)
 
 TEST_F (SourceTest, testCSVSourceFillBufferContentsHeaderFailureColumnLayout)
 
 TEST_F (SourceTest, testCSVSourceFillBufferContentsSkipHeader)
 
 TEST_F (SourceTest, testCSVSourceFillBufferContentsSkipHeaderColumnLayout)
 
 TEST_F (SourceTest, testCSVSourceFillBufferFullFileColumnLayout)
 
 TEST_F (SourceTest, testCSVSourceFillBufferFullFile)
 
 TEST_F (SourceTest, testCSVSourceIntTypes)
 
 TEST_F (SourceTest, testCSVSourceFloatTypes)
 
 TEST_F (SourceTest, testCSVSourceBooleanTypes)
 
 TEST_F (SourceTest, testCSVSourceCommaFloatingPoint)
 
 TEST_F (SourceTest, TCPSourceInit)
 
 TEST_F (SourceTest, TCPSourcePrint)
 
 TEST_F (SourceTest, TCPSourcePrintWithChangedValues)
 
 TEST_F (SourceTest, testGeneratorSourceGetType)
 
 TEST_F (SourceTest, testDefaultSourceGetType)
 
 TEST_F (SourceTest, testDefaultSourceReceiveData)
 
 TEST_F (SourceTest, testLambdaSourceInitAndTypeInterval)
 
 TEST_F (SourceTest, testLambdaSourceInitAndTypeIngestion)
 
 TEST_F (SourceTest, testIngestionRateFromQuery)
 
 TEST_F (TCPSourceTest, TCPSourceUserSpecifiedTupleSizePrint)
 
 TEST_F (TCPSourceTest, TCPSourceTupleSeparatorPrint)
 
 TEST_F (TCPSourceTest, TCPSourceBufferSizeFromSocketPrint)
 
 TEST_F (TCPSourceTest, TCPSourceBufferSizeFromSocketNesFormatPrint)
 
 TEST_F (LocationUnitTest, testExceptionHandling)
 
 TEST_F (LocationProviderCSVTest, testInvalidCsv)
 
 TEST_F (LocationProviderCSVTest, testCsvMovement)
 
 TEST_F (LocationProviderCSVTest, testCsvMovementWithSimulatedLocationInFuture)
 
 TEST_F (LocationProviderCSVTest, testCsvMovementWithSimulatedLocationInPast)
 
 TEST_F (DefaultStatisticQueryGeneratorTest, cardinality)
 Tests if a query is generated correctly for a cardinality, the outcome should be a HyperLogLog. More...
 
 TEST_F (DefaultStatisticQueryGeneratorTest, selectivity)
 Tests if a query is generated correctly for a selectivity, the outcome should be a CountMin. More...
 
 TEST_F (DefaultStatisticQueryGeneratorTest, ingestionRate)
 Tests if a query is generated correctly for an ingestionRate, the outcome should be a CountMin. More...
 
 TEST_F (DefaultStatisticQueryGeneratorTest, bufferRate)
 Tests if a query is generated correctly for a bufferRate, the outcome should be a CountMin. More...
 
 TEST_F (DefaultStatisticQueryGeneratorTest, minVal)
 Tests if a query is generated correctly for a minVal, the outcome should be a CountMin. More...
 
 TEST_F (DefaultStatisticQueryGeneratorTest, workloadCharacteristicMapOperatorCardinality)
 Tests if we create a statistic query for collecting cardinality of a map operator. More...
 
 TEST_F (DefaultStatisticQueryGeneratorTest, workloadCharacteristicFilterBeforeJoinQueryCardinality)
 Tests if we create a statistic query for collecting cardinality of a map operator that sits behind a join operator. More...
 
 TEST_P (StatisticIdsExtractorTest, oneOperator)
 Tests if we extract the correct statistic ids for a query containing one operator. More...
 
 TEST_P (StatisticIdsExtractorTest, noOperators)
 Tests if we extract the correct statistic ids for a query containing two physical sources and no operator. With this test case, we simulate a data or workload characteristic. More...
 
 TEST_P (StatisticIdsExtractorTest, twoOperators)
 Tests if we extract the correct statistic ids for a query containing two operators. More...
 
 TEST_P (StatisticIdsExtractorTest, twoOperatorsAlreadyContainingWatermark)
 Tests if we extract the correct statistic ids for a query containing two operators that already contains a watermark assignment operator. More...
 
 INSTANTIATE_TEST_CASE_P (TestInputs, StatisticIdsExtractorTest, ::testing::Values(1, 2, 3, 4, 8), [](const testing::TestParamInfo< StatisticIdsExtractorTest::ParamType > &info) { return std::to_string(info.param)+"_PhysicalSources";})
 
std::vector< Statistic::StatisticKey > createRandomStatisticKey (const uint64_t numberOfKeys)
 
std::vector< Statistic::StatisticInfo > createRandomStatisticInfo (const uint64_t numberOfInfos)
 
 TEST_F (StatisticRegistryTest, singleStatisticTest)
 This tests checks, if we can insert and retrieve one statistic. More...
 
 TEST_F (StatisticRegistryTest, multipleStatisticsTest)
 This tests checks, if we can insert and retrieve multiple statistics. More...
 
 TEST_F (StatisticRegistryTest, complexConcurrentStatisticsTest)
 This tests checks, if we can insert and retrieve multiple statistics concurrently. More...
 
 TEST (UtilFunctionTest, startAndPause)
 Test if start and stop commands work properly. More...
 
 TEST (UtilFunctionTest, snapshotTaking)
 Test if snapshot taking works properly. More...
 
 TEST (UtilFunctionTest, mergeTimers)
 Test if timer merging works properly. More...
 
 TEST (UtilFunctionTest, differentTimeUnits)
 Test if sec and millisec measures work properly. More...
 
 TEST (UtilFunctionTest, differentMeasurePrecision)
 Test if sec measures work properly with precision of double. More...
 
 TEST (UtilFunctionTest, differentPrintPrecision)
 Test if print conversions work properly, when set on initialization. More...
 
ExpressionNodePtr operator- (ExpressionNodePtr leftExp, ExpressionNodePtr rightExp)
 Defines common arithmetical operations between expression nodes. More...
 
ExpressionNodePtr operator+ (ExpressionNodePtr leftExp, ExpressionNodePtr rightExp)
 
ExpressionNodePtr operator* (ExpressionNodePtr leftExp, ExpressionNodePtr rightExp)
 
ExpressionNodePtr operator/ (ExpressionNodePtr leftExp, ExpressionNodePtr rightExp)
 
ExpressionNodePtr operator% (ExpressionNodePtr leftExp, ExpressionNodePtr rightExp)
 
ExpressionNodePtr MOD (ExpressionNodePtr leftExp, ExpressionNodePtr rightExp)
 
ExpressionNodePtr POWER (ExpressionNodePtr leftExp, ExpressionNodePtr rightExp)
 
ExpressionNodePtr ABS (const ExpressionNodePtr &exp)
 
ExpressionNodePtr SQRT (const ExpressionNodePtr &exp)
 
ExpressionNodePtr EXP (const ExpressionNodePtr &exp)
 
ExpressionNodePtr LN (const ExpressionNodePtr &exp)
 
ExpressionNodePtr LOG2 (const ExpressionNodePtr &exp)
 
ExpressionNodePtr LOG10 (const ExpressionNodePtr &exp)
 
ExpressionNodePtr SIN (const ExpressionNodePtr &exp)
 
ExpressionNodePtr COS (const ExpressionNodePtr &exp)
 
ExpressionNodePtr RADIANS (const ExpressionNodePtr &exp)
 
ExpressionNodePtr ROUND (const ExpressionNodePtr &exp)
 
ExpressionNodePtr CEIL (const ExpressionNodePtr &exp)
 
ExpressionNodePtr FLOOR (const ExpressionNodePtr &exp)
 
ExpressionNodePtr operator++ (ExpressionNodePtr exp)
 
ExpressionNodePtr operator-- (ExpressionNodePtr exp)
 
ExpressionNodePtr operator++ (ExpressionNodePtr exp, int value)
 
ExpressionNodePtr operator-- (ExpressionNodePtr exp, int value)
 
ExpressionNodePtr operator+ (ExpressionItem leftExp, ExpressionNodePtr rightExp)
 Defines common binary arithmetical operations between a constant and an expression node. More...
 
ExpressionNodePtr operator- (ExpressionItem leftExp, ExpressionNodePtr rightExp)
 
ExpressionNodePtr operator* (ExpressionItem leftExp, ExpressionNodePtr rightExp)
 
ExpressionNodePtr operator/ (ExpressionItem leftExp, ExpressionNodePtr rightExp)
 
ExpressionNodePtr operator% (ExpressionItem leftExp, ExpressionNodePtr rightExp)
 
ExpressionNodePtr MOD (ExpressionItem leftExp, ExpressionNodePtr rightExp)
 
ExpressionNodePtr POWER (ExpressionItem leftExp, ExpressionNodePtr rightExp)
 
ExpressionNodePtr operator+ (ExpressionNodePtr leftExp, ExpressionItem rightExp)
 Defines common binary arithmetical operations between an expression node and a constant. More...
 
ExpressionNodePtr operator- (ExpressionNodePtr leftExp, ExpressionItem rightExp)
 
ExpressionNodePtr operator* (ExpressionNodePtr leftExp, ExpressionItem rightExp)
 
ExpressionNodePtr operator/ (ExpressionNodePtr leftExp, ExpressionItem rightExp)
 
ExpressionNodePtr operator% (ExpressionNodePtr leftExp, ExpressionItem rightExp)
 
ExpressionNodePtr MOD (ExpressionNodePtr leftExp, ExpressionItem rightExp)
 
ExpressionNodePtr POWER (ExpressionNodePtr leftExp, ExpressionItem rightExp)
 
ExpressionNodePtr operator+ (ExpressionItem leftExp, ExpressionItem rightExp)
 Defines common binary arithmetical operations between two expression items. More...
 
ExpressionNodePtr operator- (ExpressionItem leftExp, ExpressionItem rightExp)
 
ExpressionNodePtr operator* (ExpressionItem leftExp, ExpressionItem rightExp)
 
ExpressionNodePtr operator/ (ExpressionItem leftExp, ExpressionItem rightExp)
 
ExpressionNodePtr operator% (ExpressionItem leftExp, ExpressionItem rightExp)
 
ExpressionNodePtr MOD (ExpressionItem leftExp, ExpressionItem rightExp)
 
ExpressionNodePtr POWER (ExpressionItem leftExp, ExpressionItem rightExp)
 
ExpressionNodePtr ABS (ExpressionItem exp)
 Defines common unary arithmetical operations on an expression items. More...
 
ExpressionNodePtr SQRT (ExpressionItem exp)
 
ExpressionNodePtr EXP (ExpressionItem exp)
 
ExpressionNodePtr LN (ExpressionItem exp)
 
ExpressionNodePtr LOG2 (ExpressionItem exp)
 
ExpressionNodePtr LOG10 (ExpressionItem exp)
 
ExpressionNodePtr SIN (ExpressionItem exp)
 
ExpressionNodePtr COS (ExpressionItem exp)
 
ExpressionNodePtr RADIANS (ExpressionItem exp)
 
ExpressionNodePtr ROUND (ExpressionItem exp)
 
ExpressionNodePtr CEIL (ExpressionItem exp)
 
ExpressionNodePtr FLOOR (ExpressionItem exp)
 
ExpressionNodePtr operator++ (ExpressionItem exp)
 
ExpressionNodePtr operator-- (ExpressionItem exp)
 
ExpressionNodePtr operator++ (ExpressionItem exp, int)
 
ExpressionNodePtr operator-- (ExpressionItem exp, int)
 
ExpressionItem Attribute (std::string name)
 Attribute(name) allows the user to reference a field in his expression. Attribute("f1") < 10 todo rename to field if conflict with legacy code is resolved. More...
 
ExpressionItem Attribute (std::string name, BasicType type)
 Attribute(name, type) allows the user to reference a field, with a specific type in his expression. Field("f1", Int) < 10. todo remove this case if we added type inference at Runtime from the operator tree. todo rename to field if conflict with legacy code is resolved. More...
 
ExpressionNodePtr WHEN (const ExpressionNodePtr &conditionExp, const ExpressionNodePtr &valueExp)
 WHEN(condition,value) can only be used as part of the left vector in a CASE() expression. Allows to only return the value expression if condition is met. More...
 
ExpressionNodePtr WHEN (ExpressionItem conditionExp, ExpressionNodePtr valueExp)
 
ExpressionNodePtr WHEN (ExpressionNodePtr conditionExp, ExpressionItem valueExp)
 
ExpressionNodePtr WHEN (ExpressionItem conditionExp, ExpressionItem valueExp)
 
ExpressionNodePtr CASE (const std::vector< ExpressionNodePtr > &whenExpressions, ExpressionNodePtr defaultValueExp)
 CASE({WHEN(condition,value),WHEN(condition, value)} , value) allows to evaluate all WHEN expressions from the vector list and only return the first one where the condition evaluated to true, or the value of the default expression. The CASE({WHEN()},default) is evaluated as a concatenated ternary operator in C++. More...
 
ExpressionNodePtr CASE (std::vector< ExpressionNodePtr > whenExpressions, ExpressionItem defaultValueExp)
 
ExpressionNodePtr operator&& (ExpressionNodePtr leftExp, ExpressionNodePtr rightExp)
 Defines common logical operations between expression nodes. More...
 
ExpressionNodePtr operator|| (ExpressionNodePtr leftExp, ExpressionNodePtr rightExp)
 
ExpressionNodePtr operator== (ExpressionNodePtr leftExp, ExpressionNodePtr rightExp)
 
ExpressionNodePtr operator!= (ExpressionNodePtr leftExp, ExpressionNodePtr rightExp)
 
ExpressionNodePtr operator<= (ExpressionNodePtr leftExp, ExpressionNodePtr rightExp)
 
ExpressionNodePtr operator>= (ExpressionNodePtr leftExp, ExpressionNodePtr rightExp)
 
ExpressionNodePtr operator< (ExpressionNodePtr leftExp, ExpressionNodePtr rightExp)
 
ExpressionNodePtr operator> (ExpressionNodePtr leftExp, ExpressionNodePtr rightExp)
 
ExpressionNodePtr operator! (ExpressionNodePtr exp)
 
ExpressionNodePtr operator! (ExpressionItem leftExp)
 
template<typename T , typename = std::enable_if_t<std::disjunction_v<std::is_same<std::decay_t<T>, ExpressionNodePtr>, std::is_same<std::decay_t<T>, ExpressionItem>, std::is_constructible<ExpressionItem, std::decay_t<T>>>>>
auto toExpressionNodePtr (T &&t) -> ExpressionNodePtr
 Defines common operations on at least one operator which is not of type ExpressionNodePtr but either a constant or an instance of the type ExpressionItem. More...
 
template<typename LHS , typename RHS , typename = std::enable_if_t<expression_generator_v<LHS, RHS>>>
auto operator&& (LHS &&lhs, RHS &&rhs) -> ExpressionNodePtr
 Operator which accepts parameters as long as they can be used to construct an ExpressionItem. If both the LHS and RHS are ExpressionNodePtrs, this overload is not used. More...
 
template<typename LHS , typename RHS , typename = std::enable_if_t<expression_generator_v<LHS, RHS>>>
auto operator|| (LHS &&lhs, RHS &&rhs) -> ExpressionNodePtr
 
template<typename LHS , typename RHS , typename = std::enable_if_t<expression_generator_v<LHS, RHS>>>
auto operator== (LHS &&lhs, RHS &&rhs) -> ExpressionNodePtr
 
template<typename LHS , typename RHS , typename = std::enable_if_t<expression_generator_v<LHS, RHS>>>
auto operator!= (LHS &&lhs, RHS &&rhs) -> ExpressionNodePtr
 
template<typename LHS , typename RHS , typename = std::enable_if_t<expression_generator_v<LHS, RHS>>>
auto operator<= (LHS &&lhs, RHS &&rhs) -> ExpressionNodePtr
 
template<typename LHS , typename RHS , typename = std::enable_if_t<expression_generator_v<LHS, RHS>>>
auto operator>= (LHS &&lhs, RHS &&rhs) -> ExpressionNodePtr
 
template<typename LHS , typename RHS , typename = std::enable_if_t<expression_generator_v<LHS, RHS>>>
auto operator< (LHS &&lhs, RHS &&rhs) -> ExpressionNodePtr
 
template<typename LHS , typename RHS , typename = std::enable_if_t<expression_generator_v<LHS, RHS>>>
auto operator> (LHS &&lhs, RHS &&rhs) -> ExpressionNodePtr
 
ExpressionNodePtr CALL (const NES::ExpressionItem &udfName, std::vector< ExpressionNodePtr > functionArgs)
 Defines a UDF call operation. More...
 
ExpressionNodePtr getExpressionNodePtr (ExpressionItem &expressionItem)
 
 TEST_F (QueryAPITest, testIntervalJoin)
 
 TEST_F (QueryAPITest, testQueryFilter)
 
 TEST_F (QueryAPITest, testQueryProjection)
 
 TEST_F (QueryAPITest, testQueryTumblingWindow)
 
 TEST_F (QueryAPITest, testQuerySlidingWindow)
 
 TEST_F (QueryAPITest, testQueryMerge)
 
 TEST_F (QueryAPITest, testQueryJoin)
 
 TEST_F (QueryAPITest, testQueryCrossJoin)
 
 TEST_F (QueryAPITest, testQueryExpression)
 
 TEST_F (QueryAPITest, windowAggregationWithAs)
 Test if the custom field set for aggregation using "as()" is set in the sink output schema. More...
 
 TEST_F (QueryAPITest, ThresholdWindowQueryTest)
 Test if the system can create a logical query plan with a Threshold Window Operator. More...
 
 TEST_F (QueryAPITest, ThresholdWindowQueryTestWithMinSupport)
 Test if the system can create a logical query plan with a Threshold Window Operator with minuium count. More...
 
 TEST_F (QueryAPITest, ThresholdWindowQueryTestwithKeyAndMinCount)
 Test if the system can create a logical query plan with a Threshold Window Operator and minium count. More...
 
 TEST_F (QueryAPITest, testQuerySeqWithTwoSources)
 Test for Sequence-Operator (seqWith) with two sources. This test compares the structure of the seqWith operator with the structure of the joinWith operator. Query: SEQ(A,B) WITHIN 2 minutes. More...
 
 TEST_F (QueryAPITest, testQuerySeqWithThreeSources)
 Test for Sequence-Operator (seqWith) with three sources. This test compares the structure of the seqWith operator with the structure of the joinWith operator. Query: SEQ(A,B,C) WITHIN 2 minutes. More...
 
 TEST_F (QueryAPITest, testQueryAndWithTwoSources)
 Test for AND-Operator (andWith) with two sources. Compares the actual query plan of andWith with the expected query plan. Query: AND(A,B) WITHIN 2 minutes. More...
 
 TEST_F (QueryAPITest, testQueryAndWithThreeSources)
 Test for AND-Operator (andWith) with three sources. Compares the actual query plan of andWith with the expected query plan. Query: AND(A,B,C) WITHIN 2 minutes. More...
 
 TEST_F (QueryAPITest, testQueryTimesNoSpecifiedOccurrences)
 Test for Times-Operator. In this test, there are no occurrences specified (Times() without parameter), leading to a query that expects the default behavior of the Times-operator without filtering for min/max occurrences. More...
 
 TEST_F (QueryAPITest, testQueryTimesExactOccurrences)
 Test for Times-Operator. In this test, there is an exact number (larger than 0) occurrences specified (Times(occurrences)), leading to a query that filters the tuples by the exact number of occurrences. More...
 
 TEST_F (QueryAPITest, testQueryTimesZeroOccurrences)
 Test for Times-Operator. If the exact number of occurrences is 0 (Times(0)), this test should fail because min- and max-occurrences are set to 0 which is not allowed. More...
 
 TEST_F (QueryAPITest, testQueryTimesMinMaxOccurrences)
 Test for Times-Operator. If there are two parameters specified (Times(min_occurrences, max_occurrences)), the query-plan is expected to filtered according to the minimum and maximum number of occurrences. More...
 
 TEST_F (RemoteClientTest, TestConnectionTest)
 Test if the testConnection call works properly. More...
 
 TEST_F (RemoteClientTest, DeployQueryTest)
 Test if deploying a query over the REST api works properly. More...
 
 TEST_F (RemoteClientTest, SubmitQueryTest)
 Test if deploying a query works properly. More...
 
 TEST_F (RemoteClientTest, SubmitQueryWithWrongLogicalSourceNameTest)
 
 TEST_F (RemoteClientTest, GetTopologyTest)
 Test if retrieving the topology works properly. More...
 
 TEST_F (RemoteClientTest, GetQueryPlanTest)
 Test if retrieving the query plan works properly. More...
 
 TEST_F (RemoteClientTest, CorrectnessOfGetQueryPlan)
 Test if correct error message is thrown for query plan retrieval with invalid query id. More...
 
 TEST_F (RemoteClientTest, StopQueryTest)
 Test if stopping a query works properly. More...
 
 TEST_F (RemoteClientTest, GetExecutionPlanTest)
 Test if retrieving the execution plan works properly. More...
 
 TEST_F (RemoteClientTest, AddAndGetLogicalSourceTest)
 Test if adding and getting logical sources properly. More...
 
 TEST_F (RemoteClientTest, GetLogicalSourceTest)
 Test if retrieving the logical source work properly. More...
 
 TEST_F (RemoteClientTest, GetPhysicalSourceTest)
 Test if getting physical sources works properly. More...
 
 TEST_F (RemoteClientTest, GetQueriesTest)
 Test getting queryIdAndCatalogEntryMapping works properly. More...
 
 TEST_F (RemoteClientTest, GetQueriesWithStatusTest)
 Test getting queryIdAndCatalogEntryMapping by status works properly. More...
 
 TEST_F (RemoteClientTest, StopAStoppedQuery)
 Test if retrieving the execution plan works properly. More...
 
 TEST_F (RemoteClientTest, StopInvalidQueryId)
 Test if retrieving the execution plan works properly. More...
 
 TEST_F (RemoteClientTest, DeployInvalidQuery)
 Test if retrieving the execution plan works properly. More...
 
DataSinkPtr createCSVFileSink (const SchemaPtr &schema, SharedQueryId sharedQueryId, DecomposedQueryId decomposedQueryId, DecomposedQueryPlanVersion decomposedQueryVersion, const Runtime::NodeEnginePtr &nodeEngine, uint32_t activeProducers, const std::string &filePath, bool append, bool addTimestamp=false, uint64_t numberOfOrigins=1)
 create a csv test sink without a schema and append to existing file More...
 
DataSinkPtr createMigrateFileSink (SharedQueryId sharedQueryId, DecomposedQueryId decomposedQueryId, DecomposedQueryPlanVersion decomposedQueryVersion, Runtime::NodeEnginePtr nodeEngine, uint32_t numOfProducers, const std::string &filePath, bool append, uint64_t numberOfOrigins=1)
 create a migrate test sink More...
 
DataSinkPtr createBinaryNESFileSink (const SchemaPtr &schema, SharedQueryId sharedQueryId, DecomposedQueryId decomposedQueryId, DecomposedQueryPlanVersion decomposedQueryVersion, const Runtime::NodeEnginePtr &nodeEngine, uint32_t numOfProducers, const std::string &filePath, bool append, uint64_t numberOfOrigins=1)
 create a binary test sink with a schema into the nes More...
 
DataSinkPtr createJSONFileSink (const SchemaPtr &schema, SharedQueryId sharedQueryId, DecomposedQueryId decomposedQueryId, DecomposedQueryPlanVersion decomposedQueryVersion, const Runtime::NodeEnginePtr &nodeEngine, uint32_t numOfProducers, const std::string &filePath, bool append, uint64_t numberOfOrigins=1)
 create a JSON test sink with a schema int More...
 
DataSinkPtr createCsvZmqSink (const SchemaPtr &schema, SharedQueryId sharedQueryId, DecomposedQueryId decomposedQueryId, DecomposedQueryPlanVersion decomposedQueryVersion, const Runtime::NodeEnginePtr &nodeEngine, uint32_t numOfProducers, const std::string &host, uint16_t port, uint64_t numberOfOrigins=1)
 create a ZMQ test sink with a schema and Csv format output More...
 
DataSinkPtr createCSVZmqSink (const SchemaPtr &schema, SharedQueryId sharedQueryId, DecomposedQueryId decomposedQueryId, DecomposedQueryPlanVersion decomposedQueryVersion, const Runtime::NodeEnginePtr &nodeEngine, uint32_t numOfProducers, const std::string &host, uint16_t port, uint64_t numberOfOrigins=1)
 create a ZMQ test sink with a schema and CSV format output More...
 
DataSinkPtr createBinaryZmqSink (const SchemaPtr &schema, SharedQueryId sharedQueryId, DecomposedQueryId decomposedQueryId, DecomposedQueryPlanVersion decomposedQueryVersion, const Runtime::NodeEnginePtr &nodeEngine, uint32_t activeProducers, const std::string &host, uint16_t port, bool internal, uint64_t numberOfOrigins=1)
 create a ZMQ test sink with a schema and NES_FORMAT format output More...
 
DataSinkPtr createCsvPrintSink (const SchemaPtr &schema, SharedQueryId sharedQueryId, DecomposedQueryId decomposedQueryId, DecomposedQueryPlanVersion decomposedQueryVersion, const Runtime::NodeEnginePtr &nodeEngine, uint32_t activeProducers, std::ostream &out, uint64_t numberOfOrigins=1)
 create a print test sink with a schema More...
 
DataSinkPtr createNullOutputSink (SharedQueryId sharedQueryId, DecomposedQueryId decomposedQueryId, DecomposedQueryPlanVersion decomposedQueryVersion, const Runtime::NodeEnginePtr &nodeEngine, uint32_t activeProducers, uint64_t numberOfOrigins=1)
 create a print that does not output something More...
 
DataSinkPtr createCSVPrintSink (const SchemaPtr &schema, SharedQueryId sharedQueryId, DecomposedQueryId decomposedQueryId, DecomposedQueryPlanVersion decomposedQueryVersion, const Runtime::NodeEnginePtr &nodeEngine, uint32_t activeProducers, std::ostream &out, uint64_t numberOfOrigins=1)
 create a print test sink with a schema More...
 
DataSinkPtr createNetworkSink (const SchemaPtr &schema, OperatorId uniqueNetworkSinkDescriptorId, SharedQueryId sharedQueryId, DecomposedQueryId decomposedQueryId, DecomposedQueryPlanVersion decomposedQueryVersion, const Network::NodeLocation &nodeLocation, Network::NesPartition nesPartition, const Runtime::NodeEnginePtr &nodeEngine, size_t numOfProducers, std::chrono::milliseconds waitTime, DecomposedQueryPlanVersion version, uint64_t numberOfOrigins=1, uint8_t retryTimes=5)
 create a network data sink More...
 
DataSinkPtr createMonitoringSink (Monitoring::MetricStorePtr metricStore, Monitoring::MetricCollectorType collectorType, const SchemaPtr &schema, Runtime::NodeEnginePtr nodeEngine, uint32_t numOfProducers, SharedQueryId sharedQueryId, DecomposedQueryId decomposedQueryId, DecomposedQueryPlanVersion decomposedQueryVersion, uint64_t numberOfOrigins=1)
 create a monitoring data sink More...
 
DataSinkPtr createStatisticSink (const SchemaPtr &schema, const Runtime::NodeEnginePtr &nodeEngine, size_t numOfProducers, SharedQueryId sharedQueryId, DecomposedQueryId decomposedQueryId, DecomposedQueryPlanVersion decomposedQueryIdVersion, uint64_t numberOfOrigins, Statistic::StatisticSynopsisType sinkFormatType, Statistic::StatisticDataCodec sinkDataCodec)
 Creates a StatisticSink. More...
 
DataSourcePtr createDefaultDataSourceWithSchemaForOneBuffer (const SchemaPtr &schema, const Runtime::BufferManagerPtr &bufferManager, const Runtime::QueryManagerPtr &queryManager, OperatorId operatorId, OriginId originId, StatisticId statisticId, size_t numSourceLocalBuffers, const std::string &physicalSourceName, const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &successors)
 function to create a test source which produces 10 tuples within one buffer with value one based on a schema More...
 
DataSourcePtr createDefaultDataSourceWithSchemaForVarBuffers (const SchemaPtr &schema, const Runtime::BufferManagerPtr &bufferManager, const Runtime::QueryManagerPtr &queryManager, uint64_t numberOfBuffersToProduce, uint64_t gatheringInterval, OperatorId operatorId, OriginId originId, StatisticId statisticId, size_t numSourceLocalBuffers, const std::string &physicalSourceName, const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &successors)
 function to create a test source which produces tuples with value one in N buffers of based on a schema More...
 
DataSourcePtr createDefaultSourceWithoutSchemaForOneBuffer (const Runtime::BufferManagerPtr &bufferManager, const Runtime::QueryManagerPtr &queryManager, OperatorId operatorId, OriginId originId, StatisticId statisticId, size_t numSourceLocalBuffers, const std::string &physicalSourceName, const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &successors)
 function to create a test source which produces 10 tuples with value one without a schema More...
 
DataSourcePtr createLambdaSource (const SchemaPtr &schema, const Runtime::BufferManagerPtr &bufferManager, const Runtime::QueryManagerPtr &queryManager, uint64_t numberOfBuffersToProduce, uint64_t gatheringValue, std::function< void(NES::Runtime::TupleBuffer &buffer, uint64_t numberOfTuplesToProduce)> &&generationFunction, OperatorId operatorId, OriginId originId, StatisticId statisticId, size_t numSourceLocalBuffers, GatheringMode gatheringMode, uint64_t sourceAffinity, uint64_t taskQueueId, const std::string &physicalSourceName, const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &successors)
 function to create a lambda source More...
 
DataSourcePtr createZmqSource (const SchemaPtr &schema, const Runtime::BufferManagerPtr &bufferManager, const Runtime::QueryManagerPtr &queryManager, const std::string &host, uint16_t port, OperatorId operatorId, OriginId originId, StatisticId statisticId, size_t numSourceLocalBuffers, const std::string &physicalSourceName, const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &successors)
 function to create an empty zmq source More...
 
DataSourcePtr createBinaryFileSource (const SchemaPtr &schema, const Runtime::BufferManagerPtr &bufferManager, const Runtime::QueryManagerPtr &queryManager, const std::string &pathToFile, OperatorId operatorId, OriginId originId, StatisticId statisticId, size_t numSourceLocalBuffers, const std::string &physicalSourceName, const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &successors)
 function to create a binary file source More...
 
DataSourcePtr createSenseSource (const SchemaPtr &schema, const Runtime::BufferManagerPtr &bufferManager, const Runtime::QueryManagerPtr &queryManager, const std::string &udfs, OperatorId operatorId, OriginId originId, StatisticId statisticId, size_t numSourceLocalBuffers, const std::string &physicalSourceName, const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &successors)
 function to create a sense source More...
 
DataSourcePtr createCSVFileSource (const SchemaPtr &schema, const Runtime::BufferManagerPtr &bufferManager, const Runtime::QueryManagerPtr &queryManager, const CSVSourceTypePtr &csvSourceType, OperatorId operatorId, OriginId originId, StatisticId statisticId, size_t numSourceLocalBuffers, const std::string &physicalSourceName, const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &successors)
 function to create a csvfile source More...
 
DataSourcePtr createMemorySource (const SchemaPtr &schema, const Runtime::BufferManagerPtr &bufferManager, const Runtime::QueryManagerPtr &queryManager, const std::shared_ptr< uint8_t > &memoryArea, size_t memoryAreaSize, uint64_t numBuffersToProcess, uint64_t gatheringValue, OperatorId operatorId, OriginId originId, StatisticId statisticId, size_t numSourceLocalBuffers, GatheringMode gatheringMode, uint64_t sourceAffinity, uint64_t taskQueueId, const std::string &physicalSourceName, const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &successors)
 function which creates a memory source More...
 
DataSourcePtr createBenchmarkSource (const SchemaPtr &schema, const Runtime::BufferManagerPtr &bufferManager, const Runtime::QueryManagerPtr &queryManager, const std::shared_ptr< uint8_t > &memoryArea, size_t memoryAreaSize, uint64_t numberOfBuffersToProcess, uint64_t gatheringValue, OperatorId operatorId, OriginId originId, StatisticId statisticId, size_t numSourceLocalBuffers, GatheringMode gatheringMode, SourceMode sourceMode, uint64_t sourceAffinity, uint64_t taskQueueId, const std::string &physicalSourceName, const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &successors)
 create a benchmark source More...
 
DataSourcePtr createNetworkSource (const SchemaPtr &schema, const Runtime::BufferManagerPtr &bufferManager, const Runtime::QueryManagerPtr &queryManager, const Network::NetworkManagerPtr &networkManager, Network::NesPartition nesPartition, Network::NodeLocation sinkLocation, size_t numSourceLocalBuffers, std::chrono::milliseconds waitTime, uint8_t retryTimes, const std::string &physicalSourceName, DecomposedQueryPlanVersion version, const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &successors, OperatorId uniqueNetworkSourceId)
 function to create a network source More...
 
DataSourcePtr createMonitoringSource (Monitoring::MetricCollectorPtr metricCollector, std::chrono::milliseconds waitTime, Runtime::BufferManagerPtr bufferManager, Runtime::QueryManagerPtr queryManager, OperatorId operatorId, OriginId originId, StatisticId statisticId, size_t numSourceLocalBuffers, const std::string &physicalSourceName, std::vector< Runtime::Execution::SuccessorExecutablePipeline > successors)
 function to create a monitoring source More...
 
DataSourcePtr createTCPSource (const SchemaPtr &schema, const Runtime::BufferManagerPtr &bufferManager, const Runtime::QueryManagerPtr &queryManager, const TCPSourceTypePtr &tcpSourceType, OperatorId operatorId, OriginId originId, StatisticId statisticId, size_t numSourceLocalBuffers, const std::string &physicalSourceName, const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &successors)
 
DataSinkPtr createJSONFileSink (const SchemaPtr &schema, SharedQueryId sharedQueryId, DecomposedQueryId decomposedQueryId, const Runtime::NodeEnginePtr &nodeEngine, uint32_t activeProducers, const std::string &filePath, bool append, uint64_t numberOfOrigins)
 
std::pair< bool, size_t > sizeUntilSearchToken (SPAN_TYPE< const char > data, char token)
 
size_t asciiBufferSize (const SPAN_TYPE< const char > data)
 
size_t binaryBufferSize (SPAN_TYPE< const char > data)
 
 TEST_F (MMapCircularBufferTest, TestConstruction)
 
 TEST_F (MMapCircularBufferTest, TestWrite)
 
 TEST_F (MMapCircularBufferTest, TestRead)
 
 TEST_F (MMapCircularBufferTest, TestWrapAround)
 
AttributeFieldPtr createField (const std::string &name, BasicType type)
 
AttributeFieldPtr createField (const std::string &name, DataTypePtr type)
 
bool startsWith (const std::string &fullString, std::string_view ending)
 
 TEST_F (SchemaTest, createTest)
 
 TEST_F (SchemaTest, addFieldTest)
 
 TEST_F (SchemaTest, removeFieldsTest)
 
 TEST_F (SchemaTest, replaceFieldTest)
 
 TEST_F (SchemaTest, getSchemaSizeInBytesTest)
 
 TEST_F (SchemaTest, containsTest)
 
 TEST_F (SchemaTest, getSourceNameQualifierTest)
 
 TEST_F (SchemaTest, copyTest)
 
 TEST_F (SchemaTest, updateSourceNameTest)
 
size_t operator% (const WorkerThreadId id, const size_t containerSize)
 Special overloads for commonly occuring patterns. More...
 
std::basic_string_view< char > getLogName (LogLevel value)
 getLogName returns the string representation LogLevel value for a specific LogLevel value. More...
 
constexpr uint64_t getLogLevel (const LogLevel value)
 GetLogLevel returns the integer LogLevel value for an specific LogLevel value. More...
 
std::string collectAndPrintStacktrace ()
 This method collects the call stacks and prints it. More...
 
std::string collectStacktrace ()
 This method only collects the call stacks Use this instead, if the Stacktrace is given over to another function to construct and print an error message, i.e. 'OnFatalError()' to avoid duplicate printing of the stack. More...
 
void setThreadName (const char *threadNameFmt,...)
 Sets the calling thread's name using the supplied formattable string. For example, setThreadName("helper") will set the thread name to "helper", setThreadName("helper-%d", 123) will set the thread name to "helper-123". Be careful that on some operating systems, the length of the thread name is constrained, e.g., on Linux it is 16 characters. More...
 
Timestamp getTimestamp ()
 
std::ostream & operator<< (std::ostream &os, const NodePtr &node)
 
void to_json (nlohmann::json &json, const QueryStateHistoryEntry &queryState)
 
 TEST_F (NonBlockingMonotonicSeqQueueTest, singleThreadSequentialUpdaterTest)
 A single thread test for the lock free watermark processor. We create a sequential list of 10k updates, monotonically increasing from 1 to 10k and push them to the watermark processor. Assumption: As we insert all updates in a sequential fashion we assume that the getCurrentWatermark is equal to the latest processed update. More...
 
 TEST_F (NonBlockingMonotonicSeqQueueTest, singleThreadReversSequentialUpdaterTest)
 A single thread test for the lock free watermark processor. We create a reverse sequential list of 10k updates, monotonically decreasing from 10k to 1 and push them to the watermark processor. Assumption: As we insert all updates in a sequential fashion we assume that the getCurrentWatermark is equal to the latest processed update. More...
 
 TEST_F (NonBlockingMonotonicSeqQueueTest, singleThreadRandomeUpdaterTest)
 A single thread test for the lock free watermark processor. We create a reverse sequential list of 10k updates, monotonically decreasing from 10k to 1 and push them to the watermark processor. Assumption: As we insert all updates in a sequential fashion we assume that the getCurrentWatermark is equal to the latest processed update. More...
 
 TEST_F (NonBlockingMonotonicSeqQueueTest, concurrentLockFreeWatermarkUpdaterTest)
 
 TEST_F (NonBlockingMonotonicSeqQueueTest, concurrentUpdatesWithLostUpdateThreadTest)
 
 TEST_F (NonBlockingMonotonicSeqQueueTest, singleThreadedUpdatesWithChunkNumberInRandomFashionTest)
 We test here to insert sequence and chunks numbers in a "random" fashion and then check, if the correct output is produced. More...
 
 TEST_F (NonBlockingMonotonicSeqQueueTest, concurrentUpdatesWithChunkNumberInRandomFashionTest)
 We test here to insert sequence and chunks numbers in a "random" fashion and then check, if the correct output is produced. We do this in a concurrent fashion. More...
 
 TEST_F (ThreadNamingTest, testThreadNaming)
 
 TEST (UtilFunctionTest, replaceNothing)
 
 TEST (UtilFunctionTest, trimWhiteSpaces)
 
 TEST (UtilFunctionTest, trimChar)
 
 TEST (UtilFunctionTest, replaceOnceWithOneFinding)
 
 TEST (UtilFunctionTest, replaceOnceWithMultipleFindings)
 
 TEST (UtilFunctionTest, splitWithStringDelimiterNothing)
 
 TEST (UtilFunctionTest, splitWithStringDelimiterOnce)
 
 TEST (UtilFunctionTest, splitWithStringDelimiterTwice)
 
 TEST (UtilFunctionTest, splitWithOmittingEmptyLast)
 

Variables

const uint64_t buffersManaged = 8 * 1024
 
const uint64_t bufferSize = 32 * 1024
 
constexpr std::chrono::duration< int64_t, std::milli > defaultTimeoutInSec = std::chrono::seconds(TestUtils::defaultTimeout)
 
constexpr uint32_t DATA_CHANNEL_RETRY_TIMES = 10
 
constexpr uint32_t EVENT_CHANNEL_RETRY_TIMES = 1
 
constexpr std::chrono::milliseconds WAIT_TIME = std::chrono::milliseconds(1000)
 
uint16_t timeout = 15
 
const size_t buffers_managed = 1024
 
const size_t buffer_size = 32 * 1024
 
const size_t buffersInserted = 101
 
const size_t emptyBuffer = 0
 
const size_t oneBuffer = 1
 
const size_t numberOfThreads = 5
 
SharedQueryId testQueryId = SharedQueryId(123)
 
std::string expectedOutput = "sum:INTEGER(32 bits)\n10\n"
 
std::string joinedExpectedOutput = "sum:INTEGER(32 bits)\n10\n10\n"
 
std::string joinedExpectedOutput10
 
constexpr auto expandAlsoOperators = false
 
template<class Type >
concept IsVariableSizeType
 
template<class Type >
concept IsNesType
 
template<class... Types>
concept ContainsString = requires { requires(std::is_same_v<std::string, Types> || ...); }
 This concept checks via tuple unpacking if Types contains at least one string. More...
 
template<class Type >
concept IsInt8 = std::is_same_v<std::remove_cvref_t<Type>, std::int8_t>
 
template<class Type >
concept IsInt16 = std::is_same_v<std::remove_cvref_t<Type>, std::int16_t>
 
template<class Type >
concept IsInt32 = std::is_same_v<std::remove_cvref_t<Type>, std::int32_t>
 
template<class Type >
concept IsInt64 = std::is_same_v<std::remove_cvref_t<Type>, std::int64_t>
 
template<class Type >
concept IsUInt8 = std::is_same_v<std::remove_cvref_t<Type>, std::uint8_t>
 
template<class Type >
concept IsUInt16 = std::is_same_v<std::remove_cvref_t<Type>, std::uint16_t>
 
template<class Type >
concept IsUInt32 = std::is_same_v<std::remove_cvref_t<Type>, std::uint32_t>
 
template<class Type >
concept IsUInt64 = std::is_same_v<std::remove_cvref_t<Type>, std::uint64_t>
 
template<class Type >
concept IsFloat = std::is_same_v<std::remove_cvref_t<Type>, float>
 
template<class Type >
concept IsDouble = std::is_same_v<std::remove_cvref_t<Type>, double>
 
template<class Type >
concept IsChar = std::is_same_v<std::remove_cvref_t<Type>, char>
 
template<class Type >
concept IsBool = std::is_same_v<std::remove_cvref_t<Type>, bool>
 
template<class Type >
concept IsString = std::is_same_v<std::remove_cvref_t<Type>, std::string>
 
template<class Type >
concept IsArray = std::is_fundamental_v<std::remove_pointer_t<Type>> || std::is_base_of_v<NESType, Type>
 
template<typename T >
concept NESIdentifier
 
constexpr std::size_t hardware_constructive_interference_size = 64
 
constexpr std::size_t hardware_destructive_interference_size = 64
 
const std::string OPERATOR_GRAPH_KEY = "operatorGraph"
 
const std::string OPERATOR_ID_KEY = "operatorId"
 
const std::string CHILDREN_KEY = "children"
 
const std::string CONSTRAINT_KEY = "constraint"
 
const std::string INPUT_DATA_KEY = "inputData"
 
const std::string JAVA_UDF_FIELD_KEY = "javaUdfField"
 
const std::string DEVICE_ID_KEY = "deviceID"
 
const std::string DEVICES_KEY = "devices"
 
const std::string NODE_ID_KEY = "nodeId"
 
const std::string NODE_TYPE_KEY = "nodeType"
 
const std::string NETWORK_DELAYS_KEY = "networkDelays"
 
const std::string LINK_ID_KEY = "linkID"
 
const std::string TRANSFER_RATE_KEY = "transferRate"
 
const std::string TIME_WEIGHT_KEY = "time_weight"
 
const std::string AVAILABLE_NODES_KEY = "availNodes"
 
const std::string PLACEMENT_KEY = "placement"
 

Detailed Description

This exception represents a network error.

a collection of shared utility functions

this class covers the different output formats that we offer in NES

tests for sinks

This test harness wrap query deployment test in our test framework.

This exception is raised, when a request was not able to lock a resource.

Typedef Documentation

◆ AbstractQueryStatusListenerPtr

◆ ArrayPtr

using NES::ArrayPtr = typedef std::shared_ptr<ArrayType>

◆ ArrayTypePtr

using NES::ArrayTypePtr = typedef std::shared_ptr<ArrayType>

◆ AttributeFieldPtr

typedef std::shared_ptr< AttributeField > NES::AttributeFieldPtr

◆ BasicPhysicalTypePtr

using NES::BasicPhysicalTypePtr = typedef std::shared_ptr<BasicPhysicalType>

◆ BasicValuePtr

using NES::BasicValuePtr = typedef std::shared_ptr<BasicValue>

◆ BenchmarkSourcePtr

using NES::BenchmarkSourcePtr = typedef std::shared_ptr<BenchmarkSource>

◆ BinarySourcePtr

using NES::BinarySourcePtr = typedef std::shared_ptr<BinarySource>

◆ BufferSequenceNumberPtr

using NES::BufferSequenceNumberPtr = typedef std::shared_ptr<BufferSequenceNumber>

◆ CharPtr

using NES::CharPtr = typedef std::shared_ptr<Char>

◆ ChunkNumber

using NES::ChunkNumber = typedef uint64_t

◆ Clock

using NES::Clock = typedef std::chrono::high_resolution_clock

◆ CompletionQueuePtr

typedef std::shared_ptr< CompletionQueue > NES::CompletionQueuePtr

◆ CoordinatorHealthCheckServicePtr

◆ CSVParserPtr

typedef std::shared_ptr< CSVParser > NES::CSVParserPtr

◆ CSVSourcePtr

using NES::CSVSourcePtr = typedef std::shared_ptr<CSVSource>

◆ CSVSourceTypePtr

using NES::CSVSourceTypePtr = typedef std::shared_ptr<CSVSourceType>

◆ DataEmitterPtr

using NES::DataEmitterPtr = typedef std::shared_ptr<DataEmitter>

◆ DataSinkPtr

typedef std::shared_ptr< SinkMedium > NES::DataSinkPtr

◆ DataSourceProxyPtr

using NES::DataSourceProxyPtr = typedef std::shared_ptr<DataSourceProxy>

◆ DataSourcePtr

typedef std::shared_ptr< DataSource > NES::DataSourcePtr

◆ DataTypePtr

typedef std::shared_ptr< DataType > NES::DataTypePtr

◆ DecomposedQueryId

using NES::DecomposedQueryId = typedef NESStrongType<uint64_t, struct DecomposedQueryPlanId_, 0, 1>

◆ DecomposedQueryPlanPtr

typedef std::shared_ptr< DecomposedQueryPlan > NES::DecomposedQueryPlanPtr

◆ DecomposedQueryPlanVersion

using NES::DecomposedQueryPlanVersion = typedef uint16_t

◆ DefaultSourcePtr

using NES::DefaultSourcePtr = typedef std::shared_ptr<DefaultSource>

◆ DeploymentPhasePtr

typedef std::shared_ptr< DeploymentPhase > NES::DeploymentPhasePtr

◆ ErrorHandlerPtr

typedef std::shared_ptr< ErrorHandler > NES::ErrorHandlerPtr

◆ ExpressionNodePtr

typedef std::shared_ptr< ExpressionNode > NES::ExpressionNodePtr

◆ FieldAssignmentExpressionNodePtr

typedef std::shared_ptr< FieldAssignmentExpressionNode > NES::FieldAssignmentExpressionNodePtr

◆ FileSinkPtr

using NES::FileSinkPtr = typedef std::shared_ptr<FileSink>

◆ FloatPtr

using NES::FloatPtr = typedef std::shared_ptr<Float>

◆ GlobalExecutionPlanPtr

typedef std::shared_ptr< GlobalExecutionPlan > NES::GlobalExecutionPlanPtr

◆ GlobalQueryPlanHandle

using NES::GlobalQueryPlanHandle = typedef ResourceHandle<GlobalQueryPlan>

◆ GlobalQueryPlanPtr

typedef std::shared_ptr< GlobalQueryPlan > NES::GlobalQueryPlanPtr

◆ HashOperatorId

◆ IntegerPtr

using NES::IntegerPtr = typedef std::shared_ptr<Integer>

◆ LambdaSourcePtr

using NES::LambdaSourcePtr = typedef std::shared_ptr<LambdaSource>

◆ LocationServicePtr

typedef std::shared_ptr< LocationService > NES::LocationServicePtr

◆ LogicalJoinOperatorPtr

using NES::LogicalJoinOperatorPtr = typedef std::shared_ptr<LogicalJoinOperator>

◆ LogicalOperatorPtr

typedef std::shared_ptr< LogicalOperator > NES::LogicalOperatorPtr

◆ MemorySourcePtr

using NES::MemorySourcePtr = typedef std::shared_ptr<MemorySource>

◆ MetricCatalogPtr

using NES::MetricCatalogPtr = typedef std::shared_ptr<MetricCatalog>

◆ MetricGroupPtr

using NES::MetricGroupPtr = typedef std::shared_ptr<MetricGroup>

◆ MetricPtr

using NES::MetricPtr = typedef std::shared_ptr<Metric>

◆ MonitoringPlanPtr

using NES::MonitoringPlanPtr = typedef std::shared_ptr<MonitoringPlan>

◆ MonitoringServicePtr

typedef std::shared_ptr< MonitoringService > NES::MonitoringServicePtr

◆ MonitoringSinkPtr

using NES::MonitoringSinkPtr = typedef std::shared_ptr<MonitoringSink>

◆ MonitoringSourcePtr

using NES::MonitoringSourcePtr = typedef std::shared_ptr<MonitoringSource>

◆ MQTTClientWrapperPtr

using NES::MQTTClientWrapperPtr = typedef std::shared_ptr<MQTTClientWrapper>

◆ NanoSeconds

using NES::NanoSeconds = typedef std::chrono::nanoseconds

◆ NesCoordinatorPtr

using NES::NesCoordinatorPtr = typedef std::shared_ptr<NesCoordinator>

◆ NesCoordinatorWeakPtr

typedef std::weak_ptr< NesCoordinator > NES::NesCoordinatorWeakPtr

◆ NESParserPtr

using NES::NESParserPtr = typedef std::shared_ptr<NESBinaryParser>

◆ NesWorkerPtr

typedef std::shared_ptr< NesWorker > NES::NesWorkerPtr

◆ NodePtr

typedef std::shared_ptr< Node > NES::NodePtr

◆ NullOutputSinkPtr

using NES::NullOutputSinkPtr = typedef std::shared_ptr<NullOutputSink>

◆ OperatorHandlerStorePtr

using NES::OperatorHandlerStorePtr = typedef std::shared_ptr<OperatorHandlerStore>

◆ OperatorHash

◆ OperatorId

using NES::OperatorId = typedef NESStrongType<uint64_t, struct OperatorId_, 0, 1>

◆ OperatorPtr

typedef std::shared_ptr< Operator > NES::OperatorPtr

◆ OriginId

typedef NESStrongType< uint64_t, struct OriginId_, 0, 1 > NES::OriginId

◆ ParserPtr

typedef std::shared_ptr< Parser > NES::ParserPtr

◆ PartitionId

using NES::PartitionId = typedef NESStrongType<uint64_t, struct PartitionId_, 0, 1>

◆ PatternPtr

using NES::PatternPtr = typedef std::shared_ptr<Pattern>

◆ PhysicalSourceTypePtr

using NES::PhysicalSourceTypePtr = typedef std::shared_ptr<PhysicalSourceType>

◆ PhysicalTypePtr

typedef std::shared_ptr< PhysicalType > NES::PhysicalTypePtr

◆ PipelineId

using NES::PipelineId = typedef NESStrongType<uint64_t, struct PipelineId_, 0, 1>

◆ PrintSinkPtr

using NES::PrintSinkPtr = typedef std::shared_ptr<PrintSink>

◆ QueryCatalogHandle

using NES::QueryCatalogHandle = typedef ResourceHandle<Catalogs::Query::QueryCatalog>

◆ QueryCatalogServicePtr

typedef std::shared_ptr< QueryCatalogService > NES::QueryCatalogServicePtr

◆ QueryCompilerPtr

using NES::QueryCompilerPtr = typedef std::shared_ptr<QueryCompiler>

◆ QueryId

using NES::QueryId = typedef NESStrongType<uint64_t, struct QueryId_, 0, 1>

◆ QueryParsingServicePtr

◆ QueryPlanPtr

typedef std::shared_ptr< QueryPlan > NES::QueryPlanPtr

◆ QueryPtr

typedef std::shared_ptr< Query > NES::QueryPtr

◆ QueryStateHistory

using NES::QueryStateHistory = typedef std::vector<QueryStateHistoryEntry>

Track a timestamped history of query status changes.

◆ QueryUndeploymentPhasePtr

using NES::QueryUndeploymentPhasePtr = typedef std::shared_ptr<QueryUndeploymentPhase>

◆ ReconfigurationMarkerEventPtr

◆ ReconfigurationMarkerPtr

◆ ReconfigurationMetadatatPtr

◆ RequestHandlerServicePtr

◆ RequestId

using NES::RequestId = typedef NESStrongType<uint64_t, struct RequestId_, 0, 1>

◆ RequestQueuePtr

using NES::RequestQueuePtr = typedef std::shared_ptr<RequestQueue>

◆ ResourceHandle

template<typename T >
using NES::ResourceHandle = typedef std::shared_ptr<T>

◆ RestServerPtr

using NES::RestServerPtr = typedef std::shared_ptr<RestServer>

◆ SchemaPtr

typedef std::shared_ptr< Schema > NES::SchemaPtr

◆ SenseSourcePtr

using NES::SenseSourcePtr = typedef std::shared_ptr<SenseSource>

◆ SequenceNumber

typedef uint64_t NES::SequenceNumber

◆ SerializableSchemaPtr

using NES::SerializableSchemaPtr = typedef std::shared_ptr<SerializableSchema>

◆ SharedQueryId

using NES::SharedQueryId = typedef NESStrongType<uint64_t, struct SharedQueryId_, 0, 1>

◆ SharedQueryPlanPtr

typedef std::shared_ptr< SharedQueryPlan > NES::SharedQueryPlanPtr

◆ SinkDescriptorPtr

typedef std::shared_ptr< SinkDescriptor > NES::SinkDescriptorPtr

◆ SinkFormatPtr

using NES::SinkFormatPtr = typedef std::shared_ptr<SinkFormat>

◆ SinkLogicalOperatorPtr

using NES::SinkLogicalOperatorPtr = typedef std::shared_ptr<SinkLogicalOperator>

◆ SinkPluginRegistry

◆ SourceDescriptorPtr

using NES::SourceDescriptorPtr = typedef std::shared_ptr<SourceDescriptor>

◆ SourceLogicalOperatorPtr

using NES::SourceLogicalOperatorPtr = typedef std::shared_ptr<SourceLogicalOperator>

◆ SourcePluginRegistry

◆ StatisticId

using NES::StatisticId = typedef uint64_t

◆ SubpartitionId

using NES::SubpartitionId = typedef NESStrongType<uint64_t, struct SubpartitionId_, 0, 1>

◆ TCPSourcePtr

typedef std::shared_ptr< TCPSource > NES::TCPSourcePtr

◆ TestHarnessWorkerConfigurationPtr

◆ TextPtr

using NES::TextPtr = typedef std::shared_ptr<TextType>

◆ TextTypePtr

using NES::TextTypePtr = typedef std::shared_ptr<TextType>

◆ ThreadBarrierPtr

using NES::ThreadBarrierPtr = typedef std::shared_ptr<ThreadBarrier>

◆ Timestamp

typedef uint64_t NES::Timestamp

◆ TopologyHandle

using NES::TopologyHandle = typedef ResourceHandle<Topology>

◆ TopologyNodePtr

typedef std::shared_ptr< TopologyNode > NES::TopologyNodePtr

◆ TopologyPtr

typedef std::shared_ptr< Topology > NES::TopologyPtr

◆ ValueTypePtr

typedef std::shared_ptr< ValueType > NES::ValueTypePtr

◆ WatermarkTs

typedef uint64_t NES::WatermarkTs

◆ WorkerId

using NES::WorkerId = typedef NESStrongType<uint64_t, struct WorkerId_, 0, 1>

◆ WorkerRPCClientPtr

typedef std::shared_ptr< WorkerRPCClient > NES::WorkerRPCClientPtr

◆ WorkerThreadId

using NES::WorkerThreadId = typedef NESStrongType<uint32_t, struct WorkerThreadId_, UINT32_MAX, 0>

◆ ZmqSinkPtr

using NES::ZmqSinkPtr = typedef std::shared_ptr<ZmqSink>

◆ ZmqSourcePtr

using NES::ZmqSourcePtr = typedef std::shared_ptr<ZmqSource>

Enumeration Type Documentation

◆ BasicType

enum NES::BasicType : uint8_t
strong
Enumerator
INT8 
UINT8 
INT16 
UINT16 
INT32 
UINT32 
INT64 
FLOAT32 
UINT64 
FLOAT64 
BOOLEAN 
CHAR 

◆ ExecutionResult

enum NES::ExecutionResult : uint8_t
strong
Enumerator
Ok 

Execution completed successfully.

Error 

Execution completed unsuccessfully -> Must handle error.

Finished 

Query Execution completed successfully and no further data are to be expected.

AllFinished 

All Queries Execution completed successfully and no further data are to be expected.

◆ FormatTypes

enum NES::FormatTypes : uint8_t
strong

Format types supported by NES.

Enumerator
ARROW_IPC_FORMAT 
CSV_FORMAT 
JSON_FORMAT 
NES_FORMAT 

◆ GatheringMode

enum NES::GatheringMode : uint8_t
strong
Enumerator
INTERVAL_MODE 
INGESTION_RATE_MODE 
ADAPTIVE_MODE 

◆ LogLevel

enum NES::LogLevel : uint8_t
strong

Indicators for a log level following the priority of log messages. A specific log level contains all log messages of an lower level. For example if LOG_LEVEL is LOG_WARNING, then it also contains LOG_NONE, LOG_FATAL_ERROR, and LOG_ERROR.

Enumerator
LOG_NONE 
LOG_FATAL_ERROR 
LOG_ERROR 
LOG_WARNING 
LOG_INFO 
LOG_DEBUG 
LOG_TRACE 

◆ OperatorState

enum NES::OperatorState : uint8_t
strong

Represents various states the operator goes through.

TO_BE_PLACED: Operator is newly added and yet to be placed. TO_BE_REMOVED: Operator is marked for removal. TO_BE_REPLACED: Operator was placed and deployed somewhere but need to be unplaced, undeploy, placed, and deployed. PLACED: Operator is placed and deployed. REMOVED: operator is undeployed and is removed.

Enumerator
TO_BE_PLACED 
TO_BE_REMOVED 
TO_BE_REPLACED 
PLACED 
REMOVED 

◆ PipelineStageArity

enum NES::PipelineStageArity : uint8_t
strong
Enumerator
Unary 
BinaryLeft 
BinaryRight 

◆ QueryState

enum NES::QueryState : uint8_t
strong

Represents various states the user query goes through.

Registered: Query is registered to be scheduled to the worker nodes (added to the queue). Optimizing: Coordinator is optimizing the query. Running: Query is now running successfully. MarkedForHardStop: A request arrived into the system for stopping a query and system marks the query for stopping (added to the queue). MarkedForSoftStop: marked for soft stop after a source completed SoftStopTriggered: soft stop triggered after source completed SoftStopCompleted: soft stop completed after all sources complete Stopped: Query was explicitly stopped either by system or by user. Failed: Query failed because of some reason. Restarting: restarting the query Migrating: migrating query

Enumerator
REGISTERED 
OPTIMIZING 
MARKED_FOR_DEPLOYMENT 
MARKED_FOR_REDEPLOYMENT 
MARKED_FOR_MIGRATION 
MARKED_FOR_UPDATE_AND_DRAIN 
DEPLOYED 
REDEPLOYED 
RUNNING 
MIGRATING 
MARKED_FOR_HARD_STOP 
MARKED_FOR_SOFT_STOP 
SOFT_STOP_TRIGGERED 
SOFT_STOP_COMPLETED 
STOPPED 
MARKED_FOR_FAILURE 
FAILED 
RESTARTING 
MIGRATION_COMPLETED 
EXPLAINED 

◆ ReconfigurationMetadataType

enum NES::ReconfigurationMetadataType : uint8_t
strong
Enumerator
DrainQuery 
UpdateAndDrainQuery 
UpdateQuery 

◆ RequestType

enum NES::RequestType : uint8_t
strong

Represents various request types.

Add: Add query. Stop: Stop query. Restart: Restart query. Fail: Fail query. Migrate: Migrate query. Update: Update running query.

Enumerator
AddQuery 
StopQuery 
RestartQuery 
FailQuery 
MigrateQuery 
UpdateQuery 
AddTopologyNode 
RemoveTopologyNode 
MigrateTopologyNode 
AddTopologyLink 
RemoveTopologyLink 

◆ RpcClientMode

enum NES::RpcClientMode : uint8_t
strong
Enumerator
Register 
Unregister 
Start 
Stop 
Reconfiguration 

◆ SharedQueryPlanStatus

enum NES::SharedQueryPlanStatus : uint8_t
strong

Represents various states a Shared query Plan goes through.

CREATED: Shared query plan was just created and need to be processed DEPLOYED: Shared Query Plan was deployed successfully. PROCESSED: Shared query plan was processed by placement amendment phase. PARTIALLY_PROCESSED: Shared query plan was only partially processed by placement amendment phase. UPDATED: A request arrived into the system that either added or removed operators from a Shared Query Plan. STOPPED: Shared Query Plan was stopped by user. FAILED: Shared Query Plan failed because of some reason. MIGRATING: shared query plan is currently being migrated

Enumerator
CREATED 
DEPLOYED 
PROCESSED 
PARTIALLY_PROCESSED 
UPDATED 
STOPPED 
FAILED 
MIGRATING 

◆ SinkMediumTypes

enum NES::SinkMediumTypes : uint8_t
strong
Enumerator
ZMQ_SINK 
PRINT_SINK 
KAFKA_SINK 
FILE_SINK 
NETWORK_SINK 
OPC_SINK 
MQTT_SINK 
NULL_SINK 
MONITORING_SINK 
STATISTIC_SINK 

◆ SourceMode

enum NES::SourceMode : uint8_t
strong
Enumerator
EMPTY_BUFFER 
WRAP_BUFFER 
CACHE_COPY 
COPY_BUFFER 
COPY_BUFFER_SIMD_RTE 
COPY_BUFFER_SIMD_APEX 

Function Documentation

◆ __attribute__()

struct NES::__attribute__ ( (packed)  )

References FIX_CHAR_CMP, ip, operator!=(), operator==(), STR_TO_FIX_CHAR, and timestamp.

Referenced by TEST_F(), TEST_F(), NES::Runtime::Execution::TEST_F(), TEST_P(), and NES::Runtime::Execution::TEST_P().

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

◆ ABS() [1/2]

ExpressionNodePtr NES::ABS ( const ExpressionNodePtr exp)

References NES::DataTypeFactory::createUndefined().

Referenced by ABS(), and TEST_F().

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

◆ ABS() [2/2]

ExpressionNodePtr NES::ABS ( ExpressionItem  exp)

Defines common unary arithmetical operations on an expression items.

References ABS(), and NES::ExpressionItem::getExpressionNode().

Here is the call graph for this function:

◆ asciiBufferSize()

size_t NES::asciiBufferSize ( const SPAN_TYPE< const char >  data)

References data.

◆ Attribute() [1/2]

ExpressionItem NES::Attribute ( std::string  name)

Attribute(name) allows the user to reference a field in his expression. Attribute("f1") < 10 todo rename to field if conflict with legacy code is resolved.

Parameters
fieldName

References backward::details::move().

Referenced by UnionQueryExecutionTest::__attribute__(), NES::Parsers::NesCEPQueryPlanCreator::addBinaryOperatorToQueryPlan(), NES::CEPOperatorBuilder::And::And(), NES::Parsers::NesCEPQueryPlanCreator::createQueryFromPatternList(), createRandomStatisticInfo(), NES::Parsers::NesCEPQueryPlanCreator::createTimeBasedWindow(), NES::CrossJoinOperatorBuilder::CrossJoin::CrossJoin(), NES::Parsers::NesCEPQueryPlanCreator::getAttributeWithFullQualifiedName(), NES::Parsers::NesCEPQueryPlanCreator::orderHandling(), NES::Runtime::Execution::StreamJoinQuerySharedExecutionTest::prepareRunTwoEqualQueriesDeployedDifferentTime(), NES::API::RecordCreationTs(), NES::Runtime::Execution::StreamIntervalJoinQueryExecutionTest::runSingleJoinQuery(), NES::Runtime::Execution::StreamJoinQueryExecutionTest::runSingleJoinQuery(), NES::Statistic::TEST_F(), NES::RequestProcessor::TEST_F(), TEST_F(), TEST_F(), NES::Runtime::Execution::TEST_P(), TEST_P(), TEST_P(), NES::CEPOperatorBuilder::Times::Times(), NES::CEPOperatorBuilder::Seq::window(), and NES::CEPOperatorBuilder::Times::window().

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

◆ Attribute() [2/2]

ExpressionItem NES::Attribute ( std::string  name,
BasicType  type 
)

Attribute(name, type) allows the user to reference a field, with a specific type in his expression. Field("f1", Int) < 10. todo remove this case if we added type inference at Runtime from the operator tree. todo rename to field if conflict with legacy code is resolved.

Parameters
fieldName,type

References NES::DataTypeFactory::createType(), backward::details::move(), and type.

Here is the call graph for this function:

◆ binaryBufferSize()

size_t NES::binaryBufferSize ( SPAN_TYPE< const char >  data)

References data, and NES_ASSERT.

◆ CALL()

ExpressionNodePtr NES::CALL ( const NES::ExpressionItem udfName,
std::vector< ExpressionNodePtr functionArgs 
)

Defines a UDF call operation.

◆ CASE() [1/2]

ExpressionNodePtr NES::CASE ( const std::vector< ExpressionNodePtr > &  whenExpressions,
ExpressionNodePtr  defaultValueExp 
)

CASE({WHEN(condition,value),WHEN(condition, value)} , value) allows to evaluate all WHEN expressions from the vector list and only return the first one where the condition evaluated to true, or the value of the default expression. The CASE({WHEN()},default) is evaluated as a concatenated ternary operator in C++.

Parameters
whenExpressions: a vector of at least one WHEN expression to evaluate.
defaultValueExp: an expression which will be returned if no WHEN condition evaluated to true.

References backward::details::move().

Referenced by CASE(), and TEST_F().

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

◆ CASE() [2/2]

ExpressionNodePtr NES::CASE ( std::vector< ExpressionNodePtr whenExpressions,
ExpressionItem  defaultValueExp 
)

References CASE(), NES::ExpressionItem::getExpressionNode(), and backward::details::move().

Here is the call graph for this function:

◆ CEIL() [1/2]

ExpressionNodePtr NES::CEIL ( const ExpressionNodePtr exp)

Referenced by CEIL().

Here is the caller graph for this function:

◆ CEIL() [2/2]

ExpressionNodePtr NES::CEIL ( ExpressionItem  exp)

References CEIL(), and NES::ExpressionItem::getExpressionNode().

Here is the call graph for this function:

◆ checkBinary()

template<template< typename, auto... > typename CompilesFromArgs, template< typename... > typename CompilesFromTypes>
void NES::checkBinary ( )

Template that can check that different Operators can be used with all designated data types that construct an ExpressionItem.

References magic_enum::detail::value().

Here is the call graph for this function:

◆ collectAndPrintStacktrace()

std::string NES::collectAndPrintStacktrace ( )

This method collects the call stacks and prints it.

References backward::ColorMode::always, CALLSTACK_MAX_SIZE, backward::Printer::color_mode, backward::StackTraceImpl< TAG >::load_here(), NES_ERROR, backward::Printer::object, and backward::Printer::print().

Referenced by NES::Node::Node().

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

◆ collectStacktrace()

std::string NES::collectStacktrace ( )

This method only collects the call stacks Use this instead, if the Stacktrace is given over to another function to construct and print an error message, i.e. 'OnFatalError()' to avoid duplicate printing of the stack.

References backward::ColorMode::always, CALLSTACK_MAX_SIZE, backward::Printer::color_mode, backward::StackTraceImpl< TAG >::load_here(), backward::Printer::object, and backward::Printer::print().

Referenced by NES::Runtime::detail::nesErrorHandler(), NES::Runtime::detail::nesTerminateHandler(), and NES::Runtime::detail::nesUnexpectedException().

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

◆ COS() [1/2]

ExpressionNodePtr NES::COS ( const ExpressionNodePtr exp)

References NES::DataTypeFactory::createUndefined().

Referenced by COS().

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

◆ COS() [2/2]

ExpressionNodePtr NES::COS ( ExpressionItem  exp)

References COS(), and NES::ExpressionItem::getExpressionNode().

Here is the call graph for this function:

◆ countOccurrences()

uint64_t NES::countOccurrences ( const std::string &  searchString,
const std::string &  targetString 
)

This function counts the number of times the search string appears within the target string. It uses the std::string::find() method to locate occurrences.

Parameters
searchStringThe string to search for.
targetStringThe string in which to search for occurrences.
Returns
The number of occurrences of the search string within the target string.

Referenced by TEST_F().

Here is the caller graph for this function:

◆ createBenchmarkSource()

DataSourcePtr NES::createBenchmarkSource ( const SchemaPtr schema,
const Runtime::BufferManagerPtr bufferManager,
const Runtime::QueryManagerPtr queryManager,
const std::shared_ptr< uint8_t > &  memoryArea,
size_t  memoryAreaSize,
uint64_t  numberOfBuffersToProcess,
uint64_t  gatheringValue,
OperatorId  operatorId,
OriginId  originId,
StatisticId  statisticId,
size_t  numSourceLocalBuffers,
GatheringMode  gatheringMode,
SourceMode  sourceMode,
uint64_t  sourceAffinity,
uint64_t  taskQueueId,
const std::string &  physicalSourceName,
const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &  successors 
)

create a benchmark source

Parameters
schemathe schema of the source
bufferManagerpointer to the buffer manager
queryManagerpointer to the query manager
memoryAreathe memory buffer to scan and create buffers out of
memoryAreaSizethe size of the memory buffer
numberOfBuffersToProcess
gatheringValuehow many tuples to collect per interval
operatorIdcurrent operator id
originIdrepresents the identifier of the upstream operator that represents the origin of the input stream
statisticIdrepresents the unique identifier of components that we can track statistics for
numSourceLocalBuffersthe number of buffers allocated to a source
gatheringModethe gathering mode (INTERVAL_MODE, INGESTION_RATE_MODE, or ADAPTIVE_MODE)
sourceMode
sourceAffinitythe subsequent operators in the pipeline to which the data is pushed
taskQueueIdthe ID of the queue to which the task is pushed
physicalSourceNamethe name and unique identifier of a physical source
successorsthe subsequent operators in the pipeline to which the data is pushed
Returns
a data source pointer

References NES::TestUtils::physicalSourceName().

Here is the call graph for this function:

◆ createBinaryFileSource()

DataSourcePtr NES::createBinaryFileSource ( const SchemaPtr schema,
const Runtime::BufferManagerPtr bufferManager,
const Runtime::QueryManagerPtr queryManager,
const std::string &  pathToFile,
OperatorId  operatorId,
OriginId  originId,
StatisticId  statisticId,
size_t  numSourceLocalBuffers,
const std::string &  physicalSourceName,
const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &  successors 
)

function to create a binary file source

Parameters
schemaschema of data source
bufferManagerpointer to the buffer manager
queryManagerpointer to the query manager
pathToFilepath to the binary file
operatorIdcurrent operator id
originIdrepresents the identifier of the upstream operator that represents the origin of the input stream
statisticIdrepresents the unique identifier of components that we can track statistics for
numSourceLocalBuffersthe number of buffers allocated to a source
physicalSourceNamethe name and unique identifier of a physical source
successorsthe subsequent operators in the pipeline to which the data is pushed
Returns
a data source pointer

References INTERVAL_MODE, and NES::TestUtils::physicalSourceName().

Here is the call graph for this function:

◆ createBinaryNESFileSink()

DataSinkPtr NES::createBinaryNESFileSink ( const SchemaPtr schema,
SharedQueryId  sharedQueryId,
DecomposedQueryId  decomposedQueryId,
DecomposedQueryPlanVersion  decomposedQueryVersion,
const Runtime::NodeEnginePtr nodeEngine,
uint32_t  numOfProducers,
const std::string &  filePath,
bool  append,
uint64_t  numberOfOrigins = 1 
)

create a binary test sink with a schema into the nes

Parameters
schemaof sink
bufferManager
pathto file
boolindicating if data is appended (true) or overwritten (false)
numberOfOriginsnumber of origins of a given query
Returns
a data sink pointer

◆ createBinaryZmqSink()

DataSinkPtr NES::createBinaryZmqSink ( const SchemaPtr schema,
SharedQueryId  sharedQueryId,
DecomposedQueryId  decomposedQueryId,
DecomposedQueryPlanVersion  decomposedQueryVersion,
const Runtime::NodeEnginePtr nodeEngine,
uint32_t  activeProducers,
const std::string &  host,
uint16_t  port,
bool  internal,
uint64_t  numberOfOrigins = 1 
)

create a ZMQ test sink with a schema and NES_FORMAT format output

Parameters
schemaof sink
bufferManager
hostnameas sting
portat uint16
numberOfOriginsnumber of origins of a given query
Returns
a data sink pointer

References host.

Referenced by TEST_F().

Here is the caller graph for this function:

◆ createCSVFileSink()

DataSinkPtr NES::createCSVFileSink ( const SchemaPtr schema,
SharedQueryId  sharedQueryId,
DecomposedQueryId  decomposedQueryId,
DecomposedQueryPlanVersion  decomposedQueryVersion,
const Runtime::NodeEnginePtr nodeEngine,
uint32_t  activeProducers,
const std::string &  filePath,
bool  append,
bool  addTimestamp = false,
uint64_t  numberOfOrigins = 1 
)

create a csv test sink without a schema and append to existing file

Parameters
schemaof sink
bufferManager
pathto file
boolindicating if data is appended (true) or overwritten (false)
numberOfOriginsnumber of origins of a given query
Returns
a data sink pointer

Referenced by setupQEP(), and TEST_F().

Here is the caller graph for this function:

◆ createCSVFileSource()

DataSourcePtr NES::createCSVFileSource ( const SchemaPtr schema,
const Runtime::BufferManagerPtr bufferManager,
const Runtime::QueryManagerPtr queryManager,
const CSVSourceTypePtr csvSourceType,
OperatorId  operatorId,
OriginId  originId,
StatisticId  statisticId,
size_t  numSourceLocalBuffers,
const std::string &  physicalSourceName,
const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &  successors 
)

function to create a csvfile source

Parameters
schemaschema of data source
bufferManagerpointer to the buffer manager
queryManagerpointer to the query manager
csvSourceTypepoints to the current source configuration object
operatorIdcurrent operator id
originIdrepresents the identifier of the upstream operator that represents the origin of the input stream
statisticIdrepresents the unique identifier of components that we can track statistics for
numSourceLocalBuffersthe number of buffers allocated to a source
physicalSourceNamethe name and unique identifier of a physical source
successorsthe subsequent operators in the pipeline to which the data is pushed
Returns
a data source pointer

References INTERVAL_MODE, and NES::TestUtils::physicalSourceName().

Referenced by TEST_F().

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

◆ createCsvPrintSink()

DataSinkPtr NES::createCsvPrintSink ( const SchemaPtr schema,
SharedQueryId  sharedQueryId,
DecomposedQueryId  decomposedQueryId,
DecomposedQueryPlanVersion  decomposedQueryVersion,
const Runtime::NodeEnginePtr nodeEngine,
uint32_t  activeProducers,
std::ostream &  out,
uint64_t  numberOfOrigins = 1 
)

create a print test sink with a schema

Parameters
schemaof sink
bufferManager
outputstream
numberOfOriginsnumber of origins of a given query
Returns
a data sink pointer

◆ createCSVPrintSink()

DataSinkPtr NES::createCSVPrintSink ( const SchemaPtr schema,
SharedQueryId  sharedQueryId,
DecomposedQueryId  decomposedQueryId,
DecomposedQueryPlanVersion  decomposedQueryVersion,
const Runtime::NodeEnginePtr nodeEngine,
uint32_t  activeProducers,
std::ostream &  out,
uint64_t  numberOfOrigins = 1 
)

create a print test sink with a schema

Parameters
schemaof sink
parentPlanid of the parent qep
bufferManager
outputstream
numberOfOriginsnumber of origins of a given query
Returns
a data sink pointer

Referenced by TEST_F().

Here is the caller graph for this function:

◆ createCsvZmqSink()

DataSinkPtr NES::createCsvZmqSink ( const SchemaPtr schema,
SharedQueryId  sharedQueryId,
DecomposedQueryId  decomposedQueryId,
DecomposedQueryPlanVersion  decomposedQueryVersion,
const Runtime::NodeEnginePtr nodeEngine,
uint32_t  numOfProducers,
const std::string &  host,
uint16_t  port,
uint64_t  numberOfOrigins = 1 
)

create a ZMQ test sink with a schema and Csv format output

Parameters
schemaof sink
bufferManager
hostnameas sting
portat uint16
internalrefers to the usage of this zmq sink as a fwd operator such that we dont have to send the schema, only the data
numberOfOriginsnumber of origins of a given query
Returns
a data sink pointer

References host.

◆ createCSVZmqSink()

DataSinkPtr NES::createCSVZmqSink ( const SchemaPtr schema,
SharedQueryId  sharedQueryId,
DecomposedQueryId  decomposedQueryId,
DecomposedQueryPlanVersion  decomposedQueryVersion,
const Runtime::NodeEnginePtr nodeEngine,
uint32_t  numOfProducers,
const std::string &  host,
uint16_t  port,
uint64_t  numberOfOrigins = 1 
)

create a ZMQ test sink with a schema and CSV format output

Parameters
schemaof sink
bufferManager
hostnameas sting
portat uint16
numberOfOriginsnumber of origins of a given query
Returns
a data sink pointer

References host.

Referenced by TEST_F().

Here is the caller graph for this function:

◆ createDefaultDataSourceWithSchemaForOneBuffer()

DataSourcePtr NES::createDefaultDataSourceWithSchemaForOneBuffer ( const SchemaPtr schema,
const Runtime::BufferManagerPtr bufferManager,
const Runtime::QueryManagerPtr queryManager,
OperatorId  operatorId,
OriginId  originId,
StatisticId  statisticId,
size_t  numSourceLocalBuffers,
const std::string &  physicalSourceName,
const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &  successors 
)

function to create a test source which produces 10 tuples within one buffer with value one based on a schema

Parameters
schemaschema of the data source
bufferManagerpointer to the buffer manager
queryManagerpointer to the query manager
operatorIdcurrent operator id
originIdrepresents the identifier of the upstream operator that represents the origin of the input stream
statisticIdrepresents the unique identifier of components that we can track statistics for
numSourceLocalBuffersthe number of buffers allocated to a source
physicalSourceNamethe name and unique identifier of a physical source
successorsthe subsequent operators in the pipeline to which the data is pushed
Returns
a data source pointer

References NES::TestUtils::physicalSourceName().

Referenced by TEST_F(), and TEST_F().

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

◆ createDefaultDataSourceWithSchemaForVarBuffers()

DataSourcePtr NES::createDefaultDataSourceWithSchemaForVarBuffers ( const SchemaPtr schema,
const Runtime::BufferManagerPtr bufferManager,
const Runtime::QueryManagerPtr queryManager,
uint64_t  numberOfBuffersToProduce,
uint64_t  gatheringInterval,
OperatorId  operatorId,
OriginId  originId,
StatisticId  statisticId,
size_t  numSourceLocalBuffers,
const std::string &  physicalSourceName,
const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &  successors 
)

function to create a test source which produces tuples with value one in N buffers of based on a schema

Parameters
schemaschema of the data source
bufferManagerpointer to the buffer manager
queryManagerpointer to the query manager
numberOfBuffersToProducethe number of buffers to be produced by the source
gatheringIntervalthe interval at which new buffers are produced
operatorIdcurrent operator id
originIdrepresents the identifier of the upstream operator that represents the origin of the input stream
statisticIdrepresents the unique identifier of components that we can track statistics for
numSourceLocalBuffersthe number of buffers allocated to a source
physicalSourceNamethe name and unique identifier of a physical source
successorsthe subsequent operators in the pipeline to which the data is pushed
Returns
a data source pointer

References NES::TestUtils::numberOfBuffersToProduce(), and NES::TestUtils::physicalSourceName().

Here is the call graph for this function:

◆ createDefaultSourceWithoutSchemaForOneBuffer()

DataSourcePtr NES::createDefaultSourceWithoutSchemaForOneBuffer ( const Runtime::BufferManagerPtr bufferManager,
const Runtime::QueryManagerPtr queryManager,
OperatorId  operatorId,
OriginId  originId,
StatisticId  statisticId,
size_t  numSourceLocalBuffers,
const std::string &  physicalSourceName,
const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &  successors 
)

function to create a test source which produces 10 tuples with value one without a schema

Parameters
bufferManagerpointer to the buffer manager
queryManagerpointer to the query manager
operatorIdcurrent operator id
originIdrepresents the identifier of the upstream operator that represents the origin of the input stream
statisticIdrepresents the unique identifier of components that we can track statistics for
numSourceLocalBuffersthe number of buffers allocated to a source
successorsthe subsequent operators in the pipeline to which the data is pushed
Returns
a data source pointer

bufferCnt

bufferCnt

References NES::Schema::create(), NES::DataTypeFactory::createUInt64(), and NES::TestUtils::physicalSourceName().

Referenced by TEST_F().

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

◆ createField() [1/2]

AttributeFieldPtr NES::createField ( const std::string &  name,
BasicType  type 
)

References NES::AttributeField::create(), NES::DataTypeFactory::createType(), and type.

Referenced by NES::FilterPushDownTest::SetUp(), NES::UnionDeploymentTest::SetUp(), NES::Spatial::TEST_F(), TEST_F(), TEST_F(), NES::RequestProcessor::TEST_F(), TEST_P(), and NES::Runtime::Execution::TEST_P().

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

◆ createField() [2/2]

AttributeFieldPtr NES::createField ( const std::string &  name,
DataTypePtr  type 
)

References NES::AttributeField::create(), and type.

Here is the call graph for this function:

◆ createJSONFileSink() [1/2]

DataSinkPtr NES::createJSONFileSink ( const SchemaPtr schema,
SharedQueryId  sharedQueryId,
DecomposedQueryId  decomposedQueryId,
const Runtime::NodeEnginePtr nodeEngine,
uint32_t  activeProducers,
const std::string &  filePath,
bool  append,
uint64_t  numberOfOrigins 
)

◆ createJSONFileSink() [2/2]

DataSinkPtr NES::createJSONFileSink ( const SchemaPtr schema,
SharedQueryId  sharedQueryId,
DecomposedQueryId  decomposedQueryId,
DecomposedQueryPlanVersion  decomposedQueryVersion,
const Runtime::NodeEnginePtr nodeEngine,
uint32_t  numOfProducers,
const std::string &  filePath,
bool  append,
uint64_t  numberOfOrigins = 1 
)

create a JSON test sink with a schema int

Parameters
schemaof sink
bufferManager
pathto file
boolindicating if data is appended (true) or overwritten (false)
numberOfOriginsnumber of origins of a given query
Returns
a data sink pointer

◆ createLambdaSource()

DataSourcePtr NES::createLambdaSource ( const SchemaPtr schema,
const Runtime::BufferManagerPtr bufferManager,
const Runtime::QueryManagerPtr queryManager,
uint64_t  numberOfBuffersToProduce,
uint64_t  gatheringValue,
std::function< void(NES::Runtime::TupleBuffer &buffer, uint64_t numberOfTuplesToProduce)> &&  generationFunction,
OperatorId  operatorId,
OriginId  originId,
StatisticId  statisticId,
size_t  numSourceLocalBuffers,
GatheringMode  gatheringMode,
uint64_t  sourceAffinity,
uint64_t  taskQueueId,
const std::string &  physicalSourceName,
const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &  successors 
)

function to create a lambda source

Parameters
schemaschema of the data source
bufferManagerpointer to the buffer manager
queryManagerpointer to the query manager
numberOfBuffersToProducethe number of buffers to be produced by the source
gatheringValuehow many tuples to collect per interval
generationFunctionthat creates with which the data is created
operatorIdcurrent operator id
originIdrepresents the identifier of the upstream operator that represents the origin of the input stream
statisticIdrepresents the unique identifier of components that we can track statistics for
numSourceLocalBuffersthe number of buffers allocated to a source
gatheringModethe gathering mode (INTERVAL_MODE, INGESTION_RATE_MODE, or ADAPTIVE_MODE)
sourceAffinitythe subsequent operators in the pipeline to which the data is pushed
taskQueueIdthe ID of the queue to which the task is pushed
physicalSourceNamethe name and unique identifier of a physical source
successorsthe subsequent operators in the pipeline to which the data is pushed
Returns
a data source pointer

References backward::details::move(), NES::TestUtils::numberOfBuffersToProduce(), and NES::TestUtils::physicalSourceName().

Here is the call graph for this function:

◆ createMemorySource()

DataSourcePtr NES::createMemorySource ( const SchemaPtr schema,
const Runtime::BufferManagerPtr bufferManager,
const Runtime::QueryManagerPtr queryManager,
const std::shared_ptr< uint8_t > &  memoryArea,
size_t  memoryAreaSize,
uint64_t  numBuffersToProcess,
uint64_t  gatheringValue,
OperatorId  operatorId,
OriginId  originId,
StatisticId  statisticId,
size_t  numSourceLocalBuffers,
GatheringMode  gatheringMode,
uint64_t  sourceAffinity,
uint64_t  taskQueueId,
const std::string &  physicalSourceName,
const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &  successors 
)

function which creates a memory source

Parameters
schemathe schema of the source
bufferManagerpointer to the buffer manager
queryManagerpointer to the query manager
memoryAreathe memory buffer to scan and create buffers out of
memoryAreaSizethe size of the memory buffer
numBuffersToProcess
gatheringValuehow many tuples to collect per interval
operatorIdcurrent operator id
originIdrepresents the identifier of the upstream operator that represents the origin of the input stream
statisticIdrepresents the unique identifier of components that we can track statistics for
numSourceLocalBuffersthe number of buffers allocated to a source
gatheringModethe gathering mode (INTERVAL_MODE, INGESTION_RATE_MODE, or ADAPTIVE_MODE)
sourceAffinitythe subsequent operators in the pipeline to which the data is pushed
taskQueueIdthe ID of the queue to which the task is pushed
physicalSourceNamethe name and unique identifier of a physical source
successorsthe subsequent operators in the pipeline to which the data is pushed
Returns
a data source pointer

References NES::TestUtils::physicalSourceName().

Here is the call graph for this function:

◆ createMigrateFileSink()

DataSinkPtr NES::createMigrateFileSink ( SharedQueryId  sharedQueryId,
DecomposedQueryId  decomposedQueryId,
DecomposedQueryPlanVersion  decomposedQueryVersion,
Runtime::NodeEnginePtr  nodeEngine,
uint32_t  numOfProducers,
const std::string &  filePath,
bool  append,
uint64_t  numberOfOrigins = 1 
)

create a migrate test sink

Parameters
numberof producers
pathto file
boolindicating if data is appended (true) or overwritten (false)
numberOfOriginsnumber of origins of a given query
Returns
a data sink pointer

Referenced by TEST_F().

Here is the caller graph for this function:

◆ createMockedEngine()

template<typename MockedNodeEngine >
std::shared_ptr<MockedNodeEngine> NES::createMockedEngine ( const std::string &  hostname,
uint16_t  port,
uint64_t  bufferSize = 8192,
uint64_t  numBuffers = 1024 
)

References bufferSize.

◆ createMonitoringSink()

DataSinkPtr NES::createMonitoringSink ( Monitoring::MetricStorePtr  metricStore,
Monitoring::MetricCollectorType  collectorType,
const SchemaPtr schema,
Runtime::NodeEnginePtr  nodeEngine,
uint32_t  numOfProducers,
SharedQueryId  sharedQueryId,
DecomposedQueryId  decomposedQueryId,
DecomposedQueryPlanVersion  decomposedQueryVersion,
uint64_t  numberOfOrigins = 1 
)

create a monitoring data sink

Parameters
metricStore
nodeEngine
numOfProducers
sharedQueryId
decomposedQueryId
numberOfOrigins
Returns
a data sink pointer

References type.

◆ createMonitoringSource()

DataSourcePtr NES::createMonitoringSource ( Monitoring::MetricCollectorPtr  metricCollector,
std::chrono::milliseconds  waitTime,
Runtime::BufferManagerPtr  bufferManager,
Runtime::QueryManagerPtr  queryManager,
OperatorId  operatorId,
OriginId  originId,
StatisticId  statisticId,
size_t  numSourceLocalBuffers,
const std::string &  physicalSourceName,
std::vector< Runtime::Execution::SuccessorExecutablePipeline successors 
)

function to create a monitoring source

Parameters
metricCollectora pointer to a NES::Monitoring::MetricCollector
waitTimethe amount of time to wait
bufferManagera pointer to the buffer manager
queryManagera pointer to the query manager
operatorIdcurrent operator id
originIdrepresents the identifier of the upstream operator that represents the origin of the input stream
statisticIdrepresents the unique identifier of components that we can track statistics for
numSourceLocalBuffersthe number of buffers allocated to a source
physicalSourceNamethe name and unique identifier of a physical source
successorsthe subsequent operators in the pipeline to which the data is pushed
Returns
a data source pointer

References NES::TestUtils::physicalSourceName().

Here is the call graph for this function:

◆ createNetworkSink()

DataSinkPtr NES::createNetworkSink ( const SchemaPtr schema,
OperatorId  uniqueNetworkSinkDescriptorId,
SharedQueryId  sharedQueryId,
DecomposedQueryId  decomposedQueryId,
DecomposedQueryPlanVersion  decomposedQueryVersion,
const Network::NodeLocation &  nodeLocation,
Network::NesPartition  nesPartition,
const Runtime::NodeEnginePtr nodeEngine,
size_t  numOfProducers,
std::chrono::milliseconds  waitTime,
DecomposedQueryPlanVersion  version,
uint64_t  numberOfOrigins = 1,
uint8_t  retryTimes = 5 
)

create a network data sink

Parameters
schema
networkManager
nodeLocation
nesPartition
waitTime
retryTimes
versionthe initial version number of the network sink
Returns
a data sink pointer

◆ createNetworkSource()

DataSourcePtr NES::createNetworkSource ( const SchemaPtr schema,
const Runtime::BufferManagerPtr bufferManager,
const Runtime::QueryManagerPtr queryManager,
const Network::NetworkManagerPtr &  networkManager,
Network::NesPartition  nesPartition,
Network::NodeLocation  sinkLocation,
size_t  numSourceLocalBuffers,
std::chrono::milliseconds  waitTime,
uint8_t  retryTimes,
const std::string &  physicalSourceName,
DecomposedQueryPlanVersion  version,
const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &  successors,
OperatorId  uniqueNetworkSourceId 
)

function to create a network source

Parameters
schemathe schema of the source
bufferManagera pointer to the buffer manager
queryManagera pointer to the query manager
networkManagera pointer to the network manager
nesPartitionthe unique identifier of the network source that consumes the input buffers
sinkLocationlocation of the sink that writes to the network source
numSourceLocalBuffersthe number of buffers allocated to a source
waitTimethe amount of time the networkSource is supposed to wait for a reply
retryTimesthe number of times the networkSource resends a message, if it does not receive a reply within waitTime
physicalSourceNamethe name and unique identifier of a physical source
versionthe version number of the source at its time of creation
successorsthe subsequent operators in the pipeline to which the data is pushed
uniqueNetworkSourceIda unique identifier of the network source which does not change over its lifetime
Returns
a data source pointer

References NES::TestUtils::physicalSourceName().

Here is the call graph for this function:

◆ createNullOutputSink()

DataSinkPtr NES::createNullOutputSink ( SharedQueryId  sharedQueryId,
DecomposedQueryId  decomposedQueryId,
DecomposedQueryPlanVersion  decomposedQueryVersion,
const Runtime::NodeEnginePtr nodeEngine,
uint32_t  activeProducers,
uint64_t  numberOfOrigins = 1 
)

create a print that does not output something

Returns
a data sink pointer

Referenced by TEST_F().

Here is the caller graph for this function:

◆ createRandomStatisticInfo()

std::vector<Statistic::StatisticInfo> NES::createRandomStatisticInfo ( const uint64_t  numberOfInfos)

References Attribute(), NES::API::EventTime(), and NES::API::Milliseconds().

Referenced by TEST_F().

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

◆ createRandomStatisticKey()

std::vector<Statistic::StatisticKey> NES::createRandomStatisticKey ( const uint64_t  numberOfKeys)

Referenced by TEST_F().

Here is the caller graph for this function:

◆ createSenseSource()

DataSourcePtr NES::createSenseSource ( const SchemaPtr schema,
const Runtime::BufferManagerPtr bufferManager,
const Runtime::QueryManagerPtr queryManager,
const std::string &  udfs,
OperatorId  operatorId,
OriginId  originId,
StatisticId  statisticId,
size_t  numSourceLocalBuffers,
const std::string &  physicalSourceName,
const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &  successors 
)

function to create a sense source

Parameters
schemaschema of data source
bufferManagerpointer to the buffer manager
queryManagerpointer to the query manager
udfsof the file
operatorIdcurrent operator id
originIdrepresents the identifier of the upstream operator that represents the origin of the input stream
statisticIdrepresents the unique identifier of components that we can track statistics for
numSourceLocalBuffersthe number of buffers allocated to a source
physicalSourceNamethe name and unique identifier of a physical source
successorsthe subsequent operators in the pipeline to which the data is pushed
Returns
a data source pointer

References NES::TestUtils::physicalSourceName().

Here is the call graph for this function:

◆ createSimpleInputStream()

PhysicalSourceTypePtr NES::createSimpleInputStream ( std::string  logicalSourceName,
std::string  physicalSourceName,
uint64_t  numberOfBuffers,
uint64_t  numberOfKeys = 1 
)

References NES::Runtime::TupleBuffer::getBuffer(), NES::TestUtils::logicalSourceName(), NES::TestUtils::physicalSourceName(), and NES::Runtime::TupleBuffer::setNumberOfTuples().

Referenced by TEST_F().

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

◆ createStatisticSink()

DataSinkPtr NES::createStatisticSink ( const SchemaPtr schema,
const Runtime::NodeEnginePtr nodeEngine,
size_t  numOfProducers,
SharedQueryId  sharedQueryId,
DecomposedQueryId  decomposedQueryId,
DecomposedQueryPlanVersion  decomposedQueryIdVersion,
uint64_t  numberOfOrigins,
Statistic::StatisticSynopsisType  sinkFormatType,
Statistic::StatisticDataCodec  sinkDataCodec 
)

Creates a StatisticSink.

Parameters
schema
nodeEngine
numOfProducers
sharedQueryId
decomposedQueryId
numberOfOrigins
sinkFormatType
sinkDataCodec
Returns
DataSinkPtr

References NES::Statistic::StatisticFormatFactory::createFromSchema().

Referenced by TEST_P().

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

◆ createTCPSource()

DataSourcePtr NES::createTCPSource ( const SchemaPtr schema,
const Runtime::BufferManagerPtr bufferManager,
const Runtime::QueryManagerPtr queryManager,
const TCPSourceTypePtr &  tcpSourceType,
OperatorId  operatorId,
OriginId  originId,
StatisticId  statisticId,
size_t  numSourceLocalBuffers,
const std::string &  physicalSourceName,
const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &  successors 
)

function to create a TCP source

Parameters
schemaof this data source
bufferManagerThe BufferManager is responsible for: 1. Pooled Buffers: preallocated fixed-size buffers of memory that must be reference counted 2. Unpooled Buffers: variable sized buffers that are allocated on-the-fly. They are also subject to reference counting.
queryManagercomes with functionality to manage the queries
tcpSourceTypesee TCPSourceType.hpp for information on this object
operatorIdrepresents a locally running query execution plan
originIdrepresents an origin
statisticIdrepresents the unique identifier of components that we can track statistics for
numSourceLocalBuffersnumber of local source buffers
physicalSourceNamethe name and unique identifier of a physical source
successorsexecutable operators coming after this source
Returns
a data source pointer

References INTERVAL_MODE, and NES::TestUtils::physicalSourceName().

Referenced by TEST_F().

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

◆ createZmqSource()

DataSourcePtr NES::createZmqSource ( const SchemaPtr schema,
const Runtime::BufferManagerPtr bufferManager,
const Runtime::QueryManagerPtr queryManager,
const std::string &  host,
uint16_t  port,
OperatorId  operatorId,
OriginId  originId,
StatisticId  statisticId,
size_t  numSourceLocalBuffers,
const std::string &  physicalSourceName,
const std::vector< Runtime::Execution::SuccessorExecutablePipeline > &  successors 
)

function to create an empty zmq source

Parameters
schemaschema of data source
bufferManagerpointer to the buffer manager
queryManagerpointer to the query manager
hostthe name of the host
portthe port through which to connect to the ZMQSource(ZMQSource)
operatorIdcurrent operator id
originIdrepresents the identifier of the upstream operator that represents the origin of the input stream
statisticIdrepresents the unique identifier of components that we can track statistics for
numSourceLocalBuffersthe number of buffers allocated to a source
physicalSourceNamethe name and unique identifier of a physical source
successorsthe subsequent operators in the pipeline to which the data is pushed
Returns
a data source pointer

References host, INTERVAL_MODE, and NES::TestUtils::physicalSourceName().

Referenced by TEST_F().

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

◆ eq() [1/2]

template<std::size_t s, typename J >
auto NES::eq ( ExecutableTypes::Array< char, s > const &  l,
r 
) -> bool

Utility for checking equality.

Referenced by TEST_F().

Here is the caller graph for this function:

◆ eq() [2/2]

template<typename T , std::size_t s>
auto NES::eq ( ExecutableTypes::Array< T, s > const &  l,
std::vector< T > &&  r 
) -> bool

◆ EXP() [1/2]

ExpressionNodePtr NES::EXP ( const ExpressionNodePtr exp)

Referenced by EXP().

Here is the caller graph for this function:

◆ EXP() [2/2]

ExpressionNodePtr NES::EXP ( ExpressionItem  exp)

References EXP(), and NES::ExpressionItem::getExpressionNode().

Here is the call graph for this function:

◆ FLOOR() [1/2]

ExpressionNodePtr NES::FLOOR ( const ExpressionNodePtr exp)

Referenced by FLOOR().

Here is the caller graph for this function:

◆ FLOOR() [2/2]

ExpressionNodePtr NES::FLOOR ( ExpressionItem  exp)

References FLOOR(), and NES::ExpressionItem::getExpressionNode().

Here is the call graph for this function:

◆ getBufferNoBlocking()

std::optional<TupleBuffer> NES::getBufferNoBlocking ( Runtime::BufferManager bufferManager)

References NES::Runtime::BufferManager::getBufferNoBlocking(), and NES_WARNING.

Here is the call graph for this function:

◆ getBufferTimeout()

TupleBuffer NES::getBufferTimeout ( const std::shared_ptr< Runtime::BufferManager > &  bufferManager,
std::chrono::milliseconds &&  timeout 
)

References timeout.

◆ getExpressionNodePtr()

ExpressionNodePtr NES::getExpressionNodePtr ( ExpressionItem expressionItem)

References NES::ExpressionItem::getExpressionNode().

Here is the call graph for this function:

◆ getLogLevel()

constexpr uint64_t NES::getLogLevel ( const LogLevel  value)
constexpr

GetLogLevel returns the integer LogLevel value for an specific LogLevel value.

Parameters
valueLogLevel
Returns
integer between 1 and 7 to identify the log level.

References magic_enum::detail::value().

Referenced by NES::Compiler::CPPCompiler::compile(), NES::Runtime::detail::nesErrorHandler(), NES::Runtime::detail::nesTerminateHandler(), NES::Runtime::detail::nesUnexpectedException(), and NES::Exceptions::RuntimeException::RuntimeException().

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

◆ getLogName()

std::basic_string_view< char > NES::getLogName ( LogLevel  value)

getLogName returns the string representation LogLevel value for a specific LogLevel value.

Parameters
valueLogLevel
Returns
string of value

References magic_enum::enum_name(), and magic_enum::detail::value().

Here is the call graph for this function:

◆ getTimestamp()

Timestamp NES::getTimestamp ( )

Referenced by NES::Spatial::TEST_F(), and TEST_F().

Here is the caller graph for this function:

◆ getWaypointsFromCsv()

std::vector< NES::Spatial::DataTypes::Experimental::Waypoint > NES::getWaypointsFromCsv ( const std::string &  csvPath,
Timestamp  startTime 
)

read mobile device path waypoints from csv

Parameters
csvPathpath to the csv with lines in the format <latitude, longitude, offsetFromStartTime>
startTimethe real or simulated start time of the LocationProvider
Returns
a vector of waypoints with timestamps calculated by adding startTime to the offset obtained from csv

References NES_DEBUG, NES_TRACE, and time.

Referenced by NES::Spatial::TEST_F(), and TEST_F().

Here is the caller graph for this function:

◆ INSTANTIATE_TEST_CASE_P() [1/6]

NES::INSTANTIATE_TEST_CASE_P ( AsyncTaskExecutorMTTest  ,
AsyncTaskExecutorTest  ,
::testing::Values(1, 4, 8)   
)

◆ INSTANTIATE_TEST_CASE_P() [2/6]

NES::INSTANTIATE_TEST_CASE_P ( testDefaultStatisticStore  ,
StatisticsIntegrationTest  ,
::testing::Combine(::testing::Values(1, 2, 3), ::testing::Values(1, 5, 10), ::testing::Values(1, 10, 1000), ::testing::Values(Statistic::Cardinality::create(Statistic::Over(StatisticsIntegrationTest::fieldNameToTrack)), Statistic::Selectivity::create(Statistic::Over(StatisticsIntegrationTest::fieldNameToTrack))))  ,
[] (const testing::TestParamInfo< StatisticsIntegrationTest::ParamType > &info) { return std::string(std::to_string(std::get< 0 >(info.param))+"Workers_"+std::to_string(std::get< 1 >(info.param))+"NumberOfBuffers_"+std::to_string(std::get< 2 >(info.param))+"WindowSize_"+std::to_string(info.index)+"Metric");}   
)

◆ INSTANTIATE_TEST_CASE_P() [3/6]

NES::INSTANTIATE_TEST_CASE_P ( TestInputs  ,
StatisticIdsExtractorTest  ,
::testing::Values(1, 2, 3, 4, 8)  ,
[] (const testing::TestParamInfo< StatisticIdsExtractorTest::ParamType > &info) { return std::to_string(info.param)+"_PhysicalSources";}   
)

◆ INSTANTIATE_TEST_CASE_P() [4/6]

NES::INSTANTIATE_TEST_CASE_P ( testJoinQueriesMultiThreaded  ,
JoinMultiThreadedTest  ,
::testing::Combine(ALL_JOIN_STRATEGIES, ALL_WINDOW_STRATEGIES, ::testing::Values(1, 2, 3, 4, 8))  ,
[] (const testing::TestParamInfo< JoinMultiThreadedTest::ParamType > &info) { return std::string(magic_enum::enum_name(std::get< 0 >(info.param)))+"_"+std::string(magic_enum::enum_name(std::get< 1 >(info.param)))+"_"+std::to_string(std::get< 2 >(info.param))+"Workerthreads";}   
)

References magic_enum::enum_name().

Here is the call graph for this function:

◆ INSTANTIATE_TEST_CASE_P() [5/6]

NES::INSTANTIATE_TEST_CASE_P ( testQueriesMultiThreaded  ,
MultiThreadedTest  ,
::testing::Values(1, 2, 3, 4, 8)  ,
[] (const testing::TestParamInfo< MultiThreadedTest::ParamType > &info) { return std::to_string(info.param)+"Workerthreads";}   
)

◆ INSTANTIATE_TEST_CASE_P() [6/6]

NES::INSTANTIATE_TEST_CASE_P ( testStatisticSink  ,
StatisticSinkTest  ,
::testing::Combine(::testing::Values(1, 2, 10, 5000), ::testing::ValuesIn(magic_enum::enum_values< Statistic::StatisticDataCodec >()))  ,
[] (const testing::TestParamInfo< StatisticSinkTest::ParamType > &info) { const auto param=info.param;return std::to_string(std::get< 0 >(param))+"_Statistics"+std::string(magic_enum::enum_name(std::get< 1 >(param)));}   
)

References magic_enum::enum_name().

Here is the call graph for this function:

◆ LN() [1/2]

ExpressionNodePtr NES::LN ( const ExpressionNodePtr exp)

References NES::DataTypeFactory::createUndefined().

Referenced by LN().

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

◆ LN() [2/2]

References NES::ExpressionItem::getExpressionNode(), and LN().

Here is the call graph for this function:

◆ LOG10() [1/2]

ExpressionNodePtr NES::LOG10 ( const ExpressionNodePtr exp)

References NES::DataTypeFactory::createUndefined().

Referenced by LOG10().

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

◆ LOG10() [2/2]

ExpressionNodePtr NES::LOG10 ( ExpressionItem  exp)

References NES::ExpressionItem::getExpressionNode(), and LOG10().

Here is the call graph for this function:

◆ LOG2() [1/2]

ExpressionNodePtr NES::LOG2 ( const ExpressionNodePtr exp)

References NES::DataTypeFactory::createUndefined().

Referenced by LOG2().

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

◆ LOG2() [2/2]

ExpressionNodePtr NES::LOG2 ( ExpressionItem  exp)

References NES::ExpressionItem::getExpressionNode(), and LOG2().

Here is the call graph for this function:

◆ MOD() [1/4]

ExpressionNodePtr NES::MOD ( ExpressionItem  leftExp,
ExpressionItem  rightExp 
)

References NES::ExpressionItem::getExpressionNode().

Here is the call graph for this function:

◆ MOD() [2/4]

ExpressionNodePtr NES::MOD ( ExpressionItem  leftExp,
ExpressionNodePtr  rightExp 
)

References NES::ExpressionItem::getExpressionNode(), and backward::details::move().

Here is the call graph for this function:

◆ MOD() [3/4]

ExpressionNodePtr NES::MOD ( ExpressionNodePtr  leftExp,
ExpressionItem  rightExp 
)

References NES::ExpressionItem::getExpressionNode(), and backward::details::move().

Here is the call graph for this function:

◆ MOD() [4/4]

ExpressionNodePtr NES::MOD ( ExpressionNodePtr  leftExp,
ExpressionNodePtr  rightExp 
)

References backward::details::move().

Referenced by TEST_F(), and TEST_F().

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

◆ operator!() [1/2]

ExpressionNodePtr NES::operator! ( ExpressionItem  leftExp)

References NES::ExpressionItem::getExpressionNode().

Here is the call graph for this function:

◆ operator!() [2/2]

ExpressionNodePtr NES::operator! ( ExpressionNodePtr  exp)

References backward::details::move().

Here is the call graph for this function:

◆ operator!=() [1/2]

References backward::details::move().

Referenced by __attribute__(), and cuckoohash_map< Key, T, Hash, KeyEqual, Allocator, SLOT_PER_BUCKET >::locked_table::iterator::operator!=().

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

◆ operator!=() [2/2]

template<typename LHS , typename RHS , typename = std::enable_if_t<expression_generator_v<LHS, RHS>>>
auto NES::operator!= ( LHS &&  lhs,
RHS &&  rhs 
) -> ExpressionNodePtr
inline

References toExpressionNodePtr().

Here is the call graph for this function:

◆ operator%() [1/5]

size_t NES::operator% ( const WorkerThreadId  id,
const size_t  containerSize 
)
inline

Special overloads for commonly occuring patterns.

◆ operator%() [2/5]

ExpressionNodePtr NES::operator% ( ExpressionItem  leftExp,
ExpressionItem  rightExp 
)

References NES::ExpressionItem::getExpressionNode().

Here is the call graph for this function:

◆ operator%() [3/5]

ExpressionNodePtr NES::operator% ( ExpressionItem  leftExp,
ExpressionNodePtr  rightExp 
)

References NES::ExpressionItem::getExpressionNode(), and backward::details::move().

Here is the call graph for this function:

◆ operator%() [4/5]

ExpressionNodePtr NES::operator% ( ExpressionNodePtr  leftExp,
ExpressionItem  rightExp 
)

References NES::ExpressionItem::getExpressionNode(), and backward::details::move().

Here is the call graph for this function:

◆ operator%() [5/5]

ExpressionNodePtr NES::operator% ( ExpressionNodePtr  leftExp,
ExpressionNodePtr  rightExp 
)

References backward::details::move().

Here is the call graph for this function:

◆ operator&&() [1/2]

ExpressionNodePtr NES::operator&& ( ExpressionNodePtr  leftExp,
ExpressionNodePtr  rightExp 
)

Defines common logical operations between expression nodes.

References backward::details::move().

Here is the call graph for this function:

◆ operator&&() [2/2]

template<typename LHS , typename RHS , typename = std::enable_if_t<expression_generator_v<LHS, RHS>>>
auto NES::operator&& ( LHS &&  lhs,
RHS &&  rhs 
) -> ExpressionNodePtr
inline

Operator which accepts parameters as long as they can be used to construct an ExpressionItem. If both the LHS and RHS are ExpressionNodePtrs, this overload is not used.

@dev std::shared_ptr has got a non-explicit constructor for nullptr. The following construct is used to avoid implicit conversion of 0 to shared_ptr and to convert to an ExpressionItem instead by providing a templated function which accepts all (single) arguments that can be used to construct an ExpressionItem.

Template Parameters
LHSthe type of the left-hand-side of the operator.
RHSthe type of the right-hand-side of the operator.
Parameters
lhsthe value of the left-hand-side of the operator.
rhsthe value of the right-hand-side of the operator.
Returns
ExpressionNodePtr which reflects the operator.

References toExpressionNodePtr().

Here is the call graph for this function:

◆ operator*() [1/4]

ExpressionNodePtr NES::operator* ( ExpressionItem  leftExp,
ExpressionItem  rightExp 
)

References NES::ExpressionItem::getExpressionNode().

Here is the call graph for this function:

◆ operator*() [2/4]

ExpressionNodePtr NES::operator* ( ExpressionItem  leftExp,
ExpressionNodePtr  rightExp 
)

References NES::ExpressionItem::getExpressionNode(), and backward::details::move().

Here is the call graph for this function:

◆ operator*() [3/4]

ExpressionNodePtr NES::operator* ( ExpressionNodePtr  leftExp,
ExpressionItem  rightExp 
)

References NES::ExpressionItem::getExpressionNode(), and backward::details::move().

Here is the call graph for this function:

◆ operator*() [4/4]

ExpressionNodePtr NES::operator* ( ExpressionNodePtr  leftExp,
ExpressionNodePtr  rightExp 
)

References backward::details::move().

Here is the call graph for this function:

◆ operator+() [1/4]

ExpressionNodePtr NES::operator+ ( ExpressionItem  leftExp,
ExpressionItem  rightExp 
)

Defines common binary arithmetical operations between two expression items.

References NES::ExpressionItem::getExpressionNode().

Here is the call graph for this function:

◆ operator+() [2/4]

ExpressionNodePtr NES::operator+ ( ExpressionItem  leftExp,
ExpressionNodePtr  rightExp 
)

Defines common binary arithmetical operations between a constant and an expression node.

References NES::ExpressionItem::getExpressionNode(), and backward::details::move().

Here is the call graph for this function:

◆ operator+() [3/4]

ExpressionNodePtr NES::operator+ ( ExpressionNodePtr  leftExp,
ExpressionItem  rightExp 
)

Defines common binary arithmetical operations between an expression node and a constant.

References NES::ExpressionItem::getExpressionNode(), and backward::details::move().

Here is the call graph for this function:

◆ operator+() [4/4]

ExpressionNodePtr NES::operator+ ( ExpressionNodePtr  leftExp,
ExpressionNodePtr  rightExp 
)

References backward::details::move().

Here is the call graph for this function:

◆ operator++() [1/4]

ExpressionNodePtr NES::operator++ ( ExpressionItem  exp)

References NES::ExpressionItem::getExpressionNode().

Here is the call graph for this function:

◆ operator++() [2/4]

ExpressionNodePtr NES::operator++ ( ExpressionItem  exp,
int   
)

References NES::ExpressionItem::getExpressionNode().

Here is the call graph for this function:

◆ operator++() [3/4]

ExpressionNodePtr NES::operator++ ( ExpressionNodePtr  exp)

References NES::DataTypeFactory::createBasicValue(), NES::DataTypeFactory::createUInt16(), and backward::details::move().

Referenced by cuckoohash_map< Key, T, Hash, KeyEqual, Allocator, SLOT_PER_BUCKET >::locked_table::const_iterator::const_iterator(), and cuckoohash_map< Key, T, Hash, KeyEqual, Allocator, SLOT_PER_BUCKET >::locked_table::iterator::operator++().

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

◆ operator++() [4/4]

ExpressionNodePtr NES::operator++ ( ExpressionNodePtr  exp,
int  value 
)

References NES::DataTypeFactory::createBasicValue(), NES::DataTypeFactory::createUInt16(), and backward::details::move().

Here is the call graph for this function:

◆ operator-() [1/4]

ExpressionNodePtr NES::operator- ( ExpressionItem  leftExp,
ExpressionItem  rightExp 
)

References NES::ExpressionItem::getExpressionNode().

Here is the call graph for this function:

◆ operator-() [2/4]

ExpressionNodePtr NES::operator- ( ExpressionItem  leftExp,
ExpressionNodePtr  rightExp 
)

References NES::ExpressionItem::getExpressionNode(), and backward::details::move().

Here is the call graph for this function:

◆ operator-() [3/4]

ExpressionNodePtr NES::operator- ( ExpressionNodePtr  leftExp,
ExpressionItem  rightExp 
)

References NES::ExpressionItem::getExpressionNode(), and backward::details::move().

Here is the call graph for this function:

◆ operator-() [4/4]

ExpressionNodePtr NES::operator- ( ExpressionNodePtr  leftExp,
ExpressionNodePtr  rightExp 
)

Defines common arithmetical operations between expression nodes.

References backward::details::move().

Here is the call graph for this function:

◆ operator--() [1/4]

ExpressionNodePtr NES::operator-- ( ExpressionItem  exp)

References NES::ExpressionItem::getExpressionNode().

Here is the call graph for this function:

◆ operator--() [2/4]

ExpressionNodePtr NES::operator-- ( ExpressionItem  exp,
int   
)

References NES::ExpressionItem::getExpressionNode().

Here is the call graph for this function:

◆ operator--() [3/4]

ExpressionNodePtr NES::operator-- ( ExpressionNodePtr  exp)

References NES::DataTypeFactory::createBasicValue(), NES::DataTypeFactory::createUInt16(), and backward::details::move().

Referenced by cuckoohash_map< Key, T, Hash, KeyEqual, Allocator, SLOT_PER_BUCKET >::locked_table::iterator::operator--().

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

◆ operator--() [4/4]

ExpressionNodePtr NES::operator-- ( ExpressionNodePtr  exp,
int  value 
)

References NES::DataTypeFactory::createBasicValue(), NES::DataTypeFactory::createUInt16(), and backward::details::move().

Here is the call graph for this function:

◆ operator/() [1/4]

ExpressionNodePtr NES::operator/ ( ExpressionItem  leftExp,
ExpressionItem  rightExp 
)

References NES::ExpressionItem::getExpressionNode().

Here is the call graph for this function:

◆ operator/() [2/4]

ExpressionNodePtr NES::operator/ ( ExpressionItem  leftExp,
ExpressionNodePtr  rightExp 
)

References NES::ExpressionItem::getExpressionNode(), and backward::details::move().

Here is the call graph for this function:

◆ operator/() [3/4]

ExpressionNodePtr NES::operator/ ( ExpressionNodePtr  leftExp,
ExpressionItem  rightExp 
)

References NES::ExpressionItem::getExpressionNode(), and backward::details::move().

Here is the call graph for this function:

◆ operator/() [4/4]

ExpressionNodePtr NES::operator/ ( ExpressionNodePtr  leftExp,
ExpressionNodePtr  rightExp 
)

References backward::details::move().

Here is the call graph for this function:

◆ operator<() [1/2]

ExpressionNodePtr NES::operator< ( ExpressionNodePtr  leftExp,
ExpressionNodePtr  rightExp 
)

References backward::details::move().

Here is the call graph for this function:

◆ operator<() [2/2]

template<typename LHS , typename RHS , typename = std::enable_if_t<expression_generator_v<LHS, RHS>>>
auto NES::operator< ( LHS &&  lhs,
RHS &&  rhs 
) -> ExpressionNodePtr
inline

References toExpressionNodePtr().

Here is the call graph for this function:

◆ operator<<() [1/3]

std::ostream& NES::operator<< ( std::ostream &  os,
const KeyedResultRecord record 
)

◆ operator<<() [2/3]

std::ostream& NES::operator<< ( std::ostream &  os,
const NodePtr node 
)

◆ operator<<() [3/3]

std::ostream& NES::operator<< ( std::ostream &  os,
const NonKeyedResultRecord record 
)

◆ operator<=() [1/2]

ExpressionNodePtr NES::operator<= ( ExpressionNodePtr  leftExp,
ExpressionNodePtr  rightExp 
)

References backward::details::move().

Here is the call graph for this function:

◆ operator<=() [2/2]

template<typename LHS , typename RHS , typename = std::enable_if_t<expression_generator_v<LHS, RHS>>>
auto NES::operator<= ( LHS &&  lhs,
RHS &&  rhs 
) -> ExpressionNodePtr
inline

References toExpressionNodePtr().

Here is the call graph for this function:

◆ operator==() [1/2]

ExpressionNodePtr NES::operator== ( ExpressionNodePtr  leftExp,
ExpressionNodePtr  rightExp 
)

References backward::details::move().

Referenced by __attribute__(), cuckoohash_map< Key, T, Hash, KeyEqual, Allocator, SLOT_PER_BUCKET >::locked_table::const_iterator::operator!=(), cuckoohash_map< Key, T, Hash, KeyEqual, Allocator, SLOT_PER_BUCKET >::locked_table::iterator::operator==(), TEST_F(), NES::Runtime::Execution::TEST_F(), TEST_P(), and NES::Runtime::Execution::TEST_P().

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

◆ operator==() [2/2]

template<typename LHS , typename RHS , typename = std::enable_if_t<expression_generator_v<LHS, RHS>>>
auto NES::operator== ( LHS &&  lhs,
RHS &&  rhs 
) -> ExpressionNodePtr
inline

References toExpressionNodePtr().

Here is the call graph for this function:

◆ operator>() [1/2]

ExpressionNodePtr NES::operator> ( ExpressionNodePtr  leftExp,
ExpressionNodePtr  rightExp 
)

References backward::details::move().

Here is the call graph for this function:

◆ operator>() [2/2]

template<typename LHS , typename RHS , typename = std::enable_if_t<expression_generator_v<LHS, RHS>>>
auto NES::operator> ( LHS &&  lhs,
RHS &&  rhs 
) -> ExpressionNodePtr
inline

References toExpressionNodePtr().

Here is the call graph for this function:

◆ operator>=() [1/2]

ExpressionNodePtr NES::operator>= ( ExpressionNodePtr  leftExp,
ExpressionNodePtr  rightExp 
)

References backward::details::move().

Here is the call graph for this function:

◆ operator>=() [2/2]

template<typename LHS , typename RHS , typename = std::enable_if_t<expression_generator_v<LHS, RHS>>>
auto NES::operator>= ( LHS &&  lhs,
RHS &&  rhs 
) -> ExpressionNodePtr
inline

References toExpressionNodePtr().

Here is the call graph for this function:

◆ operator||() [1/2]

ExpressionNodePtr NES::operator|| ( ExpressionNodePtr  leftExp,
ExpressionNodePtr  rightExp 
)

References backward::details::move().

Here is the call graph for this function:

◆ operator||() [2/2]

template<typename LHS , typename RHS , typename = std::enable_if_t<expression_generator_v<LHS, RHS>>>
auto NES::operator|| ( LHS &&  lhs,
RHS &&  rhs 
) -> ExpressionNodePtr
inline

References toExpressionNodePtr().

Here is the call graph for this function:

◆ POWER() [1/4]

ExpressionNodePtr NES::POWER ( ExpressionItem  leftExp,
ExpressionItem  rightExp 
)

References NES::ExpressionItem::getExpressionNode(), and POWER().

Here is the call graph for this function:

◆ POWER() [2/4]

ExpressionNodePtr NES::POWER ( ExpressionItem  leftExp,
ExpressionNodePtr  rightExp 
)

References NES::ExpressionItem::getExpressionNode(), backward::details::move(), and POWER().

Here is the call graph for this function:

◆ POWER() [3/4]

ExpressionNodePtr NES::POWER ( ExpressionNodePtr  leftExp,
ExpressionItem  rightExp 
)

References NES::ExpressionItem::getExpressionNode(), backward::details::move(), and POWER().

Here is the call graph for this function:

◆ POWER() [4/4]

ExpressionNodePtr NES::POWER ( ExpressionNodePtr  leftExp,
ExpressionNodePtr  rightExp 
)

References NES::DataTypeFactory::createUndefined().

Referenced by POWER(), and TEST_F().

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

◆ RADIANS() [1/2]

ExpressionNodePtr NES::RADIANS ( const ExpressionNodePtr exp)

References NES::DataTypeFactory::createUndefined().

Referenced by RADIANS().

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

◆ RADIANS() [2/2]

ExpressionNodePtr NES::RADIANS ( ExpressionItem  exp)

References NES::ExpressionItem::getExpressionNode(), and RADIANS().

Here is the call graph for this function:

◆ ROUND() [1/2]

ExpressionNodePtr NES::ROUND ( const ExpressionNodePtr exp)

Referenced by ROUND().

Here is the caller graph for this function:

◆ ROUND() [2/2]

ExpressionNodePtr NES::ROUND ( ExpressionItem  exp)

References NES::ExpressionItem::getExpressionNode(), and ROUND().

Here is the call graph for this function:

◆ setThreadName()

void NES::setThreadName ( const char *  threadNameFmt,
  ... 
)

Sets the calling thread's name using the supplied formattable string. For example, setThreadName("helper") will set the thread name to "helper", setThreadName("helper-%d", 123) will set the thread name to "helper-123". Be careful that on some operating systems, the length of the thread name is constrained, e.g., on Linux it is 16 characters.

Parameters
threadNameFmtname of the thread with formatting option
...variadic arguments

Referenced by NES::RequestProcessor::AsyncRequestProcessor::AsyncRequestProcessor(), NES::Runtime::AsyncTaskExecutor::AsyncTaskExecutor(), NES::NesCoordinator::NesCoordinator(), NES::Network::ZmqServer::start(), NES::Runtime::ThreadPool::start(), NES::NesCoordinator::startCoordinator(), NES::CoordinatorHealthCheckService::startHealthCheck(), and TEST_F().

Here is the caller graph for this function:

◆ SETUP_COMPILE_TIME_TESTS() [1/8]

NES::SETUP_COMPILE_TIME_TESTS ( eq  ,
operator  = = 
)

◆ SETUP_COMPILE_TIME_TESTS() [2/8]

NES::SETUP_COMPILE_TIME_TESTS ( geq  ,
operator>=   
)

◆ SETUP_COMPILE_TIME_TESTS() [3/8]

NES::SETUP_COMPILE_TIME_TESTS ( gt  ,
operator   
)

◆ SETUP_COMPILE_TIME_TESTS() [4/8]

NES::SETUP_COMPILE_TIME_TESTS ( land  ,
operator&&   
)

◆ SETUP_COMPILE_TIME_TESTS() [5/8]

NES::SETUP_COMPILE_TIME_TESTS ( leq  ,
operator<=   
)

◆ SETUP_COMPILE_TIME_TESTS() [6/8]

NES::SETUP_COMPILE_TIME_TESTS ( lor  ,
operator||   
)

◆ SETUP_COMPILE_TIME_TESTS() [7/8]

NES::SETUP_COMPILE_TIME_TESTS ( lt  )

◆ SETUP_COMPILE_TIME_TESTS() [8/8]

NES::SETUP_COMPILE_TIME_TESTS ( neq  ,
operator!   
)

◆ setupQEP()

auto NES::setupQEP ( const NodeEnginePtr engine,
SharedQueryId  sharedQueryId,
const std::string &  outPath 
)

References createCSVFileSink(), and NES::NESStrongType< T, Tag, invalid, initial >::getRawValue().

Referenced by TEST_F().

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

◆ SIN() [1/2]

ExpressionNodePtr NES::SIN ( const ExpressionNodePtr exp)

References NES::DataTypeFactory::createUndefined().

Referenced by SIN().

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

◆ SIN() [2/2]

ExpressionNodePtr NES::SIN ( ExpressionItem  exp)

References NES::ExpressionItem::getExpressionNode(), and SIN().

Here is the call graph for this function:

◆ sizeUntilSearchToken()

std::pair<bool, size_t> NES::sizeUntilSearchToken ( SPAN_TYPE< const char >  data,
char  token 
)

References data.

◆ SQRT() [1/2]

ExpressionNodePtr NES::SQRT ( const ExpressionNodePtr exp)

Referenced by SQRT().

Here is the caller graph for this function:

◆ SQRT() [2/2]

ExpressionNodePtr NES::SQRT ( ExpressionItem  exp)

References NES::ExpressionItem::getExpressionNode(), and SQRT().

Here is the call graph for this function:

◆ startsWith()

bool NES::startsWith ( const std::string &  fullString,
std::string_view  ending 
)

Referenced by NES::Schema::getIndex().

Here is the caller graph for this function:

◆ TEST() [1/15]

NES::TEST ( UtilFunctionTest  ,
differentMeasurePrecision   
)

Test if sec measures work properly with precision of double.

Returns
Measured runtime is 1.3003 sec with 0.05 sec slack

References NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::getPrintTime(), NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::pause(), NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::snapshot(), and NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::start().

Here is the call graph for this function:

◆ TEST() [2/15]

NES::TEST ( UtilFunctionTest  ,
differentPrintPrecision   
)

Test if print conversions work properly, when set on initialization.

Returns
Measured runtime is 1.3 sec with 0.05 sec slack

References NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::getPrintTime(), NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::pause(), NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::snapshot(), and NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::start().

Here is the call graph for this function:

◆ TEST() [3/15]

NES::TEST ( UtilFunctionTest  ,
differentTimeUnits   
)

Test if sec and millisec measures work properly.

Returns
Measured runtime is 1.3003 sec with 0.05 sec slack

References NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::getPrintTime(), NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::pause(), NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::snapshot(), and NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::start().

Here is the call graph for this function:

◆ TEST() [4/15]

NES::TEST ( UtilFunctionTest  ,
mergeTimers   
)

◆ TEST() [5/15]

NES::TEST ( UtilFunctionTest  ,
replaceNothing   
)

References NES::Util::replaceFirst().

Here is the call graph for this function:

◆ TEST() [6/15]

NES::TEST ( UtilFunctionTest  ,
replaceOnceWithMultipleFindings   
)

References NES::Util::replaceFirst().

Here is the call graph for this function:

◆ TEST() [7/15]

NES::TEST ( UtilFunctionTest  ,
replaceOnceWithOneFinding   
)

References NES::Util::replaceFirst().

Here is the call graph for this function:

◆ TEST() [8/15]

NES::TEST ( UtilFunctionTest  ,
snapshotTaking   
)

Test if snapshot taking works properly.

Returns
Measured runtime and snapshot runtime is 1 sec with 0.05 sec slack

References NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::getRuntime(), NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::getSnapshots(), NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::pause(), NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::snapshot(), and NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::start().

Here is the call graph for this function:

◆ TEST() [9/15]

NES::TEST ( UtilFunctionTest  ,
splitWithOmittingEmptyLast   
)

◆ TEST() [10/15]

NES::TEST ( UtilFunctionTest  ,
splitWithStringDelimiterNothing   
)

◆ TEST() [11/15]

NES::TEST ( UtilFunctionTest  ,
splitWithStringDelimiterOnce   
)

◆ TEST() [12/15]

NES::TEST ( UtilFunctionTest  ,
splitWithStringDelimiterTwice   
)

◆ TEST() [13/15]

NES::TEST ( UtilFunctionTest  ,
startAndPause   
)

Test if start and stop commands work properly.

Returns
Measured runtime is 2 sec with 0.1 sec slack

References NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::getRuntime(), NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::pause(), and NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::start().

Here is the call graph for this function:

◆ TEST() [14/15]

NES::TEST ( UtilFunctionTest  ,
trimChar   
)

References NES::Util::trimChar(), and NES::Util::trimWhiteSpaces().

Here is the call graph for this function:

◆ TEST() [15/15]

NES::TEST ( UtilFunctionTest  ,
trimWhiteSpaces   
)

References NES::Util::trimWhiteSpaces().

Here is the call graph for this function:

◆ TEST_F() [1/648]

NES::TEST_F ( AddScanAndEmitPhaseTest  ,
pipelineFilterQuery   
)

Input Query Plan: Input: | Physical Filter |.

Expected Result: | Physical Scan — Physical Filter — Physical Emit|

References ASSERT_INSTANCE_OF.

◆ TEST_F() [2/648]

NES::TEST_F ( AddScanAndEmitPhaseTest  ,
scanOperator   
)

Input Query Plan: Input: | Physical Source |.

Expected Result: | Physical Source |

References ASSERT_INSTANCE_OF.

◆ TEST_F() [3/648]

NES::TEST_F ( AddScanAndEmitPhaseTest  ,
sinkOperator   
)

Input Query Plan: Input: | Physical Sink |.

Expected Result: | Physical Sink |

References ASSERT_INSTANCE_OF.

◆ TEST_F() [4/648]

NES::TEST_F ( ArrayTypeTest  ,
testCheckNullTerminator   
)

Check that the null-terminator has to be present for fixed-size strings only.

◆ TEST_F() [5/648]

NES::TEST_F ( ArrayTypeTest  ,
testExceptionSpecifier   
)

Test that the noexcept specifier is set correctly for initializers, i.e., noexcept iff 1) type is not char && (initialization by size elements of type or || array || c-style array) 2) type is char and initialization by less than size elements of type char

◆ TEST_F() [6/648]

NES::TEST_F ( ArrayTypeTest  ,
testInitialization   
)

Test type, size and content of ExecutableTypes::Arrays.

References eq(), NES::ExecutableTypes::ArrayBase< T, s, typename >::size, and type.

Here is the call graph for this function:

◆ TEST_F() [7/648]

NES::TEST_F ( BenchmarkSourceIntegrationTest  ,
DISABLED_testMemorySourceHalfFullBuffer   
)

This test checks that a deployed MemorySource can write M records stored in N+1 buffers with the invariant that the N+1-th buffer is half full

blocking

blocking

withConnect

References NES::Optimizer::BottomUp, NES::TestUtils::checkCompleteOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), COPY_BUFFER, NES::Schema::create(), NES::DataTypeFactory::createUInt64(), NES::Query::from(), INTERVAL_MODE, backward::details::move(), NES_INFO, NES::TestUtils::restPort(), NES::Query::sink(), timestamp, and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [8/648]

NES::TEST_F ( BenchmarkSourceIntegrationTest  ,
testBenchmarkSource   
)

This test checks that a deployed BenchmarkSource can write M records spanning exactly N records.

blocking

blocking

withConnect

References NES::Optimizer::BottomUp, NES::TestUtils::checkCompleteOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), COPY_BUFFER, NES::Schema::create(), NES::DataTypeFactory::createUInt64(), NES::Query::from(), INTERVAL_MODE, backward::details::move(), NES_INFO, NES::TestUtils::restPort(), NES::Query::sink(), timestamp, and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [9/648]

NES::TEST_F ( BenchmarkSourceIntegrationTest  ,
testMemorySourceFewTuples   
)

This test checks that a deployed MemorySource can write M records stored in one buffer that is not full.

blocking

blocking

withConnect

References NES::Optimizer::BottomUp, NES::TestUtils::checkCompleteOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), COPY_BUFFER, NES::Schema::create(), NES::DataTypeFactory::createUInt64(), NES::Query::from(), INTERVAL_MODE, backward::details::move(), NES_INFO, NES::TestUtils::restPort(), NES::Query::sink(), timestamp, and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [10/648]

NES::TEST_F ( BufferManagerTest  ,
allocateSingleByteUnpooledBuffer   
)

◆ TEST_F() [11/648]

NES::TEST_F ( BufferManagerTest  ,
bufferManagerMtAccess   
)

References buffer_size, and buffers_managed.

◆ TEST_F() [12/648]

NES::TEST_F ( BufferManagerTest  ,
bufferManagerMtProducerConsumer   
)

References buffer_size, and buffers_managed.

◆ TEST_F() [13/648]

NES::TEST_F ( BufferManagerTest  ,
bufferManagerMtProducerConsumerLocalPool   
)

References buffer_size, and buffers_managed.

◆ TEST_F() [14/648]

NES::TEST_F ( BufferManagerTest  ,
bufferManagerMtProducerConsumerLocalPoolWithExtraAllocation   
)

References buffer_size, and buffers_managed.

◆ TEST_F() [15/648]

NES::TEST_F ( BufferManagerTest  ,
bufferManagerMtProducerConsumerNoblocking   
)

References buffer_size, and buffers_managed.

◆ TEST_F() [16/648]

NES::TEST_F ( BufferManagerTest  ,
bufferManagerMtProducerConsumerTimeout   
)

References buffer_size, and buffers_managed.

◆ TEST_F() [17/648]

NES::TEST_F ( BufferManagerTest  ,
getBufferAfterRelease   
)

References buffer_size, and buffers_managed.

◆ TEST_F() [18/648]

NES::TEST_F ( BufferManagerTest  ,
initializedBufferManager   
)

References buffer_size, and buffers_managed.

◆ TEST_F() [19/648]

NES::TEST_F ( BufferManagerTest  ,
initializedBufferManagerAlignment64   
)

References buffer_size, and buffers_managed.

◆ TEST_F() [20/648]

NES::TEST_F ( BufferManagerTest  ,
singleThreadedBufferRecycling   
)

References buffer_size, and buffers_managed.

◆ TEST_F() [21/648]

NES::TEST_F ( BufferManagerTest  ,
singleThreadedBufferRecyclingUnpooled   
)

References buffer_size, and buffers_managed.

◆ TEST_F() [22/648]

NES::TEST_F ( BufferManagerTest  ,
singleThreadedBufferRecyclingWithChildren   
)

References NES::Runtime::allocateVariableLengthField(), and buffer_size.

Here is the call graph for this function:

◆ TEST_F() [23/648]

NES::TEST_F ( BufferManagerTest  ,
singleThreadedManyBufferRecyclingUnpooled   
)

◆ TEST_F() [24/648]

NES::TEST_F ( BufferStorageTest  ,
bufferInsertionInBufferStorage   
)

test inserts buffers to different queues and checks after every insertion that queue size increased on one. After the insertion is fully done the size of the buffer storage is checked to be buffersInserted

References buffersInserted.

◆ TEST_F() [25/648]

NES::TEST_F ( BufferStorageTest  ,
emptyBufferCheck   
)

test checks that if trimming is called on an empty buffer it doesn't cause an error

◆ TEST_F() [26/648]

NES::TEST_F ( BufferStorageTest  ,
manyBufferDeletionFromBufferStorage   
)

test inserts buffersInserted buffers in different queues and deletes them.

References buffersInserted, and emptyBuffer.

◆ TEST_F() [27/648]

NES::TEST_F ( BufferStorageTest  ,
oneBufferDeletionFromBufferStorage   
)

test inserts one buffer and deletes it

References emptyBuffer, and oneBuffer.

◆ TEST_F() [28/648]

NES::TEST_F ( BufferStorageTest  ,
smallerBufferDeletionFromBufferStorage   
)

test inserts buffersInserted buffers in one queue and leaves only one after trimming. The test checks that the deleted buffers are smaller that passed timestamp.

References buffersInserted, and oneBuffer.

◆ TEST_F() [29/648]

NES::TEST_F ( BufferStorageTest  ,
sortedInsertionInBufferStorage   
)

test inserts buffersInserted amount of buffers into one queue but starts from the biggest watermark. The queue is then checked to be sorted to be exact to have the biggest watermark value at the top.

References buffersInserted, and oneBuffer.

◆ TEST_F() [30/648]

NES::TEST_F ( BufferStorageTest  ,
trimmingOfNonExistingNesPartition   
)

test tries to delete non existing element

References buffersInserted.

◆ TEST_F() [31/648]

NES::TEST_F ( CircularBufferTest  ,
emplaceFrontFull   
)

References NES::CircularBuffer< T, Allocator, >::at(), NES::CircularBuffer< T, Allocator, >::emplace(), NES::CircularBuffer< T, Allocator, >::full(), and NES::CircularBuffer< T, Allocator, >::size().

Here is the call graph for this function:

◆ TEST_F() [32/648]

NES::TEST_F ( CircularBufferTest  ,
emplaceFrontOnce   
)

References NES::CircularBuffer< T, Allocator, >::emplace(), NES::CircularBuffer< T, Allocator, >::empty(), NES::CircularBuffer< T, Allocator, >::full(), and NES::CircularBuffer< T, Allocator, >::size().

Here is the call graph for this function:

◆ TEST_F() [33/648]

NES::TEST_F ( CircularBufferTest  ,
emplaceFrontOneOverCapacity   
)

References NES::CircularBuffer< T, Allocator, >::at(), NES::CircularBuffer< T, Allocator, >::emplace(), NES::CircularBuffer< T, Allocator, >::full(), and NES::CircularBuffer< T, Allocator, >::size().

Here is the call graph for this function:

◆ TEST_F() [34/648]

NES::TEST_F ( CircularBufferTest  ,
emplaceUntilFull   
)

References NES::CircularBuffer< T, Allocator, >::emplace(), NES::CircularBuffer< T, Allocator, >::empty(), NES::CircularBuffer< T, Allocator, >::full(), and NES::CircularBuffer< T, Allocator, >::size().

Here is the call graph for this function:

◆ TEST_F() [35/648]

NES::TEST_F ( CircularBufferTest  ,
initialState   
)

◆ TEST_F() [36/648]

NES::TEST_F ( CircularBufferTest  ,
iterateAutoNotFull   
)

References NES::CircularBuffer< T, Allocator, >::full(), NES::CircularBuffer< T, Allocator, >::push(), and NES::CircularBuffer< T, Allocator, >::size().

Here is the call graph for this function:

◆ TEST_F() [37/648]

NES::TEST_F ( CircularBufferTest  ,
popAfterPushOnce   
)

References NES::CircularBuffer< T, Allocator, >::empty(), NES::CircularBuffer< T, Allocator, >::full(), NES::CircularBuffer< T, Allocator, >::pop(), and NES::CircularBuffer< T, Allocator, >::push().

Here is the call graph for this function:

◆ TEST_F() [38/648]

NES::TEST_F ( CircularBufferTest  ,
popAfterTwoPushes   
)

References NES::CircularBuffer< T, Allocator, >::capacity(), NES::CircularBuffer< T, Allocator, >::full(), NES::CircularBuffer< T, Allocator, >::pop(), NES::CircularBuffer< T, Allocator, >::push(), and NES::CircularBuffer< T, Allocator, >::size().

Here is the call graph for this function:

◆ TEST_F() [39/648]

NES::TEST_F ( CircularBufferTest  ,
popOnEmpty   
)

References NES::CircularBuffer< T, Allocator, >::empty(), and NES::CircularBuffer< T, Allocator, >::pop().

Here is the call graph for this function:

◆ TEST_F() [40/648]

NES::TEST_F ( CircularBufferTest  ,
pushFrontOnce   
)

References NES::CircularBuffer< T, Allocator, >::empty(), NES::CircularBuffer< T, Allocator, >::full(), NES::CircularBuffer< T, Allocator, >::push(), and NES::CircularBuffer< T, Allocator, >::size().

Here is the call graph for this function:

◆ TEST_F() [41/648]

NES::TEST_F ( CircularBufferTest  ,
pushUntilFull   
)

References NES::CircularBuffer< T, Allocator, >::empty(), NES::CircularBuffer< T, Allocator, >::full(), NES::CircularBuffer< T, Allocator, >::push(), and NES::CircularBuffer< T, Allocator, >::size().

Here is the call graph for this function:

◆ TEST_F() [42/648]

NES::TEST_F ( CircularBufferTest  ,
randomAccessInitial   
)

References NES::CircularBuffer< T, Allocator, >::at().

Here is the call graph for this function:

◆ TEST_F() [43/648]

NES::TEST_F ( ConnectivityControllerTest  ,
testCORSRequest   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [44/648]

NES::TEST_F ( ConnectivityControllerTest  ,
testGetRequest   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [45/648]

NES::TEST_F ( ContinuousSourceTest  ,
testMultipleOutputBufferFromCSVSourcePrint   
)

blocking

blocking

withConnect

References Attribute(), createField(), backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [46/648]

NES::TEST_F ( ContinuousSourceTest  ,
testMultipleOutputBufferFromCSVSourceWrite   
)

blocking

blocking

withConnect

References Attribute(), createField(), backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [47/648]

NES::TEST_F ( ContinuousSourceTest  ,
testMultipleOutputBufferFromDefaultSourcePrint   
)

blocking

blocking

withConnect

References Attribute(), createField(), backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [48/648]

NES::TEST_F ( ContinuousSourceTest  ,
testMultipleOutputBufferFromDefaultSourcePrintWithLargerFrequency   
)

blocking

blocking

withConnect

References Attribute(), createField(), backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [49/648]

NES::TEST_F ( ContinuousSourceTest  ,
testMultipleOutputBufferFromDefaultSourceWriteFile   
)

blocking

blocking

withConnect

References Attribute(), createField(), backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [50/648]

NES::TEST_F ( ContinuousSourceTest  ,
testMultipleOutputBufferFromDefaultSourceWriteFileWithLargerFrequency   
)

blocking

blocking

withConnect

References Attribute(), createField(), backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [51/648]

NES::TEST_F ( ContinuousSourceTest  ,
testTimestampCsvSink   
)

blocking

blocking

withConnect

References Attribute(), createField(), backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [52/648]

◆ TEST_F() [53/648]

NES::TEST_F ( ConvertLogicalToPhysicalSinkTest  ,
testConvertingFileLogicalToPhysicalSink   
)

References NES::Schema::create().

Here is the call graph for this function:

◆ TEST_F() [54/648]

NES::TEST_F ( ConvertLogicalToPhysicalSinkTest  ,
testConvertingNetworkLogicalToPhysicalSink   
)

References NES::Schema::create().

Here is the call graph for this function:

◆ TEST_F() [55/648]

NES::TEST_F ( ConvertLogicalToPhysicalSinkTest  ,
testConvertingPrintLogicalToPhysicalSink   
)

References NES::Schema::create().

Here is the call graph for this function:

◆ TEST_F() [56/648]

NES::TEST_F ( ConvertLogicalToPhysicalSinkTest  ,
testConvertingZMQLogicalToPhysicalSink   
)

References NES::Schema::create().

Here is the call graph for this function:

◆ TEST_F() [57/648]

NES::TEST_F ( ConvertLogicalToPhysicalSourceTest  ,
testConvertingBinaryFileLogicalToPhysicalSource   
)

References NES::Schema::create().

Here is the call graph for this function:

◆ TEST_F() [58/648]

NES::TEST_F ( ConvertLogicalToPhysicalSourceTest  ,
testConvertingCsvFileLogicalToPhysicalSource   
)

References NES::Schema::create().

Here is the call graph for this function:

◆ TEST_F() [59/648]

NES::TEST_F ( ConvertLogicalToPhysicalSourceTest  ,
testConvertingDefaultLogicalToPhysicalSource   
)

Number Of Buffers

Frequency

References NES::Schema::create().

Here is the call graph for this function:

◆ TEST_F() [60/648]

NES::TEST_F ( ConvertLogicalToPhysicalSourceTest  ,
testConvertingNetworkLogicalToPhysicalSource   
)

References NES::Schema::create().

Here is the call graph for this function:

◆ TEST_F() [61/648]

NES::TEST_F ( ConvertLogicalToPhysicalSourceTest  ,
testConvertingSenseLogicalToPhysicalSource   
)

References NES::Schema::create().

Here is the call graph for this function:

◆ TEST_F() [62/648]

NES::TEST_F ( ConvertLogicalToPhysicalSourceTest  ,
testConvertingTCPLogicalToPhysicalSource   
)

References NES::Schema::create().

Here is the call graph for this function:

◆ TEST_F() [63/648]

NES::TEST_F ( ConvertLogicalToPhysicalSourceTest  ,
testConvertingZMQLogicalToPhysicalSource   
)

References NES::Schema::create().

Here is the call graph for this function:

◆ TEST_F() [64/648]

NES::TEST_F ( CoordinatorRPCServerTest  ,
testEmptyPhysicalSourceRegistrationRequest   
)

◆ TEST_F() [65/648]

NES::TEST_F ( CoordinatorRPCServerTest  ,
testInvalidPhysicalSourceRegistrationRequest   
)

References magic_enum::enum_name().

Here is the call graph for this function:

◆ TEST_F() [66/648]

NES::TEST_F ( CoordinatorRPCServerTest  ,
testValidAndInvalidPhysicalSourceRegistrationRequest   
)

References magic_enum::enum_name().

Here is the call graph for this function:

◆ TEST_F() [67/648]

NES::TEST_F ( CoordinatorRPCServerTest  ,
testValidPhysicalSourceRegistrationRequest   
)

References magic_enum::enum_name().

Here is the call graph for this function:

◆ TEST_F() [68/648]

NES::TEST_F ( DataTypeFactoryTests  ,
stampModificationTest   
)

Input Query Plan: Input: | Physical Source |.

Expected Result: | Physical Source |

References NES::jni::createFloat(), and NES::jni::createInteger().

Here is the call graph for this function:

◆ TEST_F() [69/648]

NES::TEST_F ( DeepHierarchyTopologyTest  ,
testMapAndAggregationQuery   
)

References timestamp, and magic_enum::detail::value().

Here is the call graph for this function:

◆ TEST_F() [70/648]

NES::TEST_F ( DeepHierarchyTopologyTest  ,
testOutputAndAllSensors   
)

This tests just outputs the default source for a hierarchy with one relay which also produces data by itself Topology: PhysicalNode[id=1, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=2, ip=127.0.0.1, resourceCapacity=1, usedResource=0] | |–PhysicalNode[id=6, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=5, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=4, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=3, ip=127.0.0.1, resourceCapacity=12, usedResource=0].

References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), NES::TestHarness::attachWorkerWithMemorySourceToWorkerWithId(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromStream(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::TestHarness::getTopology(), NES_DEBUG, NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::setupTopology(), NES::TestHarness::validate(), and magic_enum::detail::value().

Here is the call graph for this function:

◆ TEST_F() [71/648]

NES::TEST_F ( DeepHierarchyTopologyTest  ,
testOutputAndNoSensors   
)

This tests just outputs the default source for a hierarchy with one relay which does not produce data Topology: PhysicalNode[id=1, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=2, ip=127.0.0.1, resourceCapacity=1, usedResource=0] | |–PhysicalNode[id=6, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=5, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=4, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=3, ip=127.0.0.1, resourceCapacity=12, usedResource=0].

References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerToWorkerWithId(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), NES::TestHarness::attachWorkerWithMemorySourceToWorkerWithId(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromStream(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::TestHarness::getTopology(), NES_DEBUG, NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::setupTopology(), NES::TestHarness::validate(), and magic_enum::detail::value().

Here is the call graph for this function:

◆ TEST_F() [72/648]

NES::TEST_F ( DeepHierarchyTopologyTest  ,
testSelectProjectThreeLevel   
)

This tests applies project and selection on a three level hierarchy Topology: PhysicalNode[id=1, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=5, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=7, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=9, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=6, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=8, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=2, ip=127.0.0.1, resourceCapacity=1, usedResource=0] | |–PhysicalNode[id=4, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=11, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=3, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=10, ip=127.0.0.1, resourceCapacity=12, usedResource=0].

References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerToCoordinator(), NES::TestHarness::attachWorkerToWorkerWithId(), NES::TestHarness::attachWorkerWithCSVSourceToWorkerWithId(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::TestHarness::getTopology(), NES_DEBUG, NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), and NES::TestHarness::validate().

Here is the call graph for this function:

◆ TEST_F() [73/648]

NES::TEST_F ( DeepHierarchyTopologyTest  ,
testSimpleQueryWithThreeLevelTreeWithDefaultSourceAndWorker   
)

This tests just outputs the default source for a hierarchy of three levels where only leaves produce data Topology: PhysicalNode[id=1, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=5, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=7, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=9, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=6, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=8, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=2, ip=127.0.0.1, resourceCapacity=1, usedResource=0] | |–PhysicalNode[id=4, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=11, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=3, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=10, ip=127.0.0.1, resourceCapacity=12, usedResource=0].

References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerToCoordinator(), NES::TestHarness::attachWorkerToWorkerWithId(), NES::TestHarness::attachWorkerWithMemorySourceToWorkerWithId(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromStream(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::TestHarness::getTopology(), NES_DEBUG, NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::setupTopology(), NES::TestHarness::validate(), and magic_enum::detail::value().

Here is the call graph for this function:

◆ TEST_F() [74/648]

NES::TEST_F ( DeepHierarchyTopologyTest  ,
testSimpleQueryWithThreeLevelTreeWithWindowDataAndWorkerFinal   
)

This tests just outputs the default source for a hierarchy of two levels where only leaves produce data Topology: PhysicalNode[id=1, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=5, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=7, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=6, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=2, ip=127.0.0.1, resourceCapacity=1, usedResource=0] | |–PhysicalNode[id=4, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=3, ip=127.0.0.1, resourceCapacity=12, usedResource=0].

References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerToCoordinator(), NES::TestHarness::attachWorkerWithCSVSourceToWorkerWithId(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestHarness::getTopology(), NES::API::Milliseconds(), NES_DEBUG, NES::TestUtils::restPort(), NES::API::Seconds(), NES::TestHarness::setupTopology(), NES::API::Sum(), timestamp, NES::TestHarness::validate(), and magic_enum::detail::value().

Here is the call graph for this function:

◆ TEST_F() [75/648]

NES::TEST_F ( DeepHierarchyTopologyTest  ,
testSimpleQueryWithTwoLevelTreeWithDefaultSourceAndAllSensors   
)

This tests just outputs the default source for a hierarchy of two levels where each node produces data Topology: PhysicalNode[id=1, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=5, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=7, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=6, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=2, ip=127.0.0.1, resourceCapacity=1, usedResource=0] | |–PhysicalNode[id=4, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=3, ip=127.0.0.1, resourceCapacity=12, usedResource=0].

References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), NES::TestHarness::attachWorkerWithMemorySourceToWorkerWithId(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromStream(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::TestHarness::getTopology(), NES_DEBUG, NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::setupTopology(), NES::TestHarness::validate(), and magic_enum::detail::value().

Here is the call graph for this function:

◆ TEST_F() [76/648]

NES::TEST_F ( DeepHierarchyTopologyTest  ,
testSimpleQueryWithTwoLevelTreeWithDefaultSourceAndWorker   
)

This tests just outputs the default source for a hierarchy of two levels where only leaves produce data Topology: PhysicalNode[id=1, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=5, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=7, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=6, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=2, ip=127.0.0.1, resourceCapacity=1, usedResource=0] | |–PhysicalNode[id=4, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=3, ip=127.0.0.1, resourceCapacity=12, usedResource=0].

References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerToCoordinator(), NES::TestHarness::attachWorkerWithMemorySourceToWorkerWithId(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromStream(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::TestHarness::getTopology(), NES_DEBUG, NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::setupTopology(), NES::TestHarness::validate(), and magic_enum::detail::value().

Here is the call graph for this function:

◆ TEST_F() [77/648]

NES::TEST_F ( DeepHierarchyTopologyTest  ,
testUnionThreeLevel   
)

This tests applies a unionWith on a three level hierarchy Topology: PhysicalNode[id=1, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=5, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=7, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=9, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=6, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=8, ip=127.0.0.1, resourceCapacity=12, usedResource=0] |–PhysicalNode[id=2, ip=127.0.0.1, resourceCapacity=1, usedResource=0] | |–PhysicalNode[id=4, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=11, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=3, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | | |–PhysicalNode[id=10, ip=127.0.0.1, resourceCapacity=12, usedResource=0].

References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerToCoordinator(), NES::TestHarness::attachWorkerToWorkerWithId(), NES::TestHarness::attachWorkerWithMemorySourceToWorkerWithId(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromStream(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::TestHarness::getTopology(), NES_DEBUG, NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), NES::TestHarness::validate(), and magic_enum::detail::value().

Here is the call graph for this function:

◆ TEST_F() [78/648]

NES::TEST_F ( DefaultStatisticQueryGeneratorTest  ,
bufferRate   
)

Tests if a query is generated correctly for a bufferRate, the outcome should be a CountMin.

References NES::DefaultStatisticQueryGeneratorTest::inputSchema.

◆ TEST_F() [79/648]

NES::TEST_F ( DefaultStatisticQueryGeneratorTest  ,
cardinality   
)

Tests if a query is generated correctly for a cardinality, the outcome should be a HyperLogLog.

References NES::DefaultStatisticQueryGeneratorTest::outputSchemaBuildOperator.

◆ TEST_F() [80/648]

NES::TEST_F ( DefaultStatisticQueryGeneratorTest  ,
ingestionRate   
)

Tests if a query is generated correctly for an ingestionRate, the outcome should be a CountMin.

References NES::DefaultStatisticQueryGeneratorTest::inputSchema.

◆ TEST_F() [81/648]

NES::TEST_F ( DefaultStatisticQueryGeneratorTest  ,
minVal   
)

Tests if a query is generated correctly for a minVal, the outcome should be a CountMin.

References NES::DefaultStatisticQueryGeneratorTest::outputSchemaBuildOperator.

◆ TEST_F() [82/648]

NES::TEST_F ( DefaultStatisticQueryGeneratorTest  ,
selectivity   
)

Tests if a query is generated correctly for a selectivity, the outcome should be a CountMin.

References NES::DefaultStatisticQueryGeneratorTest::outputSchemaBuildOperator.

◆ TEST_F() [83/648]

NES::TEST_F ( DefaultStatisticQueryGeneratorTest  ,
workloadCharacteristicFilterBeforeJoinQueryCardinality   
)

Tests if we create a statistic query for collecting cardinality of a map operator that sits behind a join operator.

References Attribute(), NES::Optimizer::BottomUp, NES::Query::filter(), NES::Query::from(), NES::API::IngestionTime(), NES::Query::joinWith(), NES::Query::map(), NES::DefaultStatisticQueryGeneratorTest::outputSchemaBuildOperator, NES::DefaultStatisticQueryGeneratorTest::queryCatalog, REGISTERED, NES::API::Seconds(), NES::Query::sink(), NES::JoinOperatorBuilder::Join::where(), and NES::JoinOperatorBuilder::JoinWhere::window().

Here is the call graph for this function:

◆ TEST_F() [84/648]

NES::TEST_F ( DefaultStatisticQueryGeneratorTest  ,
workloadCharacteristicMapOperatorCardinality   
)

Tests if we create a statistic query for collecting cardinality of a map operator.

References Attribute(), NES::Optimizer::BottomUp, NES::Query::filter(), NES::Query::from(), NES::Query::map(), NES::DefaultStatisticQueryGeneratorTest::outputSchemaBuildOperator, NES::DefaultStatisticQueryGeneratorTest::queryCatalog, REGISTERED, and NES::Query::sink().

Here is the call graph for this function:

◆ TEST_F() [85/648]

NES::TEST_F ( DistributedMatrixJoinIntegrationTest  ,
testThreeLevelsTopologyTopDown   
)

References Attribute(), countOccurrences(), NES::TestUtils::countTuples(), NES::API::EventTime(), NES::Query::from(), NES::Query::joinWith(), NES::API::Milliseconds(), NES_DEBUG, NES_INFO, NES::JoinOperatorBuilder::Join::where(), and NES::JoinOperatorBuilder::JoinWhere::window().

Here is the call graph for this function:

◆ TEST_F() [86/648]

NES::TEST_F ( DistributedNemoJoinIntegrationTest  ,
testThreeLevelsTopologyTopDown   
)

References Attribute(), countOccurrences(), NES::TestUtils::countTuples(), NES::API::EventTime(), NES::Query::from(), NES::Query::joinWith(), NES::API::Milliseconds(), NES_DEBUG, NES_INFO, NES::JoinOperatorBuilder::Join::where(), and NES::JoinOperatorBuilder::JoinWhere::window().

Here is the call graph for this function:

◆ TEST_F() [87/648]

◆ TEST_F() [88/648]

◆ TEST_F() [89/648]

◆ TEST_F() [90/648]

◆ TEST_F() [91/648]

◆ TEST_F() [92/648]

◆ TEST_F() [93/648]

◆ TEST_F() [94/648]

◆ TEST_F() [95/648]

◆ TEST_F() [96/648]

◆ TEST_F() [97/648]

◆ TEST_F() [98/648]

NES::TEST_F ( ExplainRequestIntegrationTest  ,
executeExplainRequest   
)

blocking

blocking

withConnect

References Attribute(), backward::details::move(), NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [99/648]

NES::TEST_F ( ExpressionNodeTest  ,
attributeStampInference   
)

References Attribute(), NES::Schema::create(), NES::DataTypeFactory::createInt8(), NES::ExpressionItem::getExpressionNode(), and INT8.

Here is the call graph for this function:

◆ TEST_F() [100/648]

NES::TEST_F ( ExpressionNodeTest  ,
caseInfereStampTest   
)

Test behaviour of special CaseExpressionNode::inferStamp function.

References Attribute(), BOOLEAN, CASE(), NES::Schema::create(), FLOAT32, INT32, and WHEN().

Here is the call graph for this function:

◆ TEST_F() [101/648]

NES::TEST_F ( ExpressionNodeTest  ,
inferAssertionTest   
)

References Attribute(), BOOLEAN, NES::Schema::create(), NES::DataTypeFactory::createArray(), NES::DataTypeFactory::createBoolean(), NES::DataTypeFactory::createType(), INT64, and INT8.

Here is the call graph for this function:

◆ TEST_F() [102/648]

NES::TEST_F ( ExpressionNodeTest  ,
inferenceExpressionTest   
)

References Attribute(), NES::Schema::create(), NES::DataTypeFactory::createArray(), NES::DataTypeFactory::createBoolean(), NES::DataTypeFactory::createType(), FLOAT64, INT32, INT64, and INT8.

Here is the call graph for this function:

◆ TEST_F() [103/648]

NES::TEST_F ( ExpressionNodeTest  ,
inferPredicateTest   
)

References Attribute(), BOOLEAN, NES::Schema::create(), NES::DataTypeFactory::createArray(), NES::DataTypeFactory::createBoolean(), INT64, and INT8.

Here is the call graph for this function:

◆ TEST_F() [104/648]

NES::TEST_F ( ExpressionNodeTest  ,
moduloFloatInferStampTest   
)

Test behaviour of special ModExpressionNode::inferStamp function. (float)

References Attribute(), NES::Schema::create(), FLOAT32, MOD(), NES_INFO, and UINT32.

Here is the call graph for this function:

◆ TEST_F() [105/648]

NES::TEST_F ( ExpressionNodeTest  ,
moduloIntegerInferStampTest   
)

Test behaviour of special ModExpressionNode::inferStamp function. (integers)

References Attribute(), NES::Schema::create(), INT16, MOD(), NES_INFO, and UINT32.

Here is the call graph for this function:

◆ TEST_F() [106/648]

NES::TEST_F ( ExpressionNodeTest  ,
multiplicationInferStampTest   
)

References Attribute(), NES::Schema::create(), INT16, and UINT32.

Here is the call graph for this function:

◆ TEST_F() [107/648]

NES::TEST_F ( ExpressionNodeTest  ,
predicateConstruction   
)

References NES::DataTypeFactory::createBasicValue(), NES::DataTypeFactory::createInt64(), and INT64.

Here is the call graph for this function:

◆ TEST_F() [108/648]

NES::TEST_F ( ExpressionNodeTest  ,
testAndExpressionNodeEqual   
)

References Attribute().

Here is the call graph for this function:

◆ TEST_F() [109/648]

NES::TEST_F ( ExpressionNodeTest  ,
testEqualsExpressionNodeEqual   
)

References Attribute().

Here is the call graph for this function:

◆ TEST_F() [110/648]

NES::TEST_F ( ExpressionNodeTest  ,
testGreaterEqualsExpressionNodeEqual   
)

References Attribute().

Here is the call graph for this function:

◆ TEST_F() [111/648]

NES::TEST_F ( ExpressionNodeTest  ,
testGreaterExpressionNodeEqual   
)

References Attribute().

Here is the call graph for this function:

◆ TEST_F() [112/648]

NES::TEST_F ( ExpressionNodeTest  ,
testLessEqualsExpressionNodeEqual   
)

References Attribute().

Here is the call graph for this function:

◆ TEST_F() [113/648]

NES::TEST_F ( ExpressionNodeTest  ,
testLessExpressionNodeEqual   
)

References Attribute().

Here is the call graph for this function:

◆ TEST_F() [114/648]

NES::TEST_F ( ExpressionNodeTest  ,
testNegateExpressionNodeEqual   
)

References Attribute().

Here is the call graph for this function:

◆ TEST_F() [115/648]

NES::TEST_F ( ExpressionNodeTest  ,
testOrExpressionNodeEqual   
)

References Attribute().

Here is the call graph for this function:

◆ TEST_F() [116/648]

NES::TEST_F ( ExpressionNodeTest  ,
whenInferStampTest   
)

Test behaviour of special WhenExpressionNode::inferStamp function. (float)

References Attribute(), BOOLEAN, NES::Schema::create(), FLOAT32, and WHEN().

Here is the call graph for this function:

◆ TEST_F() [117/648]

NES::TEST_F ( FileSinkIntegrationTest  ,
cannotOpenOutputFile   
)

◆ TEST_F() [118/648]

NES::TEST_F ( FileSinkIntegrationTest  ,
cannotRemoveOutputFileInOverwriteMode   
)

◆ TEST_F() [119/648]

NES::TEST_F ( FileSinkIntegrationTest  ,
canWriteToOutputFileInOverWriteMode   
)

◆ TEST_F() [120/648]

NES::TEST_F ( FileSinkIntegrationTest  ,
DISABLED_canWriteToOutputFileInAppendMode   
)

◆ TEST_F() [121/648]

◆ TEST_F() [122/648]

◆ TEST_F() [123/648]

◆ TEST_F() [124/648]

NES::TEST_F ( GrpcTests  ,
DISABLED_testGrpcNotifyQueryFailure   
)

Test of Notification from Worker to Coordinator of a failed Query.

blocking

blocking

withConnect

References NES::TestUtils::checkFailedOrTimeout(), createField(), backward::details::move(), NES_INFO, NES::TestUtils::restPort(), UNSURE_CONVERSION_TODO_4761, and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [125/648]

◆ TEST_F() [126/648]

◆ TEST_F() [127/648]

◆ TEST_F() [128/648]

◆ TEST_F() [129/648]

◆ TEST_F() [130/648]

◆ TEST_F() [131/648]

◆ TEST_F() [132/648]

◆ TEST_F() [133/648]

◆ TEST_F() [134/648]

◆ TEST_F() [135/648]

◆ TEST_F() [136/648]

◆ TEST_F() [137/648]

◆ TEST_F() [138/648]

◆ TEST_F() [139/648]

◆ TEST_F() [140/648]

◆ TEST_F() [141/648]

◆ TEST_F() [142/648]

◆ TEST_F() [143/648]

NES::TEST_F ( KTMDeploymentTest  ,
ktmQuery   
)

test tumbling window with multiple aggregations

blocking

blocking

withConnect

References Attribute(), NES::API::Avg(), NES::TestUtils::checkOutputOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), NES::API::Count(), createField(), NES::API::EventTime(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), NES::API::Seconds(), and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [144/648]

◆ TEST_F() [145/648]

NES::TEST_F ( LambdaSourceIntegrationTest  ,
testTwoLambdaSourcesMultiThread   
)

◆ TEST_F() [146/648]

NES::TEST_F ( LambdaSourceIntegrationTest  ,
testTwoLambdaSourcesWithSamePhysicalName   
)

◆ TEST_F() [147/648]

NES::TEST_F ( LineageManagerTest  ,
bufferDeletionFromLineageManager   
)

test trims buffers from a bufferAncestorMapping manager and checks after every deletion that the table size decreased on one.

References buffersInserted, and emptyBuffer.

◆ TEST_F() [148/648]

NES::TEST_F ( LineageManagerTest  ,
bufferInsertionInLineageManager   
)

test inserts buffers into bufferAncestorMapping manager and checks after every insertion that the table size increased on one.

References buffersInserted.

◆ TEST_F() [149/648]

NES::TEST_F ( LineageManagerTest  ,
bufferInsertionWithTheSameSNInLineageManager   
)

test inserts buffers with the same new buffer sequence number into bufferAncestorMapping and checks that the vector size with a given new buffer sequnce number increased.

References buffersInserted, and size().

Here is the call graph for this function:

◆ TEST_F() [150/648]

NES::TEST_F ( LineageManagerTest  ,
deletionFromAnEmptyLineageManager   
)

test tries to delete from an empty bufferAncestorMapping

◆ TEST_F() [151/648]

NES::TEST_F ( LineageManagerTest  ,
invertExistingId   
)

test check that the invert function returns old id of a buffer

References buffersInserted.

◆ TEST_F() [152/648]

NES::TEST_F ( LineageManagerTest  ,
invertNonExistingId   
)

test checks that invert function returns null in case id doesn't exist

◆ TEST_F() [153/648]

NES::TEST_F ( LineageManagerTest  ,
multithreadDeletionFromLineage   
)

test deletes buffers from bufferAncestorMapping concurrently.

References buffersInserted, emptyBuffer, and numberOfThreads.

◆ TEST_F() [154/648]

NES::TEST_F ( LineageManagerTest  ,
multithreadInsertionInLineage   
)

test inserts buffers in bufferAncestorMapping concurrently.

References buffersInserted, and numberOfThreads.

◆ TEST_F() [155/648]

NES::TEST_F ( LineageManagerTest  ,
OneBufferInsertionInLineageManager   
)

test inserts one buffer into bufferAncestorMapping manager and checks that it was successfully inserted

References oneBuffer.

◆ TEST_F() [156/648]

NES::TEST_F ( LocationControllerIntegrationTest  ,
testGetAllMobileLocationsNoMobileNodes   
)

blocking

withConnect

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::Spatial::Experimental::FIXED_LOCATION, backward::details::move(), NES::TestUtils::restPort(), size(), NES::TestUtils::startCoordinator(), and NES::TestUtils::waitForWorkers().

Here is the call graph for this function:

◆ TEST_F() [157/648]

NES::TEST_F ( LocationControllerIntegrationTest  ,
testGetLocationMissingQueryParameters   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [158/648]

NES::TEST_F ( LocationControllerIntegrationTest  ,
testGetLocationNonNumericalNodeId   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, nodeId, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [159/648]

NES::TEST_F ( LocationControllerIntegrationTest  ,
testGetLocationNoSuchNodeId   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), nodeId, NES::TestUtils::restPort(), NES::TestUtils::startCoordinator(), and NES::NESStrongType< T, Tag, invalid, initial >::toString().

Here is the call graph for this function:

◆ TEST_F() [160/648]

NES::TEST_F ( LocationControllerIntegrationTest  ,
testGetSingleLocation   
)

blocking

withConnect

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::Spatial::Experimental::FIXED_LOCATION, backward::details::move(), NES::TestUtils::restPort(), NES::TestUtils::startCoordinator(), and NES::TestUtils::waitForWorkers().

Here is the call graph for this function:

◆ TEST_F() [161/648]

NES::TEST_F ( LocationControllerIntegrationTest  ,
testGetSingleLocationWhenNoLocationDataIsProvided   
)

blocking

withConnect

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, backward::details::move(), NES::TestUtils::restPort(), NES::TestUtils::startCoordinator(), and NES::TestUtils::waitForWorkers().

Here is the call graph for this function:

◆ TEST_F() [162/648]

NES::TEST_F ( LocationProviderCSVTest  ,
testCsvMovement   
)

References getTimestamp(), getWaypointsFromCsv(), and NES_DEBUG.

Here is the call graph for this function:

◆ TEST_F() [163/648]

NES::TEST_F ( LocationProviderCSVTest  ,
testCsvMovementWithSimulatedLocationInFuture   
)

References getTimestamp(), getWaypointsFromCsv(), and NES_DEBUG.

Here is the call graph for this function:

◆ TEST_F() [164/648]

NES::TEST_F ( LocationProviderCSVTest  ,
testCsvMovementWithSimulatedLocationInPast   
)

References getTimestamp(), getWaypointsFromCsv(), and NES_DEBUG.

Here is the call graph for this function:

◆ TEST_F() [165/648]

NES::TEST_F ( LocationProviderCSVTest  ,
testInvalidCsv   
)

◆ TEST_F() [166/648]

NES::TEST_F ( LocationUnitTest  ,
testExceptionHandling   
)

References NES::Spatial::DataTypes::Experimental::GeoLocation::fromString().

Here is the call graph for this function:

◆ TEST_F() [167/648]

NES::TEST_F ( LogicalExpressionTest  ,
testAndCompile   
)

◆ TEST_F() [168/648]

NES::TEST_F ( LogicalExpressionTest  ,
testEqualityExpression   
)

◆ TEST_F() [169/648]

NES::TEST_F ( LogicalExpressionTest  ,
testGeqExpression   
)

◆ TEST_F() [170/648]

NES::TEST_F ( LogicalExpressionTest  ,
testGtExpression   
)

◆ TEST_F() [171/648]

NES::TEST_F ( LogicalExpressionTest  ,
testInequalityExpression   
)

◆ TEST_F() [172/648]

NES::TEST_F ( LogicalExpressionTest  ,
testLeqExpression   
)

◆ TEST_F() [173/648]

NES::TEST_F ( LogicalExpressionTest  ,
testLtExpression   
)

◆ TEST_F() [174/648]

NES::TEST_F ( LogicalExpressionTest  ,
testOrExpression   
)

◆ TEST_F() [175/648]

NES::TEST_F ( LogicalOperatorTest  ,
addAndRemoveDuplicatedPredecessors   
)

◆ TEST_F() [176/648]

NES::TEST_F ( LogicalOperatorTest  ,
addAndRemoveDuplicatedSuccessors   
)

◆ TEST_F() [177/648]

NES::TEST_F ( LogicalOperatorTest  ,
addAndRemoveLogicalDuplicateButDifferentOperatorAsSuccessors   
)

◆ TEST_F() [178/648]

NES::TEST_F ( LogicalOperatorTest  ,
addAndRemoveLogicallyDuplicatedButDifferentOperatorAsPredecessors   
)

◆ TEST_F() [179/648]

NES::TEST_F ( LogicalOperatorTest  ,
addAndRemoveMultiplePredecessors   
)

◆ TEST_F() [180/648]

NES::TEST_F ( LogicalOperatorTest  ,
addAndRemoveMultipleSuccessors   
)

◆ TEST_F() [181/648]

NES::TEST_F ( LogicalOperatorTest  ,
addAndRemoveNullPredecessor   
)

◆ TEST_F() [182/648]

NES::TEST_F ( LogicalOperatorTest  ,
addAndRemoveNullSuccessor   
)

◆ TEST_F() [183/648]

NES::TEST_F ( LogicalOperatorTest  ,
addAndRemoveSinglePredecessor   
)

◆ TEST_F() [184/648]

NES::TEST_F ( LogicalOperatorTest  ,
addAndRemoveSingleSuccessor   
)

◆ TEST_F() [185/648]

NES::TEST_F ( LogicalOperatorTest  ,
addSelfAsPredecessor   
)

◆ TEST_F() [186/648]

NES::TEST_F ( LogicalOperatorTest  ,
addSelfAsSuccessor   
)

◆ TEST_F() [187/648]

NES::TEST_F ( LogicalOperatorTest  ,
as   
)

◆ TEST_F() [188/648]

NES::TEST_F ( LogicalOperatorTest  ,
asBadCast   
)

◆ TEST_F() [189/648]

NES::TEST_F ( LogicalOperatorTest  ,
bfIterator   
)

1 -> 2 -> 5 1 -> 2 -> 6 1 -> 3 1 -> 4 -> 7

◆ TEST_F() [190/648]

NES::TEST_F ( LogicalOperatorTest  ,
clear   
)

◆ TEST_F() [191/648]

NES::TEST_F ( LogicalOperatorTest  ,
consistencyBetweenSuccessorPredecesorRelation1   
)

References NES_DEBUG.

◆ TEST_F() [192/648]

NES::TEST_F ( LogicalOperatorTest  ,
consistencyBetweenSuccessorPredecesorRelation2   
)

◆ TEST_F() [193/648]

NES::TEST_F ( LogicalOperatorTest  ,
dfIterator   
)

1 -> 2 -> 5 1 -> 2 -> 6 1 -> 3 1 -> 4 -> 7

◆ TEST_F() [194/648]

NES::TEST_F ( LogicalOperatorTest  ,
equalWithAllPredecessors1   
)
                             /<- filterOp4

topology1: filterOp6 <- filterOp1 <- filterOp2 <- filterOp3

                               /<- filterOp4'

topology2: filterOp6' <- filterOp1' <- filterOp2' <- filterOp3'

◆ TEST_F() [195/648]

NES::TEST_F ( LogicalOperatorTest  ,
equalWithAllPredecessors2   
)
                             /<- filterOp4

topology1: filterOp6 <- filterOp1 <- filterOp2 <- filterOp3

         /<- filterOp4'

topology3: sourceOp <- filterOp1' <- filterOp2' <- filterOp3'

◆ TEST_F() [196/648]

NES::TEST_F ( LogicalOperatorTest  ,
equalWithAllPredecessors3   
)
                             /<- filterOp4

topology1: filterOp6 <- filterOp1 <- filterOp2 <- filterOp3

                               /<- filterOp5'

topology4: filterOp6' <- filterOp1' <- filterOp2' <- filterOp3'

◆ TEST_F() [197/648]

NES::TEST_F ( LogicalOperatorTest  ,
equalWithAllSuccessors1   
)
                             /-> filterOp4

topology1: filterOp6 -> filterOp1 -> filterOp2 -> filterOp3

                               /-> filterOp4'

topology2: filterOp6' -> filterOp1' -> filterOp2' -> filterOp3'

◆ TEST_F() [198/648]

NES::TEST_F ( LogicalOperatorTest  ,
equalWithAllSuccessors2   
)
                             /-> filterOp4

topology1: filterOp6 -> filterOp1 -> filterOp2 -> filterOp3

         /-> filterOp4'

topology3: sourceOp -> filterOp1' -> filterOp2' -> filterOp3'

◆ TEST_F() [199/648]

NES::TEST_F ( LogicalOperatorTest  ,
equalWithAllSuccessors3   
)
                             /-> filterOp4

topology1: filterOp6 -> filterOp1 -> filterOp2 -> filterOp3

           /-> filterOp5'

topology4: filterOp6' -> filterOp1' -> filterOp2' -> filterOp3'

◆ TEST_F() [200/648]

NES::TEST_F ( LogicalOperatorTest  ,
findRecurisivelyOperatorNotExists   
)
                             /-> filterOp4

topology1: filterOp6 -> filterOp1 -> filterOp2 -> filterOp3 -> filterOp5

◆ TEST_F() [201/648]

NES::TEST_F ( LogicalOperatorTest  ,
getAndFlattenAllSuccessorsForCycle   
)
                             /-> filterOp4

topology1: filterOp6 -> filterOp1 -> filterOp2 ^ -> filterOp3 |<------------—|

◆ TEST_F() [202/648]

NES::TEST_F ( LogicalOperatorTest  ,
getAndFlattenAllSuccessorsNoCycle   
)
                             /-> filterOp4

topology1: filterOp6 -> filterOp1 -> filterOp2 ^ -> filterOp3 |<------------—|

◆ TEST_F() [203/648]

NES::TEST_F ( LogicalOperatorTest  ,
getOperatorByType   
)

References NES_DEBUG.

◆ TEST_F() [204/648]

NES::TEST_F ( LogicalOperatorTest  ,
getPredecessors   
)

◆ TEST_F() [205/648]

NES::TEST_F ( LogicalOperatorTest  ,
getSuccessors   
)

◆ TEST_F() [206/648]

NES::TEST_F ( LogicalOperatorTest  ,
instanceOf   
)

◆ TEST_F() [207/648]

NES::TEST_F ( LogicalOperatorTest  ,
isCyclic   
)
                             /-> filterOp4

topology1: filterOp6 -> filterOp1 -> filterOp2 ^ -> filterOp3 |<------------—|

◆ TEST_F() [208/648]

NES::TEST_F ( LogicalOperatorTest  ,
isNotCyclic   
)
                             /-> filterOp4 --|

topology1: filterOp6 -> filterOp1 -> filterOp2 <- -> filterOp3

◆ TEST_F() [209/648]

NES::TEST_F ( LogicalOperatorTest  ,
prettyPrint   
)

◆ TEST_F() [210/648]

NES::TEST_F ( LogicalOperatorTest  ,
remove   
)

◆ TEST_F() [211/648]

NES::TEST_F ( LogicalOperatorTest  ,
removeExistedAndLevelUpSuccessors   
)

remove filterOp1 from topology original: sourceOp -> filterOp1 -> filterOp2 |-> filterOp3 desired: sourceOp -> filterOp2 |-> filterOp3

◆ TEST_F() [212/648]

NES::TEST_F ( LogicalOperatorTest  ,
removeExistedSblingAndLevelUpSuccessors   
)

remove filterOp1 from topology

                           /-> filterOp3'

original: sourceOp -> filterOp1 -> filterOp2 -> filterOp3

desired: unchanged

◆ TEST_F() [213/648]

NES::TEST_F ( LogicalOperatorTest  ,
removeNotExistedAndLevelUpSuccessors   
)

remove filterOp4 from topology original: sourceOp -> filterOp1 -> filterOp2 |-> filterOp3

desired: sourceOp -> filterOp1 -> filterOp2 |-> filterOp3

◆ TEST_F() [214/648]

NES::TEST_F ( LogicalOperatorTest  ,
replacePredecessor   
)

replace filterOp1 with filterOp3 original: sourceOp <- filterOp1 <- filterOp2 replaced: sourceOp <- filterOp3 <- filterOp2

◆ TEST_F() [215/648]

NES::TEST_F ( LogicalOperatorTest  ,
replaceSuccessor   
)

replace filterOp1 with filterOp3 original: sourceOp -> filterOp1 -> filterOp2 filterOp3 -> filterOp4 replaced: sourceOp -> filterOp3 -> filterOp2 |-> filterOp4

◆ TEST_F() [216/648]

NES::TEST_F ( LogicalOperatorTest  ,
replaceSuccessorInvalidOldOperator   
)

◆ TEST_F() [217/648]

NES::TEST_F ( LogicalOperatorTest  ,
replaceWithEqualPredecessor   
)

replace filterOp1 with filterOp1Copy original: sourceOp -> filterOp1 -> filterOp2 replaced: sourceOp -> filterOp1Copy -> filterOp2

◆ TEST_F() [218/648]

NES::TEST_F ( LogicalOperatorTest  ,
replaceWithEqualSuccessor   
)

replace filterOp1 with filterOp1Copy original: sourceOp -> filterOp1 -> filterOp2 replaced: sourceOp -> filterOp1Copy -> filterOp2

◆ TEST_F() [219/648]

NES::TEST_F ( LogicalOperatorTest  ,
replaceWithExistedSuccessor   
)

replace filterOp1 with filterOp3 original: sourceOp -> filterOp1 -> filterOp2 |-> filterOp3 -> filterOp4 replaced: sourceOp -> filterOp1 -> filterOp2 |-> filterOp3 -> filterOp4

◆ TEST_F() [220/648]

NES::TEST_F ( LogicalOperatorTest  ,
replaceWithIdenticalPredecessor   
)

replace filterOp1 with filterOp1 original: sourceOp -> filterOp1 -> filterOp2 replaced: sourceOp -> filterOp1 -> filterOp2

◆ TEST_F() [221/648]

NES::TEST_F ( LogicalOperatorTest  ,
replaceWithIdenticalSuccessor   
)

replace filterOp1 with filterOp1 original: sourceOp -> filterOp1 -> filterOp2 replaced: sourceOp -> filterOp1 -> filterOp2

◆ TEST_F() [222/648]

NES::TEST_F ( LogicalOperatorTest  ,
replaceWithNoneSuccessor   
)

replace filterOp3 (not existed) with filterOp3 original: sourceOp -> filterOp1 -> filterOp2 replaced: sourceOp -> filterOp1 -> filterOp2

◆ TEST_F() [223/648]

NES::TEST_F ( LogicalOperatorTest  ,
replaceWithSubSuccessor   
)

replace filterOp1 with filterOp2 original: sourceOp -> filterOp1 -> filterOp2 replaced: sourceOp -> filterOp2

◆ TEST_F() [224/648]

NES::TEST_F ( LogicalOperatorTest  ,
replaceWithWithInvalidNewOperator   
)

◆ TEST_F() [225/648]

NES::TEST_F ( LogicalOperatorTest  ,
splitWithAtLastSuccessor   
)

split at filterOp3 topology1: filterOp6 -> filterOp1 -> filterOp2 -> filterOp3

◆ TEST_F() [226/648]

NES::TEST_F ( LogicalOperatorTest  ,
splitWithAtRoot   
)

split at filterOp6 topology1: filterOp6 -> filterOp1 -> filterOp2 -> filterOp3

◆ TEST_F() [227/648]

NES::TEST_F ( LogicalOperatorTest  ,
splitWithMultiplePredecessors   
)
        filterOp7->\

topology1: filterOp6 -> filterOp1 -> filterOp2 -> filterOp3

◆ TEST_F() [228/648]

NES::TEST_F ( LogicalOperatorTest  ,
splitWithSinglePredecessor   
)

split at filterOp2 topology1: filterOp6 -> filterOp1 -> filterOp2 -> filterOp3

◆ TEST_F() [229/648]

NES::TEST_F ( LogicalOperatorTest  ,
swap1   
)

swap filterOp1 by filterOp3 /-> filterOp4 topology1: filterOp6 -> filterOp1 -> filterOp2

        filterOp3 -> filterOp5
                \-> filterOp2

◆ TEST_F() [230/648]

NES::TEST_F ( LogicalOperatorTest  ,
swap2   
)

swap filterOp4 by filterOp3 /-> filterOp4 topology1: filterOp6 -> filterOp1 -> filterOp2

        filterOp3 -> filterOp5
                \-> filterOp2

◆ TEST_F() [231/648]

NES::TEST_F ( LogicalOperatorTest  ,
swap3   
)

swap filterOp2 by filterOp3 /-> filterOp4 ->\ topology1: filterOp6 -> filterOp1 -> filterOp2

        filterOp3 -> filterOp5
                \-> filterOp7

◆ TEST_F() [232/648]

NES::TEST_F ( LogicalOperatorTest  ,
swap4   
)

swap filterOp2 by filterOp3 /-> filterOp4 ->\ topology1: filterOp6 -> filterOp1 -> filterOp2

        filterOp3 -> filterOp5
                \-> filterOp7

◆ TEST_F() [233/648]

NES::TEST_F ( LogicalOperatorTest  ,
swap5   
)

swap filterOp2 by filterOp3 /-> filterOp4 -->| topology1: filterOp6 -> filterOp1 -> filterOp2

        filterOp3 -> filterOp5
                \-> filterOp2

◆ TEST_F() [234/648]

NES::TEST_F ( LogicalOperatorTest  ,
swap6   
)

swap filterOp4 by filterOp3 /-> filterOp4 -->| topology1: filterOp6 -> filterOp3 -> filterOp2

        filterOp3 -> filterOp5
                \-> filterOp2

◆ TEST_F() [235/648]

NES::TEST_F ( LowerLogicalToPhysicalOperatorsTest  ,
checkMigrationFileIsPropogatedToSink   
)

check recreation file Input Query Plan:

— Sink 1 — Filter – Source 1

Result Query plan:

— Physical Sink 1 — Physical Filter – Physical Source 1

References NES_DEBUG.

◆ TEST_F() [236/648]

NES::TEST_F ( LowerLogicalToPhysicalOperatorsTest  ,
checkRecreationFileSet   
)

Check migration file path is propagated Input Query Plan:

— Sink 1 — Join — Source 1 \ — Source 2

Result Query plan:

— Physical Sink 1 — Physical Join Sink — Physical Join Build — Physical Source 1 \ — Physical Join Build — Physical Source 2

◆ TEST_F() [237/648]

NES::TEST_F ( LowerLogicalToPhysicalOperatorsTest  ,
checkUsedSameOperator   
)

Check that same decomposed query is lowered with the same operator handler Input Query Plan:

— Sink 1 — Join — Source 1 \ — Source 2

Result Query plan:

— Physical Sink 1 — Physical Join Sink — Physical Join Build — Physical Source 1 \ — Physical Join Build — Physical Source 2

◆ TEST_F() [238/648]

NES::TEST_F ( LowerLogicalToPhysicalOperatorsTest  ,
DISABLED_translateJoinQueryWithMultiplex   
)

Input Query Plan:

— Sink 1 — Join — Source 1 \ — Source 2 \ — Source 3

Result Query plan:

— Physical Sink 1 — Physical Join Sink — Physical Join Build — Physical Source 1 \ — Physical Join Build — Physical Multiplex Operator — Physical Source 1 \ — Physical Source 2

References NES_DEBUG.

◆ TEST_F() [239/648]

NES::TEST_F ( LowerLogicalToPhysicalOperatorsTest  ,
DISABLED_translateJoinQueryWithMultiplex4Edges   
)

Input Query Plan:

— Sink 1 — Join — Source 1 \ — Source 2 \ — Source 3 \ — Source 4

Result Query plan:

— Physical Sink 1 — Physical Join Sink — Physical Join Build — Physical Multiplex Operator — Physical Source 1 \ \ \ — Physical Source 2 \ — Physical Join Build — Physical Multiplex Operator — Physical Source 3 \ — Physical Source 4

References NES_DEBUG.

◆ TEST_F() [240/648]

NES::TEST_F ( LowerLogicalToPhysicalOperatorsTest  ,
DISABLED_translateSimpleBatchJoinQuery   
)

References NES_DEBUG.

◆ TEST_F() [241/648]

NES::TEST_F ( LowerLogicalToPhysicalOperatorsTest  ,
DISABLED_translateSimpleJoinQuery   
)

Input Query Plan:

— Sink 1 — Join — Source 1 \ — Source 2

Result Query plan:

— Physical Sink 1 — Physical Join Sink — Physical Join Build — Physical Source 1 \ — Physical Join Build — Physical Source 2

References NES_DEBUG.

◆ TEST_F() [242/648]

NES::TEST_F ( LowerLogicalToPhysicalOperatorsTest  ,
DISABLED_translateWindowQuery   
)

Input Query Plan:

— Sink 1 — WatermarkAssigner — WindowOperator – Source 1

Result Query plan:

— Physical Sink 1 — Physical Watermark Assigner – Physical Window Pre Aggregation Operator — Physical Window Sink — Physical Source 1

References NES_DEBUG.

◆ TEST_F() [243/648]

NES::TEST_F ( LowerLogicalToPhysicalOperatorsTest  ,
translateDemultiplexFilterQuery   
)

Input Query Plan:

— Sink 1 — FilterOperator – Source 1 / / — Sink 2

Result Query plan:

— Physical Sink 1 — Physical Demultiplex Operator — Physical Filter – Physical Source 1 / / — Physical Sink 2

References NES_DEBUG.

◆ TEST_F() [244/648]

NES::TEST_F ( LowerLogicalToPhysicalOperatorsTest  ,
translateFilterImplicitMultiplexQuery   
)

Input Query Plan:

— Sink 1 — Filter — Source 1 \ — Source 2

Result Query plan:

— Physical Sink 1 — Physical Filter — Physical Multiplex Operator — Physical Source 1 \ — Physical Source 2

References NES_DEBUG.

◆ TEST_F() [245/648]

NES::TEST_F ( LowerLogicalToPhysicalOperatorsTest  ,
translateFilterMultiplexQuery   
)

Input Query Plan:

— Sink 1 — Filter — Union — Source 1 \ – Source 2

Result Query plan:

— Physical Sink 1 — Physical Filter — Physical Multiple Operator — Physical Source 1 \ — Physical Source 2

References NES_DEBUG.

◆ TEST_F() [246/648]

NES::TEST_F ( LowerLogicalToPhysicalOperatorsTest  ,
translateFilterQuery   
)

Input Query Plan:

— Sink 1 — Filter – Source 1

Result Query plan:

— Physical Sink 1 — Physical Filter – Physical Source 1

References NES_DEBUG.

◆ TEST_F() [247/648]

NES::TEST_F ( LowerLogicalToPhysicalOperatorsTest  ,
translateMapJavaUDFQuery   
)

Input Query Plan:

— Sink 1 — Map Java Udf – Source 1

Result Query plan:

— Physical Sink 1 — Physical Map Java Udf Operator — Physical Source 1

References NES_DEBUG.

◆ TEST_F() [248/648]

NES::TEST_F ( LowerLogicalToPhysicalOperatorsTest  ,
translateMapQuery   
)

Input Query Plan:

— Sink 1 — Map – Source 1

Result Query plan:

— Physical Sink 1 — Physical Map Operator — Physical Source 1

References NES_DEBUG.

◆ TEST_F() [249/648]

NES::TEST_F ( LowerLogicalToPhysicalOperatorsTest  ,
translateProjectQuery   
)

Input Query Plan:

— Sink 1 — Project – Source 1

Result Query plan:

— Physical Sink 1 — Physical Project Operator — Physical Source 1

References NES_DEBUG.

◆ TEST_F() [250/648]

NES::TEST_F ( LowerLogicalToPhysicalOperatorsTest  ,
translateSinkSourceQuery   
)

Input Query Plan:

— Sink 1 — Source 1

Result Query plan:

— Physical Sink 1 — Physical Source 1

References NES_DEBUG.

◆ TEST_F() [251/648]

NES::TEST_F ( LowerLogicalToPhysicalOperatorsTest  ,
translateTwoSourceQuery   
)

Input Query Plan:

— Sink 1 — Source 1 — Source 2

Result Query plan:

— Physical Sink 1 — Physical Source 1

References NES_DEBUG.

◆ TEST_F() [252/648]

NES::TEST_F ( MapJavaUDFLogicalOperatorTest  ,
AddParentToCopy   
)

◆ TEST_F() [253/648]

NES::TEST_F ( MapJavaUDFLogicalOperatorTest  ,
InferSchema   
)

References NES::jni::createBoolean().

Here is the call graph for this function:

◆ TEST_F() [254/648]

NES::TEST_F ( MapJavaUDFLogicalOperatorTest  ,
InferSchemaCompatibleTypes   
)

References backward::details::move().

Here is the call graph for this function:

◆ TEST_F() [255/648]

NES::TEST_F ( MapJavaUDFLogicalOperatorTest  ,
InferSchemaDifferentSize   
)

References backward::details::move().

Here is the call graph for this function:

◆ TEST_F() [256/648]

NES::TEST_F ( MapJavaUDFLogicalOperatorTest  ,
InferSchemaInCompatibleTypes   
)

References backward::details::move().

Here is the call graph for this function:

◆ TEST_F() [257/648]

NES::TEST_F ( MapJavaUDFLogicalOperatorTest  ,
InferSchemaMissingField   
)

References backward::details::move().

Here is the call graph for this function:

◆ TEST_F() [258/648]

NES::TEST_F ( MapJavaUDFLogicalOperatorTest  ,
InferSchemaSingleField   
)

References backward::details::move().

Here is the call graph for this function:

◆ TEST_F() [259/648]

NES::TEST_F ( MapJavaUDFLogicalOperatorTest  ,
InferSchemaSingleFieldIncompatibleTypes   
)

References backward::details::move().

Here is the call graph for this function:

◆ TEST_F() [260/648]

NES::TEST_F ( MapJavaUDFLogicalOperatorTest  ,
InferSchemaSingleFieldUnsignedLong   
)

References backward::details::move().

Here is the call graph for this function:

◆ TEST_F() [261/648]

NES::TEST_F ( MapJavaUDFLogicalOperatorTest  ,
InferSchemaUnsignedIntegers   
)

References backward::details::move().

Here is the call graph for this function:

◆ TEST_F() [262/648]

NES::TEST_F ( MapJavaUDFLogicalOperatorTest  ,
InferSchemaUnsignedLong   
)

References backward::details::move().

Here is the call graph for this function:

◆ TEST_F() [263/648]

NES::TEST_F ( MapJavaUDFLogicalOperatorTest  ,
InferStringSignature   
)

References NES_DEBUG.

◆ TEST_F() [264/648]

NES::TEST_F ( MemorySourceIntegrationTest  ,
testMemorySource   
)

This test checks that a deployed MemorySource can write M records spanning exactly N records.

blocking

blocking

withConnect

References NES::Optimizer::BottomUp, NES::TestUtils::checkCompleteOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), NES::Schema::create(), NES::DataTypeFactory::createUInt64(), NES::Query::from(), INTERVAL_MODE, backward::details::move(), NES_INFO, NES::TestUtils::restPort(), NES::Query::sink(), timestamp, and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [265/648]

NES::TEST_F ( MemorySourceIntegrationTest  ,
testMemorySourceFewTuples   
)

This test checks that a deployed MemorySource can write M records stored in one buffer that is not full.

blocking

blocking

withConnect

References NES::Optimizer::BottomUp, NES::TestUtils::checkCompleteOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), NES::Schema::create(), NES::DataTypeFactory::createUInt64(), NES::Query::from(), INTERVAL_MODE, backward::details::move(), NES_INFO, NES::TestUtils::restPort(), NES::Query::sink(), timestamp, and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [266/648]

NES::TEST_F ( MemorySourceIntegrationTest  ,
testMemorySourceHalfFullBuffer   
)

This test checks that a deployed MemorySource can write M records stored in N+1 buffers with the invariant that the N+1-th buffer is half full

blocking

blocking

withConnect

References NES::Optimizer::BottomUp, NES::TestUtils::checkCompleteOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), NES::Schema::create(), NES::DataTypeFactory::createUInt64(), NES::Query::from(), INTERVAL_MODE, backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), NES::Query::sink(), timestamp, and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [267/648]

NES::TEST_F ( MetricCollectorTest  ,
testCpuCollectorSingleMetrics   
)

◆ TEST_F() [268/648]

NES::TEST_F ( MetricCollectorTest  ,
testCpuCollectorWrappedMetrics   
)

◆ TEST_F() [269/648]

NES::TEST_F ( MetricCollectorTest  ,
testDiskCollector   
)

◆ TEST_F() [270/648]

NES::TEST_F ( MetricCollectorTest  ,
testMemoryCollector   
)

References NES::Monitoring::asJson(), bufferSize, NES::Monitoring::MemoryMetrics::getSchema(), NES::Monitoring::SystemResourcesReaderFactory::getSystemResourcesReader(), NES::MetricValidator::isValid(), NES::Monitoring::MemoryMetric, NES_DEBUG, nodeId, readFromBuffer(), and writeToBuffer().

Here is the call graph for this function:

◆ TEST_F() [271/648]

NES::TEST_F ( MetricCollectorTest  ,
testNetworkCollectorSingleMetrics   
)

◆ TEST_F() [272/648]

NES::TEST_F ( MetricCollectorTest  ,
testNetworkCollectorWrappedMetrics   
)

References AbstractReader, NES::Monitoring::asJson(), bufferSize, NES::Monitoring::NetworkMetrics::getSchema(), NES_DEBUG, nodeId, readFromBuffer(), NES::Monitoring::NetworkMetricsWrapper::size(), NES::Monitoring::WrappedNetworkMetrics, and NES::Monitoring::NetworkMetricsWrapper::writeToBuffer().

Here is the call graph for this function:

◆ TEST_F() [273/648]

NES::TEST_F ( MetricStoreTest  ,
testAllEntriesMetricStore   
)

References nodeId.

◆ TEST_F() [274/648]

NES::TEST_F ( MetricStoreTest  ,
testNewestEntryMetricStore   
)

References nodeId.

◆ TEST_F() [275/648]

NES::TEST_F ( MillisecondIntervalTest  ,
testMultipleOutputBufferFromDefaultSourcePrintSubSecond   
)

blocking

blocking

withConnect

References NES::Optimizer::BottomUp, NES::TestUtils::checkCompleteOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), NES::Schema::create(), createField(), backward::details::move(), NES_INFO, UINT64, and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [276/648]

NES::TEST_F ( MillisecondIntervalTest  ,
testPipelinedCSVSource   
)

References buffer_size, NES::CollectTestSink< Type >::create(), NES::Schema::create(), NES::Runtime::Execution::ExecutableQueryPlan::create(), createCSVFileSource(), NES::DataTypeFactory::createFixedChar(), INT32, NES::Runtime::Execution::Running, and UINT64.

Here is the call graph for this function:

◆ TEST_F() [277/648]

NES::TEST_F ( MMapCircularBufferTest  ,
TestConstruction   
)

References MMapCircularBuffer::capacity(), MMapCircularBuffer::empty(), MMapCircularBuffer::full(), and MMapCircularBuffer::size().

Here is the call graph for this function:

◆ TEST_F() [278/648]

NES::TEST_F ( MMapCircularBufferTest  ,
TestRead   
)

References MMapCircularBuffer::capacity(), data, MMapCircularBuffer::empty(), MMapCircularBuffer::full(), apex::memcpy(), MMapCircularBuffer::read(), size(), MMapCircularBuffer::size(), and MMapCircularBuffer::write().

Here is the call graph for this function:

◆ TEST_F() [279/648]

NES::TEST_F ( MMapCircularBufferTest  ,
TestWrapAround   
)

References MMapCircularBuffer::capacity(), data, MMapCircularBuffer::empty(), MMapCircularBuffer::full(), apex::memcpy(), MMapCircularBuffer::read(), size(), MMapCircularBuffer::size(), and MMapCircularBuffer::write().

Here is the call graph for this function:

◆ TEST_F() [280/648]

NES::TEST_F ( MMapCircularBufferTest  ,
TestWrite   
)

References MMapCircularBuffer::capacity(), MMapCircularBuffer::empty(), MMapCircularBuffer::full(), apex::memcpy(), size(), MMapCircularBuffer::size(), and MMapCircularBuffer::write().

Here is the call graph for this function:

◆ TEST_F() [281/648]

NES::TEST_F ( MonitoringControllerTest  ,
testGetMonitoringControllerDataFromOneNode   
)

References NES::MetricValidator::checkNodeIds(), NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::Monitoring::SystemResourcesReaderFactory::getSystemResourcesReader(), NES::MetricValidator::isValidAll(), NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [282/648]

NES::TEST_F ( MonitoringControllerTest  ,
testGetMonitoringControllerStorage   
)

◆ TEST_F() [283/648]

NES::TEST_F ( MonitoringControllerTest  ,
testGetMonitoringControllerStreams   
)

◆ TEST_F() [284/648]

NES::TEST_F ( MonitoringControllerTest  ,
testRequestAllMetrics   
)

References NES::MetricValidator::checkNodeIds(), NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::Monitoring::SystemResourcesReaderFactory::getSystemResourcesReader(), NES::MetricValidator::isValidAll(), NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [285/648]

NES::TEST_F ( MonitoringControllerTest  ,
testStartMonitoring   
)

◆ TEST_F() [286/648]

NES::TEST_F ( MonitoringControllerTest  ,
testStartMonitoringFailsBecauseMonitoringIsNotEnabled   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [287/648]

NES::TEST_F ( MonitoringControllerTest  ,
testStopMonitoring   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [288/648]

NES::TEST_F ( MonitoringControllerTest  ,
testStopMonitoringFailsBecauseMonitoringIsNotEnabled   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [289/648]

NES::TEST_F ( MonitoringQueriesTest  ,
testCpuMetricsQueryWithStorage   
)

References NES::Monitoring::CPU_COLLECTOR, NES::Monitoring::CpuMetrics::getSchema(), NES_INFO, and NES::Monitoring::WrappedCpuMetrics.

Here is the call graph for this function:

◆ TEST_F() [290/648]

NES::TEST_F ( MonitoringQueriesTest  ,
testDiskMetricsQueryWithStorage   
)

References NES::Monitoring::DISK_COLLECTOR, NES::Monitoring::DiskMetric, NES::Monitoring::DiskMetrics::getSchema(), and NES_INFO.

Here is the call graph for this function:

◆ TEST_F() [291/648]

NES::TEST_F ( MonitoringQueriesTest  ,
testMemoryMetricsQueryWithStorage   
)

References NES::Monitoring::MemoryMetrics::getSchema(), NES::Monitoring::MEMORY_COLLECTOR, NES::Monitoring::MemoryMetric, and NES_INFO.

Here is the call graph for this function:

◆ TEST_F() [292/648]

NES::TEST_F ( MonitoringQueriesTest  ,
testNetworkMetricsQueryWithStorage   
)

References NES::Monitoring::NetworkMetrics::getSchema(), NES_INFO, NES::Monitoring::NETWORK_COLLECTOR, and NES::Monitoring::WrappedNetworkMetrics.

Here is the call graph for this function:

◆ TEST_F() [293/648]

NES::TEST_F ( MultiWorkerTest  ,
checkPersistenceOfNewWorkerIdInYaml   
)

blocking

blocking

withConnect

References NES::TestUtils::configPath(), backward::details::move(), NES_DEBUG, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [294/648]

NES::TEST_F ( MultiWorkerTest  ,
checkPersistenceOfWorkerIdWithNonExistingConfigFile   
)

blocking

blocking

withConnect

References NES::TestUtils::configPath(), backward::details::move(), NES_DEBUG, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [295/648]

NES::TEST_F ( MultiWorkerTest  ,
DISABLED_checkPersistenceOfOverwrittenWorkerIdInYaml   
)

blocking

blocking

withConnect

References NES::TestUtils::configPath(), backward::details::move(), NES_DEBUG, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [296/648]

NES::TEST_F ( MultiWorkerTest  ,
startConnectStopWithoutDisconnectWorkerCoordinator   
)

blocking

blocking

withConnect

blocking

withConnect

References backward::details::move(), and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [297/648]

NES::TEST_F ( MultiWorkerTest  ,
startConnectStopWorkerCoordinator   
)

blocking

blocking

withConnect

blocking

withConnect

References backward::details::move(), and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [298/648]

NES::TEST_F ( MultiWorkerTest  ,
startStopCoordinatorWorker   
)

blocking

blocking

withConnect

blocking

withConnect

References backward::details::move(), and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [299/648]

NES::TEST_F ( MultiWorkerTest  ,
startStopWorkerCoordinator   
)

blocking

blocking

withConnect

blocking

withConnect

References backward::details::move(), and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [300/648]

NES::TEST_F ( MultiWorkerTest  ,
startStopWorkerCoordinatorSingle   
)

blocking

blocking

withConnect

References backward::details::move(), and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [301/648]

NES::TEST_F ( MultiWorkerTest  ,
startWithConnectStopWorkerCoordinator   
)

blocking

blocking

withConnect

blocking

withConnect

References backward::details::move(), and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [302/648]

NES::TEST_F ( MultiWorkerTest  ,
startWorkersWithoutWorkerId   
)

blocking

blocking

withConnect

blocking

withConnect

References backward::details::move(), NES_DEBUG, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [303/648]

NES::TEST_F ( MultiWorkerTest  ,
startWorkerWithCorrectNextWorkerId   
)

blocking

blocking

withConnect

blocking

withConnect

References backward::details::move(), NES_DEBUG, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [304/648]

NES::TEST_F ( MultiWorkerTest  ,
startWorkerWithMisconfiguredWorkerId   
)

blocking

blocking

withConnect

References backward::details::move(), NES_DEBUG, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [305/648]

NES::TEST_F ( MultiWorkerTest  ,
startWorkerWithWorkerIdBelongingToActiveWorker   
)

blocking

blocking

withConnect

blocking

withConnect

References backward::details::move(), NES_DEBUG, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [306/648]

NES::TEST_F ( MultiWorkerTest  ,
testMultipleWorker   
)

blocking

blocking

withConnect

References backward::details::move(), and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [307/648]

NES::TEST_F ( NesCoordinatorTest  ,
internalWorkerUsesConfigurationFromCoordinatorConfiguration   
)

References coordinator, NES_DEBUG, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [308/648]

NES::TEST_F ( NesCoordinatorTest  ,
internalWorkerUsesIpAndPortFromCoordinator   
)

References coordinator, NES_DEBUG, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [309/648]

NES::TEST_F ( NodeEngineTest  ,
DISABLED_testExceptionCrash   
)

References NES::detail::assertKiller().

Here is the call graph for this function:

◆ TEST_F() [310/648]

NES::TEST_F ( NodeEngineTest  ,
DISABLED_testFatalCrash   
)

References NES::TestUtils::dataPort(), and NES::detail::segkiller().

Here is the call graph for this function:

◆ TEST_F() [311/648]

NES::TEST_F ( NodeEngineTest  ,
DISABLED_testFullyUnhandledExceptionCrash   
)

References createCSVFileSink(), backward::details::move(), NES_DEBUG, and NES_ERROR.

Here is the call graph for this function:

◆ TEST_F() [312/648]

NES::TEST_F ( NodeEngineTest  ,
DISABLED_testParallelSameSink   
)

References createCSVFileSink().

Here is the call graph for this function:

◆ TEST_F() [313/648]

NES::TEST_F ( NodeEngineTest  ,
DISABLED_testParallelSameSourceAndSinkRegstart   
)

References createCSVFileSink().

Here is the call graph for this function:

◆ TEST_F() [314/648]

NES::TEST_F ( NodeEngineTest  ,
DISABLED_testSemiUnhandledExceptionCrash   
)

References createCSVFileSink(), backward::details::move(), NES_DEBUG, and NES_ERROR.

Here is the call graph for this function:

◆ TEST_F() [315/648]

NES::TEST_F ( NodeEngineTest  ,
testBufferData   
)

References NES::TestUtils::dataPort().

Here is the call graph for this function:

◆ TEST_F() [316/648]

NES::TEST_F ( NodeEngineTest  ,
testParallelDifferentSource   
)

References createCSVFileSink(), and createDefaultSourceWithoutSchemaForOneBuffer().

Here is the call graph for this function:

◆ TEST_F() [317/648]

NES::TEST_F ( NodeEngineTest  ,
testParallelSameSource   
)

References createCSVFileSink(), and createDefaultSourceWithoutSchemaForOneBuffer().

Here is the call graph for this function:

◆ TEST_F() [318/648]

NES::TEST_F ( NodeEngineTest  ,
testReconfigureSink   
)

References NES::TestUtils::dataPort().

Here is the call graph for this function:

◆ TEST_F() [319/648]

NES::TEST_F ( NodeEngineTest  ,
teststartDeployStop   
)

References setupQEP(), testOutput(), and testQueryId.

Here is the call graph for this function:

◆ TEST_F() [320/648]

NES::TEST_F ( NodeEngineTest  ,
testStartDeployUndeployStop   
)

References setupQEP(), testOutput(), and testQueryId.

Here is the call graph for this function:

◆ TEST_F() [321/648]

NES::TEST_F ( NodeEngineTest  ,
testStartRegisterStartStopDeregisterStop   
)

References setupQEP(), testOutput(), and testQueryId.

Here is the call graph for this function:

◆ TEST_F() [322/648]

NES::TEST_F ( NodeEngineTest  ,
testStartStopEngineEmpty   
)

Test methods cout << "Stats=" << ptr->getStatistics() << endl;

◆ TEST_F() [323/648]

NES::TEST_F ( NodeEngineTest  ,
testStartStopStartStop   
)

References setupQEP(), testOutput(), and testQueryId.

Here is the call graph for this function:

◆ TEST_F() [324/648]

NES::TEST_F ( NonBlockingMonotonicSeqQueueTest  ,
concurrentLockFreeWatermarkUpdaterTest   
)

◆ TEST_F() [325/648]

NES::TEST_F ( NonBlockingMonotonicSeqQueueTest  ,
concurrentUpdatesWithChunkNumberInRandomFashionTest   
)

We test here to insert sequence and chunks numbers in a "random" fashion and then check, if the correct output is produced. We do this in a concurrent fashion.

◆ TEST_F() [326/648]

NES::TEST_F ( NonBlockingMonotonicSeqQueueTest  ,
concurrentUpdatesWithLostUpdateThreadTest   
)

◆ TEST_F() [327/648]

NES::TEST_F ( NonBlockingMonotonicSeqQueueTest  ,
singleThreadedUpdatesWithChunkNumberInRandomFashionTest   
)

We test here to insert sequence and chunks numbers in a "random" fashion and then check, if the correct output is produced.

◆ TEST_F() [328/648]

NES::TEST_F ( NonBlockingMonotonicSeqQueueTest  ,
singleThreadRandomeUpdaterTest   
)

A single thread test for the lock free watermark processor. We create a reverse sequential list of 10k updates, monotonically decreasing from 10k to 1 and push them to the watermark processor. Assumption: As we insert all updates in a sequential fashion we assume that the getCurrentWatermark is equal to the latest processed update.

◆ TEST_F() [329/648]

NES::TEST_F ( NonBlockingMonotonicSeqQueueTest  ,
singleThreadReversSequentialUpdaterTest   
)

A single thread test for the lock free watermark processor. We create a reverse sequential list of 10k updates, monotonically decreasing from 10k to 1 and push them to the watermark processor. Assumption: As we insert all updates in a sequential fashion we assume that the getCurrentWatermark is equal to the latest processed update.

◆ TEST_F() [330/648]

NES::TEST_F ( NonBlockingMonotonicSeqQueueTest  ,
singleThreadSequentialUpdaterTest   
)

A single thread test for the lock free watermark processor. We create a sequential list of 10k updates, monotonically increasing from 1 to 10k and push them to the watermark processor. Assumption: As we insert all updates in a sequential fashion we assume that the getCurrentWatermark is equal to the latest processed update.

◆ TEST_F() [331/648]

◆ TEST_F() [332/648]

◆ TEST_F() [333/648]

◆ TEST_F() [334/648]

◆ TEST_F() [335/648]

◆ TEST_F() [336/648]

◆ TEST_F() [337/648]

◆ TEST_F() [338/648]

◆ TEST_F() [339/648]

◆ TEST_F() [340/648]

◆ TEST_F() [341/648]

◆ TEST_F() [342/648]

◆ TEST_F() [343/648]

◆ TEST_F() [344/648]

◆ TEST_F() [345/648]

◆ TEST_F() [346/648]

NES::TEST_F ( NonKeyedTumblingWindowTests  ,
testTumblingWindowMultiAverageAndCount   
)

: This test replicates the angle-turning query from KTM in Elegant. The average of 3 readings on top of a motorcycle are used to determine how "dangerously" someone drives. The count is work-around meta-info about the duration of the dangerous behavior.

In this case, we emulate that by using multi-averages on top of one value and the line count. We then calculate and compare them against each window.

References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::API::Avg(), NES::TestUtils::buffersContainSameTuples(), NES::API::Count(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), and NES::API::Seconds().

Here is the call graph for this function:

◆ TEST_F() [347/648]

NES::TEST_F ( NonKeyedTumblingWindowTests  ,
testTumblingWindowMultiplePhysicalValuesAndCount   
)

: This test replicates the angle-turning query from KTM in Elegant. The average of 3 readings on top of a motorcycle are used to determine how "dangerously" someone drives. The count is work-around meta-info about the duration of the dangerous behavior.

In this case, we emulate that by using multiple values and the line count. We then calculate and compare them against each window.

References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::API::Avg(), NES::TestUtils::buffersContainSameTuples(), NES::API::Count(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), and NES::API::Seconds().

Here is the call graph for this function:

◆ TEST_F() [348/648]

NES::TEST_F ( OperatorPropertiesTest  ,
testAssignDifferentPropertyTypes   
)

References NES::Util::assignPropertiesToQueryOperators(), NES::Query::from(), and NES::Query::sink().

Here is the call graph for this function:

◆ TEST_F() [349/648]

NES::TEST_F ( OperatorPropertiesTest  ,
testAssignProperties   
)

References NES::Util::assignPropertiesToQueryOperators(), Attribute(), NES::Query::filter(), NES::Query::from(), and NES::Query::sink().

Here is the call graph for this function:

◆ TEST_F() [350/648]

NES::TEST_F ( OperatorPropertiesTest  ,
testAssignWithBinaryOperator   
)

References NES::Util::assignPropertiesToQueryOperators(), Attribute(), NES::Query::filter(), NES::Query::from(), NES::Query::joinWith(), NES::API::Seconds(), NES::Query::sink(), NES::JoinOperatorBuilder::Join::where(), and NES::JoinOperatorBuilder::JoinWhere::window().

Here is the call graph for this function:

◆ TEST_F() [351/648]

NES::TEST_F ( OperatorPropertiesTest  ,
testAssignWithLessPropertiesThanOperators   
)

References NES::Util::assignPropertiesToQueryOperators(), Attribute(), NES::Query::filter(), NES::Query::from(), and NES::Query::sink().

Here is the call graph for this function:

◆ TEST_F() [352/648]

NES::TEST_F ( OperatorPropertiesTest  ,
testAssignWithMorePropertiesThanOperators   
)

References NES::Util::assignPropertiesToQueryOperators(), NES::Query::from(), and NES::Query::sink().

Here is the call graph for this function:

◆ TEST_F() [353/648]

NES::TEST_F ( PapiProfilerTest  ,
testSampling   
)

References backward::details::move().

Here is the call graph for this function:

◆ TEST_F() [354/648]

NES::TEST_F ( PipeliningPhaseTest  ,
pipelineDemultiplex   
)

Result Query plan:

— Physical Sink 1 — Physical Demultiplex Operator — Physical Filter – Physical Source 1 / / — Physical Sink 2

— | Physical Sink 1 | — | Physical Filter |— | Physical Source 1 | / — | Physical Sink 2 | -

References NES_DEBUG.

◆ TEST_F() [355/648]

NES::TEST_F ( PipeliningPhaseTest  ,
pipelineFilterMapQuery   
)

Input Query Plan:

— Physical Sink 1 — Physical Filter — Physical Map — Physical Source 1

— | Physical Sink 1 | — | Physical Filter - Physical Map | — | Physical Source 1 |

References NES_DEBUG.

◆ TEST_F() [356/648]

NES::TEST_F ( PipeliningPhaseTest  ,
pipelineFilterMultiplexQuery   
)

Input Query Plan:

— Physical Sink 1 — Physical Filter — Physical Multiplex Operator — Physical Source 1 \ — Physical Source 2

— | Physical Sink 1 | — | Physical Filter | — | Physical Source 1 | \ — | Physical Source 2 |

References NES_DEBUG.

◆ TEST_F() [357/648]

NES::TEST_F ( PipeliningPhaseTest  ,
pipelineFilterQuery   
)

Input Query Plan:

— Physical Sink 1 — Physical Filter — Physical Source 1

— | Physical Sink 1 | — | Physical Filter | — | Physical Source 1 |

◆ TEST_F() [358/648]

NES::TEST_F ( PipeliningPhaseTest  ,
pipelineJoinQuery   
)

Input Query Plan:

— Physical Sink 1 — Physical Join Sink — Physical Join Build — Physical Source 1 \ — Physical Join Build — Physical Source 2

— | Physical Sink 1 | — | Physical Join Sink | — | Physical Join Build — Physical Source 1 | \ — | Physical Join Build — Physical Source 2 |

References NES_DEBUG.

◆ TEST_F() [359/648]

NES::TEST_F ( PipeliningPhaseTest  ,
pipelineJoinWithMultiplexQuery   
)

Input Query Plan:

— Physical Sink 1 — Physical Join Sink — Physical Join Build — Physical Source 1 \ — Physical Join Build — Physical Multiplex Operator — Physical Source 2 \ — Physical Source 3

References NES_DEBUG.

◆ TEST_F() [360/648]

NES::TEST_F ( PipeliningPhaseTest  ,
pipelineMapFilterProjectQuery   
)

Result Query plan:

— Physical Sink 1 — Physical Map Operator — Physical Filter Operator — Physical Project Operator — Physical Source 1

— | Physical Sink 1 | — | Physical Map — Physical Filter — Physical Project |— | Physical Source 1 |

References NES_DEBUG.

◆ TEST_F() [361/648]

NES::TEST_F ( PipeliningPhaseTest  ,
pipelineMultiplexQuery   
)

Input Query Plan:

— Physical Sink 1 — Physical Multiplex Operator — Physical Source 1 \ — Physical Source 2

— | Physical Sink 1 | — | Physical Source 1 | \ — | Physical Source 2 |

References NES_DEBUG.

◆ TEST_F() [362/648]

NES::TEST_F ( PipeliningPhaseTest  ,
pipelineWindowQuery   
)

Result Query plan:

— Physical Sink 1 — Physical Window Sink — Physical Window Pre Aggregation Operator — Physical Watermark Assigner — Physical Source 1

— | Physical Sink 1 | — | Physical Window Sink | — | Physical Window Pre Aggregation — Watermark Assigner | — | Physical Source 1 |

References NES_DEBUG.

◆ TEST_F() [363/648]

NES::TEST_F ( QueryAPITest  ,
testIntervalJoin   
)

testing the interval join query for correct source and sink operator size also testing the calculating of the interval bounds and the equal() and isIdentical() function

References Attribute(), NES::API::Days(), NES::API::EventTime(), NES::Query::filter(), NES::Query::from(), NES::Query::getQueryPlan(), NES::TestSchemas::getSchemaTemplate(), NES::Query::intervalJoinWith(), NES::IntervalJoinOperatorBuilder::JoinWhere::lowerBound(), NES::API::Milliseconds(), NES_INFO, NES::API::Seconds(), NES::Query::sink(), NES::IntervalJoinOperatorBuilder::JoinLowerBound::upperBound(), and NES::IntervalJoinOperatorBuilder::IntervalJoin::where().

Here is the call graph for this function:

◆ TEST_F() [364/648]

NES::TEST_F ( QueryAPITest  ,
testQueryAndWithThreeSources   
)

Test for AND-Operator (andWith) with three sources. Compares the actual query plan of andWith with the expected query plan. Query: AND(A,B,C) WITHIN 2 minutes.

References NES::Query::andWith(), Attribute(), NES::API::EventTime(), NES::Query::filter(), NES::Query::from(), NES::Query::getQueryPlan(), NES::TestSchemas::getSchemaTemplate(), NES::Query::joinWith(), NES::Query::map(), NES::API::Minutes(), NES::Query::sink(), NES::JoinOperatorBuilder::Join::where(), NES::JoinOperatorBuilder::JoinWhere::window(), and NES::CEPOperatorBuilder::And::window().

Here is the call graph for this function:

◆ TEST_F() [365/648]

NES::TEST_F ( QueryAPITest  ,
testQueryAndWithTwoSources   
)

Test for AND-Operator (andWith) with two sources. Compares the actual query plan of andWith with the expected query plan. Query: AND(A,B) WITHIN 2 minutes.

References NES::Query::andWith(), Attribute(), NES::API::EventTime(), NES::Query::filter(), NES::Query::from(), NES::Query::getQueryPlan(), NES::TestSchemas::getSchemaTemplate(), NES::Query::joinWith(), NES::Query::map(), NES::API::Minutes(), NES::Query::sink(), NES::JoinOperatorBuilder::Join::where(), NES::JoinOperatorBuilder::JoinWhere::window(), and NES::CEPOperatorBuilder::And::window().

Here is the call graph for this function:

◆ TEST_F() [366/648]

NES::TEST_F ( QueryAPITest  ,
testQueryCrossJoin   
)

CrossJoin with two input sources: one with filter and one without filter.

References Attribute(), NES::Query::crossJoinWith(), NES::Query::filter(), NES::Query::from(), NES::Query::getQueryPlan(), NES::TestSchemas::getSchemaTemplate(), NES::API::Seconds(), NES::Query::sink(), and NES::CrossJoinOperatorBuilder::CrossJoin::window().

Here is the call graph for this function:

◆ TEST_F() [367/648]

NES::TEST_F ( QueryAPITest  ,
testQueryExpression   
)

References Attribute().

Here is the call graph for this function:

◆ TEST_F() [368/648]

NES::TEST_F ( QueryAPITest  ,
testQueryFilter   
)

References Attribute(), NES::Query::filter(), NES::Query::from(), NES::Query::getQueryPlan(), NES::TestSchemas::getSchemaTemplate(), and NES::Query::sink().

Here is the call graph for this function:

◆ TEST_F() [369/648]

NES::TEST_F ( QueryAPITest  ,
testQueryJoin   
)

Join two input source: one with filter and one without filter.

References Attribute(), NES::Query::filter(), NES::Query::from(), NES::Query::getQueryPlan(), NES::TestSchemas::getSchemaTemplate(), NES::Query::joinWith(), NES::API::Seconds(), NES::Query::sink(), NES::JoinOperatorBuilder::Join::where(), and NES::JoinOperatorBuilder::JoinWhere::window().

Here is the call graph for this function:

◆ TEST_F() [370/648]

NES::TEST_F ( QueryAPITest  ,
testQueryMerge   
)

Merge two input source: one with filter and one without filter.

References Attribute(), NES::Query::filter(), NES::Query::from(), NES::Query::getQueryPlan(), NES::TestSchemas::getSchemaTemplate(), NES::Query::sink(), and NES::Query::unionWith().

Here is the call graph for this function:

◆ TEST_F() [371/648]

NES::TEST_F ( QueryAPITest  ,
testQueryProjection   
)

References Attribute(), NES::Query::from(), NES::Query::getQueryPlan(), NES::TestSchemas::getSchemaTemplate(), and NES::Query::project().

Here is the call graph for this function:

◆ TEST_F() [372/648]

NES::TEST_F ( QueryAPITest  ,
testQuerySeqWithThreeSources   
)

Test for Sequence-Operator (seqWith) with three sources. This test compares the structure of the seqWith operator with the structure of the joinWith operator. Query: SEQ(A,B,C) WITHIN 2 minutes.

References Attribute(), NES::API::EventTime(), NES::Query::filter(), NES::Query::from(), NES::Query::getQueryPlan(), NES::TestSchemas::getSchemaTemplate(), NES::Query::joinWith(), NES::API::Minutes(), NES::Query::seqWith(), NES::Query::sink(), NES::JoinOperatorBuilder::Join::where(), NES::JoinOperatorBuilder::JoinWhere::window(), and NES::CEPOperatorBuilder::Seq::window().

Here is the call graph for this function:

◆ TEST_F() [373/648]

NES::TEST_F ( QueryAPITest  ,
testQuerySeqWithTwoSources   
)

Test for Sequence-Operator (seqWith) with two sources. This test compares the structure of the seqWith operator with the structure of the joinWith operator. Query: SEQ(A,B) WITHIN 2 minutes.

References Attribute(), NES::API::EventTime(), NES::Query::filter(), NES::Query::from(), NES::Query::getQueryPlan(), NES::TestSchemas::getSchemaTemplate(), NES::Query::joinWith(), NES::API::Minutes(), NES::Query::seqWith(), NES::Query::sink(), NES::JoinOperatorBuilder::Join::where(), NES::JoinOperatorBuilder::JoinWhere::window(), and NES::CEPOperatorBuilder::Seq::window().

Here is the call graph for this function:

◆ TEST_F() [374/648]

NES::TEST_F ( QueryAPITest  ,
testQuerySlidingWindow   
)

◆ TEST_F() [375/648]

NES::TEST_F ( QueryAPITest  ,
testQueryTimesExactOccurrences   
)

Test for Times-Operator. In this test, there is an exact number (larger than 0) occurrences specified (Times(occurrences)), leading to a query that filters the tuples by the exact number of occurrences.

References NES::WindowOperatorBuilder::WindowedQuery::apply(), Attribute(), NES::API::EventTime(), NES::Query::filter(), NES::Query::from(), NES::Query::getQueryPlan(), NES::TestSchemas::getSchemaTemplate(), NES::Query::map(), NES::API::Max(), NES::API::Minutes(), NES::Query::sink(), NES::API::Sum(), NES::Query::times(), NES::Query::window(), and NES::CEPOperatorBuilder::Times::window().

Here is the call graph for this function:

◆ TEST_F() [376/648]

NES::TEST_F ( QueryAPITest  ,
testQueryTimesMinMaxOccurrences   
)

Test for Times-Operator. If there are two parameters specified (Times(min_occurrences, max_occurrences)), the query-plan is expected to filtered according to the minimum and maximum number of occurrences.

References NES::WindowOperatorBuilder::WindowedQuery::apply(), Attribute(), NES::API::EventTime(), NES::Query::filter(), NES::Query::from(), NES::Query::getQueryPlan(), NES::TestSchemas::getSchemaTemplate(), NES::Query::map(), NES::API::Max(), NES::API::Minutes(), NES::Query::sink(), NES::API::Sum(), NES::Query::times(), NES::Query::window(), and NES::CEPOperatorBuilder::Times::window().

Here is the call graph for this function:

◆ TEST_F() [377/648]

NES::TEST_F ( QueryAPITest  ,
testQueryTimesNoSpecifiedOccurrences   
)

Test for Times-Operator. In this test, there are no occurrences specified (Times() without parameter), leading to a query that expects the default behavior of the Times-operator without filtering for min/max occurrences.

References NES::WindowOperatorBuilder::WindowedQuery::apply(), Attribute(), NES::API::EventTime(), NES::Query::from(), NES::Query::getQueryPlan(), NES::TestSchemas::getSchemaTemplate(), NES::Query::map(), NES::API::Max(), NES::API::Minutes(), NES::Query::sink(), NES::API::Sum(), NES::Query::times(), NES::Query::window(), and NES::CEPOperatorBuilder::Times::window().

Here is the call graph for this function:

◆ TEST_F() [378/648]

NES::TEST_F ( QueryAPITest  ,
testQueryTimesZeroOccurrences   
)

Test for Times-Operator. If the exact number of occurrences is 0 (Times(0)), this test should fail because min- and max-occurrences are set to 0 which is not allowed.

References Attribute(), NES::API::EventTime(), NES::Query::from(), NES::TestSchemas::getSchemaTemplate(), NES::API::Minutes(), NES::Query::sink(), NES::Query::times(), NES::Exceptions::RuntimeException::what(), and NES::CEPOperatorBuilder::Times::window().

Here is the call graph for this function:

◆ TEST_F() [379/648]

NES::TEST_F ( QueryAPITest  ,
testQueryTumblingWindow   
)

◆ TEST_F() [380/648]

NES::TEST_F ( QueryAPITest  ,
ThresholdWindowQueryTest   
)

Test if the system can create a logical query plan with a Threshold Window Operator.

References NES::WindowOperatorBuilder::KeyedWindowedQuery::apply(), NES::WindowOperatorBuilder::WindowedQuery::apply(), Attribute(), NES::WindowOperatorBuilder::WindowedQuery::byKey(), NES::Query::from(), NES::Query::getQueryPlan(), NES::TestSchemas::getSchemaTemplate(), INT64, NES::Query::sink(), NES::API::Sum(), and NES::Query::window().

Here is the call graph for this function:

◆ TEST_F() [381/648]

NES::TEST_F ( QueryAPITest  ,
ThresholdWindowQueryTestwithKeyAndMinCount   
)

Test if the system can create a logical query plan with a Threshold Window Operator and minium count.

References NES::WindowOperatorBuilder::KeyedWindowedQuery::apply(), NES::WindowOperatorBuilder::WindowedQuery::apply(), Attribute(), NES::WindowOperatorBuilder::WindowedQuery::byKey(), NES::Query::from(), NES::Query::getQueryPlan(), NES::TestSchemas::getSchemaTemplate(), INT64, NES::Query::sink(), NES::API::Sum(), and NES::Query::window().

Here is the call graph for this function:

◆ TEST_F() [382/648]

NES::TEST_F ( QueryAPITest  ,
ThresholdWindowQueryTestWithMinSupport   
)

Test if the system can create a logical query plan with a Threshold Window Operator with minuium count.

References NES::WindowOperatorBuilder::KeyedWindowedQuery::apply(), NES::WindowOperatorBuilder::WindowedQuery::apply(), Attribute(), NES::WindowOperatorBuilder::WindowedQuery::byKey(), NES::Query::from(), NES::Query::getQueryPlan(), NES::TestSchemas::getSchemaTemplate(), INT64, NES::Query::sink(), NES::API::Sum(), and NES::Query::window().

Here is the call graph for this function:

◆ TEST_F() [383/648]

NES::TEST_F ( QueryAPITest  ,
windowAggregationWithAs   
)

Test if the custom field set for aggregation using "as()" is set in the sink output schema.

References NES::WindowOperatorBuilder::KeyedWindowedQuery::apply(), Attribute(), NES::WindowOperatorBuilder::WindowedQuery::byKey(), NES::API::EventTime(), NES::Query::filter(), NES::Query::from(), NES::TestSchemas::getSchemaTemplate(), INT64, NES::API::Milliseconds(), NES_DEBUG, NES::Query::sink(), NES::API::Sum(), and NES::Query::window().

Here is the call graph for this function:

◆ TEST_F() [384/648]

NES::TEST_F ( QueryCatalogControllerTest  ,
testGetQueriesWithSpecificStatus   
)

References Attribute(), NES::Optimizer::BottomUp, NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::Query::filter(), NES::Query::from(), REGISTERED, NES::TestUtils::restPort(), NES::Query::sink(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [385/648]

NES::TEST_F ( QueryCatalogControllerTest  ,
testGetRequestAllRegistedQueries   
)

References Attribute(), NES::Optimizer::BottomUp, NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::Query::filter(), NES::Query::from(), REGISTERED, NES::TestUtils::restPort(), NES::Query::sink(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [386/648]

NES::TEST_F ( QueryCatalogControllerTest  ,
testGetRequestStatusOfQuery   
)

◆ TEST_F() [387/648]

NES::TEST_F ( QueryControllerTest  ,
testGetExecutionPlan   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::TestUtils::checkRunningOrTimeout(), coordinator, magic_enum::detail::find(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), size(), and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [388/648]

NES::TEST_F ( QueryControllerTest  ,
testGetExecutionPlanNoSuchQueryId   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::TestUtils::checkRunningOrTimeout(), coordinator, NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [389/648]

NES::TEST_F ( QueryControllerTest  ,
testGetQueryPlan   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::TestUtils::checkRunningOrTimeout(), coordinator, NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [390/648]

NES::TEST_F ( QueryControllerTest  ,
testGetQueryPlanNoSuchQueryId   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::TestUtils::checkRunningOrTimeout(), coordinator, NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [391/648]

NES::TEST_F ( QueryControllerTest  ,
testSubmitQueryInvalidPlacement   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES_DEBUG, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [392/648]

NES::TEST_F ( QueryControllerTest  ,
testSubmitQueryNoPlacement   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES_DEBUG, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [393/648]

NES::TEST_F ( QueryControllerTest  ,
testSubmitQueryNoUserQuery   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [394/648]

NES::TEST_F ( QueryControllerTest  ,
testSubmitValidQuery   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::TestUtils::checkRunningOrTimeout(), coordinator, NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [395/648]

NES::TEST_F ( QueryDeploymentTest  ,
DISABLED_testJoin2WithDifferentSourceSlidingWindowDistributed   
)

This tests just outputs the default source for a hierarchy with one relay which also produces data by itself Topology: PhysicalNode[id=1, ip=127.0.0.1, resourceCapacity=12, usedResource=0] => Join 2 |–PhysicalNode[id=2, ip=127.0.0.1, resourceCapacity=1, usedResource=0] => Join 1 | |–PhysicalNode[id=6, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=5, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=4, ip=127.0.0.1, resourceCapacity=12, usedResource=0].

blocking

blocking

withConnect

blocking

withConnect

blocking

withConnect

blocking

withConnect

References Attribute(), NES::TestUtils::checkCompleteOrTimeout(), NES::TestUtils::checkOutputOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), createField(), NES::API::EventTime(), NES::API::Milliseconds(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), NES::API::Seconds(), and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [396/648]

NES::TEST_F ( QueryDeploymentTest  ,
DISABLED_testJoin2WithDifferentSourceTumblingWindowDistributed   
)

This tests just outputs the default source for a hierarchy with one relay which also produces data by itself Topology: PhysicalNode[id=1, ip=127.0.0.1, resourceCapacity=12, usedResource=0] => Join 2 |–PhysicalNode[id=2, ip=127.0.0.1, resourceCapacity=1, usedResource=0] => Join 1 | |–PhysicalNode[id=6, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=5, ip=127.0.0.1, resourceCapacity=12, usedResource=0] | |–PhysicalNode[id=4, ip=127.0.0.1, resourceCapacity=12, usedResource=0].

blocking

blocking

withConnect

blocking

withConnect

blocking

withConnect

blocking

withConnect

References Attribute(), NES::TestUtils::checkCompleteOrTimeout(), NES::TestUtils::checkOutputOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), createField(), NES::API::EventTime(), NES::API::Milliseconds(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [397/648]

◆ TEST_F() [398/648]

◆ TEST_F() [399/648]

◆ TEST_F() [400/648]

◆ TEST_F() [401/648]

NES::TEST_F ( QueryDeploymentTest  ,
testDeployOneWorkerFileOutputWithFilterWithInProcessTerminationWhenNoSourceRunning   
)

blocking

blocking

withConnect

References Attribute(), NES::TestUtils::checkStoppedOrTimeout(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [402/648]

NES::TEST_F ( QueryDeploymentTest  ,
testDeployOneWorkerFileOutputWithFilterWithInProcessTerminationWhenOneSourceRunning   
)

blocking

blocking

withConnect

References Attribute(), NES::TestUtils::checkStoppedOrTimeout(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [403/648]

NES::TEST_F ( QueryDeploymentTest  ,
testDeployOneWorkerFileOutputWithFilterWithInProcessTerminationWhenTwoSourcesRunning   
)

blocking

blocking

withConnect

References Attribute(), NES::TestUtils::checkStoppedOrTimeout(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [404/648]

◆ TEST_F() [405/648]

NES::TEST_F ( QueryDeploymentTest  ,
testDeployOneWorkerFileOutputWithWrongProjection   
)

blocking

blocking

withConnect

References Attribute(), backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [406/648]

◆ TEST_F() [407/648]

◆ TEST_F() [408/648]

◆ TEST_F() [409/648]

◆ TEST_F() [410/648]

◆ TEST_F() [411/648]

NES::TEST_F ( QueryDeploymentTest  ,
testDeployUndeployMultipleQueriesOnTwoWorkerFileOutputWithQueryMerging   
)

blocking

blocking

withConnect

blocking

withConnect

References NES::TestUtils::checkOutputOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [412/648]

NES::TEST_F ( QueryDeploymentTest  ,
testDeployUndeployMultipleQueriesTwoWorkerFileOutput   
)

blocking

blocking

withConnect

blocking

withConnect

References NES::TestUtils::checkOutputOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [413/648]

◆ TEST_F() [414/648]

◆ TEST_F() [415/648]

◆ TEST_F() [416/648]

◆ TEST_F() [417/648]

◆ TEST_F() [418/648]

NES::TEST_F ( QueryDeploymentTest  ,
testOneQueuePerQueryWithHardShutdown   
)

blocking

blocking

withConnect

References NES::TestUtils::checkStoppedOrTimeout(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [419/648]

NES::TEST_F ( QueryDeploymentTest  ,
testOneQueuePerQueryWithHardShutdownAndStatic   
)

blocking

blocking

withConnect

References NES::TestUtils::checkStoppedOrTimeout(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [420/648]

NES::TEST_F ( QueryDeploymentTest  ,
testOneQueuePerQueryWithOutput   
)

blocking

blocking

withConnect

References NES::TestUtils::checkOutputOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [421/648]

NES::TEST_F ( QueryDeploymentTest  ,
testSourceSharing   
)

blocking

References NES::TestUtils::checkOutputOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), timestamp, magic_enum::detail::value(), and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [422/648]

NES::TEST_F ( QueryDeploymentTest  ,
testSourceSharingWithFilter   
)

blocking

References Attribute(), NES::TestUtils::checkOutputOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), timestamp, magic_enum::detail::value(), and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [423/648]

NES::TEST_F ( QueryFailureTest  ,
testExecutingOneFaultAndOneCorrectQuery   
)

This test checks if we can run a valid query after a query failed

blocking

blocking

withConnect

References NES::TestUtils::checkFailedOrTimeout(), NES::TestUtils::checkOutputOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [424/648]

NES::TEST_F ( QueryFailureTest  ,
testQueryFailureForFaultySource   
)

blocking

blocking

withConnect

References NES::TestUtils::checkFailedOrTimeout(), backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [425/648]

NES::TEST_F ( QueryReconfigurationTest  ,
testMarkerPropagation   
)

References NES::TestUtils::checkStoppedOrTimeoutAtWorker(), NES::TestUtils::logicalSourceName(), NES::TestUtils::physicalSourceName(), NES::TestUtils::startCoordinator(), NES::TestUtils::startWorker(), and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [426/648]

NES::TEST_F ( QueryReconfigurationTest  ,
testPlanIdMatching   
)

References NES::TestUtils::checkStoppedOrTimeoutAtWorker(), NES::TestUtils::logicalSourceName(), NES::TestUtils::physicalSourceName(), NES::TestUtils::startCoordinator(), NES::TestUtils::startWorker(), and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [427/648]

NES::TEST_F ( RemoteClientTest  ,
AddAndGetLogicalSourceTest   
)

Test if adding and getting logical sources properly.

References NES_DEBUG.

◆ TEST_F() [428/648]

NES::TEST_F ( RemoteClientTest  ,
CorrectnessOfGetQueryPlan   
)

Test if correct error message is thrown for query plan retrieval with invalid query id.

Returns
the information that query id does not exist

References NES::Query::sink().

Here is the call graph for this function:

◆ TEST_F() [429/648]

NES::TEST_F ( RemoteClientTest  ,
DeployInvalidQuery   
)

Test if retrieving the execution plan works properly.

Returns
execution plan is as expected

References NES::Exceptions::RuntimeException::what().

Here is the call graph for this function:

◆ TEST_F() [430/648]

NES::TEST_F ( RemoteClientTest  ,
DeployQueryTest   
)

Test if deploying a query over the REST api works properly.

Returns
deployed query ID is valid

References NES::Query::sink().

Here is the call graph for this function:

◆ TEST_F() [431/648]

NES::TEST_F ( RemoteClientTest  ,
GetExecutionPlanTest   
)

Test if retrieving the execution plan works properly.

Returns
execution plan is as expected

References NES_DEBUG, and NES::Query::sink().

Here is the call graph for this function:

◆ TEST_F() [432/648]

NES::TEST_F ( RemoteClientTest  ,
GetLogicalSourceTest   
)

Test if retrieving the logical source work properly.

Note
we assume that default_logical is predefined

References NES_DEBUG.

◆ TEST_F() [433/648]

NES::TEST_F ( RemoteClientTest  ,
GetPhysicalSourceTest   
)

Test if getting physical sources works properly.

Note
we assume that default_logical is predefined

References NES_DEBUG.

◆ TEST_F() [434/648]

NES::TEST_F ( RemoteClientTest  ,
GetQueriesTest   
)

Test getting queryIdAndCatalogEntryMapping works properly.

References NES::Query::sink().

Here is the call graph for this function:

◆ TEST_F() [435/648]

NES::TEST_F ( RemoteClientTest  ,
GetQueriesWithStatusTest   
)

Test getting queryIdAndCatalogEntryMapping by status works properly.

References NES::Query::sink().

Here is the call graph for this function:

◆ TEST_F() [436/648]

NES::TEST_F ( RemoteClientTest  ,
GetQueryPlanTest   
)

Test if retrieving the query plan works properly.

Returns
query plan is as expected

References NES::Query::sink().

Here is the call graph for this function:

◆ TEST_F() [437/648]

NES::TEST_F ( RemoteClientTest  ,
GetTopologyTest   
)

Test if retrieving the topology works properly.

Returns
topology is as expected

◆ TEST_F() [438/648]

NES::TEST_F ( RemoteClientTest  ,
StopAStoppedQuery   
)

Test if retrieving the execution plan works properly.

Returns
execution plan is as expected

References NES::Query::sink().

Here is the call graph for this function:

◆ TEST_F() [439/648]

NES::TEST_F ( RemoteClientTest  ,
StopInvalidQueryId   
)

Test if retrieving the execution plan works properly.

Returns
execution plan is as expected

◆ TEST_F() [440/648]

NES::TEST_F ( RemoteClientTest  ,
StopQueryTest   
)

Test if stopping a query works properly.

Returns
query is stopped as expected

References NES::Query::sink().

Here is the call graph for this function:

◆ TEST_F() [441/648]

NES::TEST_F ( RemoteClientTest  ,
SubmitQueryTest   
)

Test if deploying a query works properly.

Returns
deployed query ID is valid

References NES::Query::getQueryPlan(), and NES::Query::sink().

Here is the call graph for this function:

◆ TEST_F() [442/648]

NES::TEST_F ( RemoteClientTest  ,
SubmitQueryWithWrongLogicalSourceNameTest   
)

References NES::Query::sink(), and NES::Exceptions::RuntimeException::what().

Here is the call graph for this function:

◆ TEST_F() [443/648]

NES::TEST_F ( RemoteClientTest  ,
TestConnectionTest   
)

Test if the testConnection call works properly.

References connect().

Here is the call graph for this function:

◆ TEST_F() [444/648]

NES::TEST_F ( RequestExecutionExceptionTest  ,
testInstanceOf   
)

Checks if the instanceOf() function returns true only for the actual class of the object.

References NES::Exceptions::RequestExecutionException::instanceOf(), MARKED_FOR_FAILURE, and STOPPED.

Here is the call graph for this function:

◆ TEST_F() [445/648]

NES::TEST_F ( ResourcesReaderTest  ,
testAbstractSystemResourcesReader   
)

◆ TEST_F() [446/648]

NES::TEST_F ( ResourcesReaderTest  ,
testCPUStats   
)

◆ TEST_F() [447/648]

NES::TEST_F ( ResourcesReaderTest  ,
testDiskStats   
)

References NES::MetricValidator::isValid(), and NES_DEBUG.

Here is the call graph for this function:

◆ TEST_F() [448/648]

NES::TEST_F ( ResourcesReaderTest  ,
testMemoryStats   
)

References NES::MetricValidator::isValid(), and NES_DEBUG.

Here is the call graph for this function:

◆ TEST_F() [449/648]

NES::TEST_F ( ResourcesReaderTest  ,
testNetworkStats   
)

◆ TEST_F() [450/648]

NES::TEST_F ( ResourcesReaderTest  ,
testRuntimeNesMetrics   
)

References NES::MetricValidator::isValid(), and NES_DEBUG.

Here is the call graph for this function:

◆ TEST_F() [451/648]

NES::TEST_F ( ResourcesReaderTest  ,
testStaticNesMetrics   
)

References NES::MetricValidator::isValid(), and NES_DEBUG.

Here is the call graph for this function:

◆ TEST_F() [452/648]

NES::TEST_F ( SchemaTest  ,
addFieldTest   
)

References NES::Schema::COLUMNAR_LAYOUT, NES::Schema::create(), and NES::DataTypeFactory::createType().

Here is the call graph for this function:

◆ TEST_F() [453/648]

NES::TEST_F ( SchemaTest  ,
containsTest   
)

References NES::Schema::create(), FLOAT32, FLOAT64, INT32, UINT16, and UINT8.

Here is the call graph for this function:

◆ TEST_F() [454/648]

NES::TEST_F ( SchemaTest  ,
copyTest   
)

References NES::Schema::create(), UINT16, and UINT8.

Here is the call graph for this function:

◆ TEST_F() [455/648]

NES::TEST_F ( SchemaTest  ,
createTest   
)

References NES::Schema::COLUMNAR_LAYOUT, NES::Schema::create(), and NES::Schema::ROW_LAYOUT.

Here is the call graph for this function:

◆ TEST_F() [456/648]

NES::TEST_F ( SchemaTest  ,
getSchemaSizeInBytesTest   
)

References NES::Schema::COLUMNAR_LAYOUT, NES::Schema::create(), NES::DataTypeFactory::createType(), FLOAT32, FLOAT64, NES::DefaultPhysicalTypeFactory::getPhysicalType(), INT32, UINT16, and UINT8.

Here is the call graph for this function:

◆ TEST_F() [457/648]

NES::TEST_F ( SchemaTest  ,
getSourceNameQualifierTest   
)

References NES::Schema::create(), FLOAT32, FLOAT64, INT32, UINT16, and UINT8.

Here is the call graph for this function:

◆ TEST_F() [458/648]

NES::TEST_F ( SchemaTest  ,
removeFieldsTest   
)

References NES::Schema::create().

Here is the call graph for this function:

◆ TEST_F() [459/648]

NES::TEST_F ( SchemaTest  ,
replaceFieldTest   
)

References NES::Schema::COLUMNAR_LAYOUT, NES::Schema::create(), and NES::DataTypeFactory::createType().

Here is the call graph for this function:

◆ TEST_F() [460/648]

NES::TEST_F ( SchemaTest  ,
updateSourceNameTest   
)

◆ TEST_F() [461/648]

NES::TEST_F ( SemanticQueryValidationTest  ,
DISABLED_validAsOperatorTest   
)

References NES_INFO.

◆ TEST_F() [462/648]

NES::TEST_F ( SemanticQueryValidationTest  ,
invalidAsOperatorTest   
)

References NES_INFO.

◆ TEST_F() [463/648]

NES::TEST_F ( SemanticQueryValidationTest  ,
invalidAttributesInLogicalSourceTest   
)

References NES_INFO.

◆ TEST_F() [464/648]

NES::TEST_F ( SemanticQueryValidationTest  ,
invalidLogicalSourceTest   
)

References NES_INFO.

◆ TEST_F() [465/648]

NES::TEST_F ( SemanticQueryValidationTest  ,
invalidMixedInputMLInferenceOperatorTest   
)

◆ TEST_F() [466/648]

NES::TEST_F ( SemanticQueryValidationTest  ,
invalidProjectionTest   
)

References Attribute(), NES::Optimizer::SemanticQueryValidation::create(), NES::Query::from(), NES::TestUtils::logicalSourceName(), NES::Query::map(), NES_INFO, NES::Spatial::Experimental::NO_LOCATION, and NES::Query::project().

Here is the call graph for this function:

◆ TEST_F() [467/648]

NES::TEST_F ( SemanticQueryValidationTest  ,
missingPhysicalSourceTest   
)

References Attribute(), NES::Optimizer::SemanticQueryValidation::create(), NES::Query::from(), NES::Query::map(), NES_INFO, and NES::Query::project().

Here is the call graph for this function:

◆ TEST_F() [468/648]

NES::TEST_F ( SemanticQueryValidationTest  ,
satisfiableQueryWithLaterAddedFilters   
)

References NES_INFO.

◆ TEST_F() [469/648]

NES::TEST_F ( SemanticQueryValidationTest  ,
satisfiableQueryWithLogicalExpression   
)

References NES_INFO.

◆ TEST_F() [470/648]

NES::TEST_F ( SemanticQueryValidationTest  ,
satisfiableQueryWithMultipleFilters   
)

References NES_INFO.

◆ TEST_F() [471/648]

NES::TEST_F ( SemanticQueryValidationTest  ,
satisfiableQueryWithSingleFilter   
)

References NES_INFO.

◆ TEST_F() [472/648]

NES::TEST_F ( SemanticQueryValidationTest  ,
unsatisfiableQueryWithLaterAddedFilters   
)

References NES_INFO.

◆ TEST_F() [473/648]

NES::TEST_F ( SemanticQueryValidationTest  ,
unsatisfiableQueryWithLogicalExpression   
)

References NES_INFO.

◆ TEST_F() [474/648]

NES::TEST_F ( SemanticQueryValidationTest  ,
unsatisfiableQueryWithMultipleFilters   
)

References NES_INFO.

◆ TEST_F() [475/648]

NES::TEST_F ( SemanticQueryValidationTest  ,
validProjectionTest   
)

References Attribute(), NES::Optimizer::SemanticQueryValidation::create(), NES::Query::from(), NES::TestUtils::logicalSourceName(), NES_INFO, NES::Spatial::Experimental::NO_LOCATION, and NES::Query::project().

Here is the call graph for this function:

◆ TEST_F() [476/648]

NES::TEST_F ( SinkTest  ,
testCSVFileSink   
)

References createCSVFileSink().

Here is the call graph for this function:

◆ TEST_F() [477/648]

NES::TEST_F ( SinkTest  ,
testCSVPrintSink   
)

References createCSVPrintSink().

Here is the call graph for this function:

◆ TEST_F() [478/648]

NES::TEST_F ( SinkTest  ,
testCSVZMQSink   
)

References createCSVZmqSink().

Here is the call graph for this function:

◆ TEST_F() [479/648]

NES::TEST_F ( SinkTest  ,
testMonitoringSink   
)

References bufferSize.

◆ TEST_F() [480/648]

NES::TEST_F ( SinkTest  ,
testNullOutSink   
)

References createNullOutputSink().

Here is the call graph for this function:

◆ TEST_F() [481/648]

NES::TEST_F ( SinkTest  ,
testRawBufferSink   
)

Writing buffer to the file using RawBufferSink, then reading from the file and comparing written and read buffers content

References createMigrateFileSink().

Here is the call graph for this function:

◆ TEST_F() [482/648]

NES::TEST_F ( SinkTest  ,
testWatermarkCsvSource   
)

References createCSVFileSink(), and NES::Runtime::TupleBuffer::setWatermark().

Here is the call graph for this function:

◆ TEST_F() [483/648]

NES::TEST_F ( SinkTest  ,
testWatermarkForZMQ   
)

References createBinaryZmqSink(), and NES::Runtime::TupleBuffer::setWatermark().

Here is the call graph for this function:

◆ TEST_F() [484/648]

NES::TEST_F ( SourceCatalogControllerTest  ,
testDeleteLogicalSource   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [485/648]

NES::TEST_F ( SourceCatalogControllerTest  ,
testGetAllLogicalSource   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [486/648]

NES::TEST_F ( SourceCatalogControllerTest  ,
testGetPhysicalSource   
)

blocking

withConnect

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [487/648]

NES::TEST_F ( SourceCatalogControllerTest  ,
testGetSchema   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [488/648]

NES::TEST_F ( SourceCatalogControllerTest  ,
testPostLogicalSource   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [489/648]

NES::TEST_F ( SourceCatalogControllerTest  ,
testUpdateLogicalSource   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [490/648]

NES::TEST_F ( SourceCatalogRemoteTest  ,
addPhysicalToExistingLogicalSourceRemote   
)

blocking

blocking

withConnect

References backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [491/648]

NES::TEST_F ( SourceCatalogRemoteTest  ,
addPhysicalToNewLogicalSourceRemote   
)

blocking

blocking

withConnect

References backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [492/648]

NES::TEST_F ( SourceCatalogRemoteTest  ,
removeNotExistingSourceRemote   
)

blocking

blocking

withConnect

References backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [493/648]

NES::TEST_F ( SourceCatalogRemoteTest  ,
removePhysicalFromNewLogicalSourceRemote   
)

blocking

blocking

withConnect

References backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [494/648]

NES::TEST_F ( SourceTest  ,
DISABLED_testDataSourceEmptySuccessors   
)

References createDefaultDataSourceWithSchemaForOneBuffer().

Here is the call graph for this function:

◆ TEST_F() [495/648]

NES::TEST_F ( SourceTest  ,
DISABLED_testDataSourceRunningRoutineKalmanFilter   
)

References ADAPTIVE_MODE, and NES::DataSource::runningRoutine().

Here is the call graph for this function:

◆ TEST_F() [496/648]

NES::TEST_F ( SourceTest  ,
TCPSourceInit   
)

Tests basic set up of TCP source

◆ TEST_F() [497/648]

NES::TEST_F ( SourceTest  ,
TCPSourcePrint   
)

Test if schema and TCP source information are the same

◆ TEST_F() [498/648]

NES::TEST_F ( SourceTest  ,
TCPSourcePrintWithChangedValues   
)

Test if schema and TCP source information are the same

◆ TEST_F() [499/648]

NES::TEST_F ( SourceTest  ,
testBinarySourceCorrectPath   
)

◆ TEST_F() [500/648]

NES::TEST_F ( SourceTest  ,
testBinarySourceFillBuffer   
)

References buffer_size.

◆ TEST_F() [501/648]

NES::TEST_F ( SourceTest  ,
testBinarySourceFillBufferContents   
)

◆ TEST_F() [502/648]

NES::TEST_F ( SourceTest  ,
testBinarySourceFillBufferRandomTimes   
)

References buffer_size.

◆ TEST_F() [503/648]

NES::TEST_F ( SourceTest  ,
testBinarySourceGetType   
)

◆ TEST_F() [504/648]

NES::TEST_F ( SourceTest  ,
testBinarySourceWrongPath   
)

◆ TEST_F() [505/648]

NES::TEST_F ( SourceTest  ,
testCSVSourceBooleanTypes   
)

References BOOLEAN, NES::Schema::create(), and NES::Runtime::MemoryLayouts::RowLayout::create().

Here is the call graph for this function:

◆ TEST_F() [506/648]

NES::TEST_F ( SourceTest  ,
testCSVSourceCommaFloatingPoint   
)

References NES::Runtime::MemoryLayouts::RowLayout::create().

Here is the call graph for this function:

◆ TEST_F() [507/648]

NES::TEST_F ( SourceTest  ,
testCSVSourceCorrectFilePath   
)

◆ TEST_F() [508/648]

NES::TEST_F ( SourceTest  ,
testCSVSourceFillBufferContentsHeaderFailure   
)

References NES::Runtime::MemoryLayouts::RowLayout::create().

Here is the call graph for this function:

◆ TEST_F() [509/648]

NES::TEST_F ( SourceTest  ,
testCSVSourceFillBufferContentsHeaderFailureColumnLayout   
)

References NES::Runtime::MemoryLayouts::RowLayout::create().

Here is the call graph for this function:

◆ TEST_F() [510/648]

NES::TEST_F ( SourceTest  ,
testCSVSourceFillBufferContentsSkipHeader   
)

References NES::Runtime::MemoryLayouts::RowLayout::create().

Here is the call graph for this function:

◆ TEST_F() [511/648]

NES::TEST_F ( SourceTest  ,
testCSVSourceFillBufferContentsSkipHeaderColumnLayout   
)

References NES::Runtime::MemoryLayouts::RowLayout::create().

Here is the call graph for this function:

◆ TEST_F() [512/648]

NES::TEST_F ( SourceTest  ,
testCSVSourceFillBufferFileEnded   
)

References NES::Runtime::MemoryLayouts::RowLayout::create(), and NES::CSVSource::fileEnded.

Here is the call graph for this function:

◆ TEST_F() [513/648]

NES::TEST_F ( SourceTest  ,
testCSVSourceFillBufferFullFile   
)

References NES::Runtime::MemoryLayouts::RowLayout::create().

Here is the call graph for this function:

◆ TEST_F() [514/648]

NES::TEST_F ( SourceTest  ,
testCSVSourceFillBufferFullFileColumnLayout   
)

References NES::Runtime::MemoryLayouts::RowLayout::create().

Here is the call graph for this function:

◆ TEST_F() [515/648]

NES::TEST_F ( SourceTest  ,
testCSVSourceFillBufferOnce   
)

References NES::Runtime::MemoryLayouts::RowLayout::create().

Here is the call graph for this function:

◆ TEST_F() [516/648]

NES::TEST_F ( SourceTest  ,
testCSVSourceFillBufferOnceColumnLayout   
)

References NES::Runtime::MemoryLayouts::ColumnLayout::create().

Here is the call graph for this function:

◆ TEST_F() [517/648]

NES::TEST_F ( SourceTest  ,
testCSVSourceFloatTypes   
)

References NES::Schema::create(), NES::Runtime::MemoryLayouts::RowLayout::create(), FLOAT32, and FLOAT64.

Here is the call graph for this function:

◆ TEST_F() [518/648]

NES::TEST_F ( SourceTest  ,
testCSVSourceGetType   
)

◆ TEST_F() [519/648]

NES::TEST_F ( SourceTest  ,
testCSVSourceIntTypes   
)

References NES::Schema::create(), NES::Runtime::MemoryLayouts::RowLayout::create(), INT16, INT32, INT64, INT8, NES_DEBUG, UINT16, UINT32, UINT64, and UINT8.

Here is the call graph for this function:

◆ TEST_F() [520/648]

NES::TEST_F ( SourceTest  ,
testCSVSourceWrongFilePath   
)

◆ TEST_F() [521/648]

NES::TEST_F ( SourceTest  ,
testDataSourceGatheringIntervalRoutineBufWithValue   
)

References NES::Runtime::Execution::ExecutableQueryPlan::create(), createCSVFileSink(), NES::Runtime::Graceful, INTERVAL_MODE, NES::Runtime::Execution::Running, and NES::Monitoring::toString().

Here is the call graph for this function:

◆ TEST_F() [522/648]

NES::TEST_F ( SourceTest  ,
testDataSourceGetOperatorId   
)

References createDefaultDataSourceWithSchemaForOneBuffer().

Here is the call graph for this function:

◆ TEST_F() [523/648]

NES::TEST_F ( SourceTest  ,
testDataSourceGetSchema   
)

References createDefaultDataSourceWithSchemaForOneBuffer().

Here is the call graph for this function:

◆ TEST_F() [524/648]

NES::TEST_F ( SourceTest  ,
testDataSourceGracefulStopSideEffect   
)

◆ TEST_F() [525/648]

NES::TEST_F ( SourceTest  ,
testDataSourceHardStopSideEffect   
)

◆ TEST_F() [526/648]

NES::TEST_F ( SourceTest  ,
testDataSourceIngestionRoutineBufWithValue   
)

References NES::Runtime::Execution::ExecutableQueryPlan::create(), createCSVFileSink(), NES::Runtime::Graceful, INGESTION_RATE_MODE, NES::Runtime::Execution::Running, and NES::Monitoring::toString().

Here is the call graph for this function:

◆ TEST_F() [527/648]

NES::TEST_F ( SourceTest  ,
testDataSourceOpen   
)

References INGESTION_RATE_MODE, NES::DataSource::open(), and size().

Here is the call graph for this function:

◆ TEST_F() [528/648]

NES::TEST_F ( SourceTest  ,
testDataSourceRunningImmediately   
)

References INTERVAL_MODE.

◆ TEST_F() [529/648]

NES::TEST_F ( SourceTest  ,
testDataSourceRunningRoutineGatheringInterval   
)

References NES::MockDataSource::create(), and INTERVAL_MODE.

Here is the call graph for this function:

◆ TEST_F() [530/648]

NES::TEST_F ( SourceTest  ,
testDataSourceRunningRoutineIngestion   
)

References INGESTION_RATE_MODE, and NES::DataSource::runningRoutine().

Here is the call graph for this function:

◆ TEST_F() [531/648]

NES::TEST_F ( SourceTest  ,
testDataSourceStartSideEffectRunningTrue   
)

◆ TEST_F() [532/648]

NES::TEST_F ( SourceTest  ,
testDataSourceStartTwiceNoSideEffect   
)

◆ TEST_F() [533/648]

NES::TEST_F ( SourceTest  ,
testDataSourceStopImmediately   
)

◆ TEST_F() [534/648]

NES::TEST_F ( SourceTest  ,
testDataSourceStopSideEffect   
)

◆ TEST_F() [535/648]

NES::TEST_F ( SourceTest  ,
testDefaultSourceGetType   
)

◆ TEST_F() [536/648]

NES::TEST_F ( SourceTest  ,
testDefaultSourceReceiveData   
)

References NES::DataSource::open().

Here is the call graph for this function:

◆ TEST_F() [537/648]

NES::TEST_F ( SourceTest  ,
testGeneratorSourceGetType   
)

References INGESTION_RATE_MODE.

◆ TEST_F() [538/648]

NES::TEST_F ( SourceTest  ,
testIngestionRateFromQuery   
)

◆ TEST_F() [539/648]

NES::TEST_F ( SourceTest  ,
testLambdaSourceInitAndTypeIngestion   
)

References NES::Runtime::TupleBuffer::getBuffer(), INGESTION_RATE_MODE, and time.

Here is the call graph for this function:

◆ TEST_F() [540/648]

NES::TEST_F ( SourceTest  ,
testLambdaSourceInitAndTypeInterval   
)

References NES::Runtime::TupleBuffer::getBuffer(), INTERVAL_MODE, and time.

Here is the call graph for this function:

◆ TEST_F() [541/648]

NES::TEST_F ( StatisticRegistryTest  ,
complexConcurrentStatisticsTest   
)

This tests checks, if we can insert and retrieve multiple statistics concurrently.

References createRandomStatisticInfo(), and createRandomStatisticKey().

Here is the call graph for this function:

◆ TEST_F() [542/648]

NES::TEST_F ( StatisticRegistryTest  ,
multipleStatisticsTest   
)

This tests checks, if we can insert and retrieve multiple statistics.

References createRandomStatisticInfo(), and createRandomStatisticKey().

Here is the call graph for this function:

◆ TEST_F() [543/648]

NES::TEST_F ( StatisticRegistryTest  ,
singleStatisticTest   
)

This tests checks, if we can insert and retrieve one statistic.

References createRandomStatisticInfo(), and createRandomStatisticKey().

Here is the call graph for this function:

◆ TEST_F() [544/648]

NES::TEST_F ( SyntacticQueryValidationTest  ,
attributeRenameOutsideProjection   
)

References NES_INFO.

◆ TEST_F() [545/648]

NES::TEST_F ( SyntacticQueryValidationTest  ,
invalidBoolOperatorTest   
)

References NES_INFO.

◆ TEST_F() [546/648]

NES::TEST_F ( SyntacticQueryValidationTest  ,
missingClosingParenthesisTest   
)

References NES_INFO.

◆ TEST_F() [547/648]

NES::TEST_F ( SyntacticQueryValidationTest  ,
missingSemicolonTest   
)

References NES_INFO.

◆ TEST_F() [548/648]

NES::TEST_F ( SyntacticQueryValidationTest  ,
typoInFilterTest   
)

References NES_INFO.

◆ TEST_F() [549/648]

NES::TEST_F ( SyntacticQueryValidationTest  ,
validAttributeRenameFromProjectOperator   
)

References NES::Optimizer::SyntacticQueryValidation::create(), and NES_INFO.

Here is the call graph for this function:

◆ TEST_F() [550/648]

NES::TEST_F ( SyntacticQueryValidationTest  ,
validQueryTest   
)

References NES::Optimizer::SyntacticQueryValidation::create(), and NES_INFO.

Here is the call graph for this function:

◆ TEST_F() [551/648]

NES::TEST_F ( SyntacticQueryValidationTest  ,
validQueryWithInferModelOperatorTest   
)

References NES::Optimizer::SyntacticQueryValidation::create(), and NES_INFO.

Here is the call graph for this function:

◆ TEST_F() [552/648]

NES::TEST_F ( TCPSourceIntegrationTest  ,
DISABLED_TCPSourceReadCSVData   
)

This test is written to check the proper functioning of our TCP data generator (more details on https://github.com/nebulastream/tcp-data-generator). The data generator is capable of producing data at a high even rate. Make sure that the data generator is running locally before starting this test. Last time tested by running: ./tcp-data-generator –host 127.0.0.1 -p 3000 -b 100 -t 1 -f 1000 -w 1000 This test has two purpose:

  1. It checks the feature to read data from a persistent TCP session. This feature allows us to consume data from an existing socket file descriptor. Allowing us to easily mimic a persistent queuing system like, Kafka, or MQTT.
  2. It tests that when we are reconfiguring a running query, we are not losing data generated by the TCP data generator during the time query is down. Expected behaviour is that we continue reading the data from the location where we left it.

blocking

blocking

withConnect

References NES::Optimizer::BottomUp, NES::TestUtils::checkCompleteOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), NES::Schema::create(), NES::Query::from(), backward::details::move(), NES_DEBUG, NES_ERROR, NES_INFO, NES::TestUtils::restPort(), NES::Query::sink(), UINT64, and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [553/648]

NES::TEST_F ( TCPSourceIntegrationTest  ,
TCPSourceReadCSVDataLengthFromSocket   
)

tests TCPSource read of CSV data when obtaining the size of the data from the socket. Constant length

blocking

blocking

withConnect

References NES::Optimizer::BottomUp, NES::TestUtils::checkCompleteOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), NES::Schema::create(), NES::DataTypeFactory::createFixedChar(), FLOAT32, NES::Query::from(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), NES::Query::sink(), UINT32, and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [554/648]

NES::TEST_F ( TCPSourceIntegrationTest  ,
TCPSourceReadCSVDataWithFixedSize   
)

tests TCPSource read of CSV data with fixed length inputted at source creation time

blocking

blocking

withConnect

References NES::Optimizer::BottomUp, NES::TestUtils::checkCompleteOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), NES::Schema::create(), NES::DataTypeFactory::createFixedChar(), FLOAT32, NES::Query::from(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), NES::Query::sink(), UINT32, and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [555/648]

NES::TEST_F ( TCPSourceIntegrationTest  ,
TCPSourceReadCSVDataWithSeparatorToken   
)

tests TCPSource read of csv data that is seperated by a given token. Here
is used

blocking

blocking

withConnect

References BOOLEAN, NES::Optimizer::BottomUp, NES::TestUtils::checkCompleteOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), NES::Schema::create(), FLOAT32, NES::Query::from(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), NES::Query::sink(), UINT32, and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [556/648]

NES::TEST_F ( TCPSourceIntegrationTest  ,
TCPSourceReadCSVWithVariableLength   
)

tests TCPSource read of CSV data when obtaining the size of the data from the socket. Variable length

blocking

blocking

withConnect

References NES::Optimizer::BottomUp, NES::TestUtils::checkCompleteOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), NES::Schema::create(), NES::DataTypeFactory::createFixedChar(), FLOAT32, NES::Query::from(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), NES::Query::sink(), UINT32, and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [557/648]

NES::TEST_F ( TCPSourceIntegrationTest  ,
TCPSourceReadJSONDataLengthFromSocket   
)

tests TCPSource read of JSON data when obtaining the size of the data from the socket. Constant length

blocking

blocking

withConnect

References NES::Optimizer::BottomUp, NES::TestUtils::checkCompleteOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), NES::Schema::create(), NES::DataTypeFactory::createFixedChar(), FLOAT32, NES::Query::from(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), NES::Query::sink(), UINT32, and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [558/648]

NES::TEST_F ( TCPSourceIntegrationTest  ,
TCPSourceReadJSONDataWithFixedSize   
)

tests TCPSource read of CSV data with fixed length inputted at source creation time

blocking

blocking

withConnect

References NES::Optimizer::BottomUp, NES::TestUtils::checkCompleteOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), NES::Schema::create(), NES::DataTypeFactory::createFixedChar(), FLOAT32, NES::Query::from(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), NES::Query::sink(), UINT32, and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [559/648]

NES::TEST_F ( TCPSourceIntegrationTest  ,
TCPSourceReadJSONDataWithSeparatorToken   
)

tests TCPSource read of JSON data that is seperated by a given token. Here
is used

blocking

blocking

withConnect

References NES::Optimizer::BottomUp, NES::TestUtils::checkCompleteOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), NES::Schema::create(), NES::DataTypeFactory::createFixedChar(), FLOAT32, NES::Query::from(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), NES::Query::sink(), UINT32, and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [560/648]

NES::TEST_F ( TCPSourceIntegrationTest  ,
TCPSourceReadJSONDataWithVariableLength   
)

tests TCPSource read of CSV data when obtaining the size of the data from the socket. Variable length

blocking

blocking

withConnect

References NES::Optimizer::BottomUp, NES::TestUtils::checkCompleteOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), NES::Schema::create(), NES::DataTypeFactory::createFixedChar(), FLOAT32, NES::Query::from(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), NES::Query::sink(), UINT32, and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [561/648]

NES::TEST_F ( TCPSourceTest  ,
TCPSourceBufferSizeFromSocketNesFormatPrint   
)

Test TCPSource Construction via PhysicalSourceFactory from YAML

◆ TEST_F() [562/648]

NES::TEST_F ( TCPSourceTest  ,
TCPSourceBufferSizeFromSocketPrint   
)

Test TCPSource Construction via PhysicalSourceFactory from YAML

◆ TEST_F() [563/648]

NES::TEST_F ( TCPSourceTest  ,
TCPSourceTupleSeparatorPrint   
)

Test TCPSource Construction via PhysicalSourceFactory from YAML

◆ TEST_F() [564/648]

NES::TEST_F ( TCPSourceTest  ,
TCPSourceUserSpecifiedTupleSizePrint   
)

Test TCPSource Construction via PhysicalSourceFactory from YAML

References createTCPSource(), NUMSOURCELOCALBUFFERS, OPERATORID, ORIGINID, Yaml::Parse(), setup_read_from_buffer(), NES::TestUtils::sourceType(), STATISTICID, and SUCCESSORS.

Here is the call graph for this function:

◆ TEST_F() [565/648]

◆ TEST_F() [566/648]

◆ TEST_F() [567/648]

◆ TEST_F() [568/648]

NES::TEST_F ( TestHarnessUtilTest  ,
testHarnessUtilPushToNonExsistentSource   
)

References Attribute(), NES::Query::filter(), NES::Query::from(), NES::TestHarness::getWorkerCount(), NES::TestHarness::pushElement(), NES::TestUtils::restPort(), timestamp, and magic_enum::detail::value().

Here is the call graph for this function:

◆ TEST_F() [569/648]

NES::TEST_F ( TestHarnessUtilTest  ,
testHarnessUtilPushToWrongSource   
)

◆ TEST_F() [570/648]

NES::TEST_F ( TestHarnessUtilTest  ,
testHarnessUtilWithNoSources   
)

References Attribute(), NES::Query::filter(), NES::Query::from(), NES::TestUtils::restPort(), timestamp, and magic_enum::detail::value().

Here is the call graph for this function:

◆ TEST_F() [571/648]

◆ TEST_F() [572/648]

◆ TEST_F() [573/648]

◆ TEST_F() [574/648]

◆ TEST_F() [575/648]

NES::TEST_F ( TestHarnessUtilTest  ,
testHarnessWithHiearchyInTopology   
)

Expected topology: PhysicalNode[id=1, ip=127.0.0.1, resourceCapacity=65535, usedResource=0] |–PhysicalNode[id=2, ip=127.0.0.1, resourceCapacity=8, usedResource=0] | |–PhysicalNode[id=3, ip=127.0.0.1, resourceCapacity=8, usedResource=0] | | |–PhysicalNode[id=5, ip=127.0.0.1, resourceCapacity=8, usedResource=0] | | |–PhysicalNode[id=4, ip=127.0.0.1, resourceCapacity=8, usedResource=0]

References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerToCoordinator(), NES::TestHarness::attachWorkerToWorkerWithId(), NES::TestHarness::attachWorkerWithMemorySourceToWorkerWithId(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::Query::from(), NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::TestSchemas::getSchemaTemplate(), NES::TestHarness::getTopology(), NES::Query::map(), NES_DEBUG, NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), timestamp, and magic_enum::detail::value().

Here is the call graph for this function:

◆ TEST_F() [576/648]

◆ TEST_F() [577/648]

NES::TEST_F ( ThreadNamingTest  ,
testThreadNaming   
)

References setThreadName().

Here is the call graph for this function:

◆ TEST_F() [578/648]

NES::TEST_F ( TopologyControllerTest  ,
testaddAsChild   
)

blocking

withConnect

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, backward::details::move(), NES_DEBUG, NES::TestUtils::restPort(), NES::TestUtils::startCoordinator(), and NES::TestUtils::waitForWorkers().

Here is the call graph for this function:

◆ TEST_F() [579/648]

NES::TEST_F ( TopologyControllerTest  ,
testaddAsChildAlreadyExists   
)

blocking

withConnect

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, backward::details::move(), NES_DEBUG, NES::TestUtils::restPort(), NES::TestUtils::startCoordinator(), and NES::TestUtils::waitForWorkers().

Here is the call graph for this function:

◆ TEST_F() [580/648]

NES::TEST_F ( TopologyControllerTest  ,
testaddAsChildMissingChildId   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_DEBUG, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [581/648]

NES::TEST_F ( TopologyControllerTest  ,
testaddAsChildMissingParentId   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_DEBUG, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [582/648]

NES::TEST_F ( TopologyControllerTest  ,
testaddAsChildNoSuchChild   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_DEBUG, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [583/648]

NES::TEST_F ( TopologyControllerTest  ,
testaddAsChildNoSuchParent   
)

blocking

withConnect

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, backward::details::move(), NES_DEBUG, NES::TestUtils::restPort(), NES::TestUtils::startCoordinator(), and NES::TestUtils::waitForWorkers().

Here is the call graph for this function:

◆ TEST_F() [584/648]

NES::TEST_F ( TopologyControllerTest  ,
testaddAsChildSameChildAndParent   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_DEBUG, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [585/648]

NES::TEST_F ( TopologyControllerTest  ,
testAddParentInvalidChildId   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_DEBUG, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [586/648]

NES::TEST_F ( TopologyControllerTest  ,
testAddParentInvalidParentId   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_DEBUG, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [587/648]

NES::TEST_F ( TopologyControllerTest  ,
testAddParentSuccess   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_DEBUG, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [588/648]

NES::TEST_F ( TopologyControllerTest  ,
testGetTopology   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_DEBUG, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [589/648]

NES::TEST_F ( TopologyControllerTest  ,
testRemoveChildSuccess   
)

blocking

withConnect

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, backward::details::move(), NES_DEBUG, NES::TestUtils::restPort(), NES::TestUtils::startCoordinator(), and NES::TestUtils::waitForWorkers().

Here is the call graph for this function:

◆ TEST_F() [590/648]

NES::TEST_F ( TopologyControllerTest  ,
testRemoveParentChildIDIsNotChildOfParent   
)

blocking

withConnect

blocking

withConnect

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, backward::details::move(), NES_DEBUG, NES::TestUtils::restPort(), NES::TestUtils::startCoordinator(), and NES::TestUtils::waitForWorkers().

Here is the call graph for this function:

◆ TEST_F() [591/648]

NES::TEST_F ( TupleBufferTest  ,
testCopyAndSwap   
)

◆ TEST_F() [592/648]

NES::TEST_F ( TupleBufferTest  ,
testPrintingOfTupleBuffer   
)

References __attribute__(), NES::jni::createDouble(), NES::jni::createFloat(), and NES_DEBUG.

Here is the call graph for this function:

◆ TEST_F() [593/648]

NES::TEST_F ( UDFCatalogControllerTest  ,
getUdfDescriptorReturnsUdf   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [594/648]

NES::TEST_F ( UDFCatalogControllerTest  ,
testErrorIfUnknownEndpointIsUsed   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [595/648]

NES::TEST_F ( UDFCatalogControllerTest  ,
testGetUdfDescriptorIfNoUdfExists   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [596/648]

NES::TEST_F ( UDFCatalogControllerTest  ,
testIfListUdfsEndpointHandlesMissingQueryParameters   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [597/648]

NES::TEST_F ( UDFCatalogControllerTest  ,
testIfListUdfsEndpointReturnsListAsExpected   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [598/648]

NES::TEST_F ( UDFCatalogControllerTest  ,
testIfListUdfsReturnsEmptyUdfList   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [599/648]

NES::TEST_F ( UDFCatalogControllerTest  ,
testIfRegisterEndpointHandlesExceptionsWithoutReturningAStackTrace   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::ProtobufMessageFactory::createDefaultRegisterJavaUdfRequest(), NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [600/648]

NES::TEST_F ( UDFCatalogControllerTest  ,
testIfRegisterUdfEndpointCorrectlyAddsUDF   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::ProtobufMessageFactory::createDefaultRegisterJavaUdfRequest(), NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [601/648]

NES::TEST_F ( UDFCatalogControllerTest  ,
testIfRemoveUdfEndpointHandlesExtraQueryParametersCorrectly   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [602/648]

NES::TEST_F ( UDFCatalogControllerTest  ,
testRemoveUdfEndpoint   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [603/648]

NES::TEST_F ( UDFCatalogControllerTest  ,
testRemoveUdfEndpointHandlesMissingQueryParametersCorrectly   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [604/648]

NES::TEST_F ( UDFCatalogControllerTest  ,
testRemoveUdfEndpointIfUdfDoesNotExist   
)

References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().

Here is the call graph for this function:

◆ TEST_F() [605/648]

◆ TEST_F() [606/648]

◆ TEST_F() [607/648]

NES::TEST_F ( UnionDeploymentTest  ,
testOneFilterPushDownWithMergeOfTwoDifferentSources   
)

◆ TEST_F() [608/648]

NES::TEST_F ( UnionDeploymentTest  ,
testPushingTwoFiltersAlreadyBelowAndMergeOfTwoDifferentSources   
)

◆ TEST_F() [609/648]

NES::TEST_F ( UnionDeploymentTest  ,
testPushingTwoFiltersBelowAndTwoFiltersAlreadyAtBottomWithMergeOfTwoDifferentSources   
)

◆ TEST_F() [610/648]

NES::TEST_F ( UpdateTopologyRemoteTest  ,
addAndRemovePathWithOwnId   
)

blocking

blocking

withConnect

blocking

withConnect

References backward::details::move(), NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [611/648]

NES::TEST_F ( UpdateTopologyRemoteTest  ,
addAndRemovePathWithOwnIdAndSelf   
)

blocking

blocking

withConnect

blocking

withConnect

References backward::details::move(), NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [612/648]

NES::TEST_F ( UserDefinedMonitoringTest  ,
testJsonRuntimeConcepts   
)

References NES::Monitoring::asJson(), NES::Monitoring::MonitoringCatalog::defaultCatalog(), NES::Monitoring::MonitoringPlan::defaultPlan(), magic_enum::enum_name(), NES_DEBUG, and type.

Here is the call graph for this function:

◆ TEST_F() [613/648]

NES::TEST_F ( UserDefinedMonitoringTest  ,
testRuntimeConcepts   
)

References NES::Monitoring::asJson(), and NES_DEBUG.

Here is the call graph for this function:

◆ TEST_F() [614/648]

◆ TEST_F() [615/648]

◆ TEST_F() [616/648]

◆ TEST_F() [617/648]

NES::TEST_F ( WatermarkManagerTest  ,
concurrentWatermarkUpdaterMultipleOriginsTest   
)

◆ TEST_F() [618/648]

NES::TEST_F ( WatermarkManagerTest  ,
concurrentWatermarkUpdaterTest   
)

◆ TEST_F() [619/648]

NES::TEST_F ( WatermarkManagerTest  ,
singleThreadWatermarkUpdaterMultipleOriginsOutofOrderTest   
)

◆ TEST_F() [620/648]

NES::TEST_F ( WatermarkManagerTest  ,
singleThreadWatermarkUpdaterMultipleOriginsTest   
)

◆ TEST_F() [621/648]

NES::TEST_F ( WatermarkManagerTest  ,
singleThreadWatermarkUpdaterTest   
)

◆ TEST_F() [622/648]

NES::TEST_F ( WindowDeploymentTest  ,
DISABLED_testDeployDistributedTumblingWindowQueryEventTimeTimeUnit   
)

◆ TEST_F() [623/648]

NES::TEST_F ( WindowDeploymentTest  ,
DISABLED_testDeploymentOfWindowWitCharKey   
)

◆ TEST_F() [624/648]

NES::TEST_F ( WindowDeploymentTest  ,
DISABLED_testDeploymentOfWindowWithBoolKey   
)

◆ TEST_F() [625/648]

NES::TEST_F ( WindowDeploymentTest  ,
DISABLED_testDeploymentOfWindowWithFixedChar   
)

◆ TEST_F() [626/648]

◆ TEST_F() [627/648]

NES::TEST_F ( WindowDeploymentTest  ,
testCentralNonKeySlidingWindowEventTime   
)

◆ TEST_F() [628/648]

NES::TEST_F ( WindowDeploymentTest  ,
testCentralNonKeyTumblingWindowEventTime   
)

◆ TEST_F() [629/648]

NES::TEST_F ( WindowDeploymentTest  ,
testCentralNonKeyTumblingWindowIngestionTime   
)

test central tumbling window and event time

blocking

blocking

withConnect

References Attribute(), NES::TestUtils::checkFileCreationOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), NES::API::IngestionTime(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), NES::API::Seconds(), NES::API::Sum(), and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_F() [630/648]

◆ TEST_F() [631/648]

◆ TEST_F() [632/648]

◆ TEST_F() [633/648]

◆ TEST_F() [634/648]

◆ TEST_F() [635/648]

◆ TEST_F() [636/648]

◆ TEST_F() [637/648]

◆ TEST_F() [638/648]

◆ TEST_F() [639/648]

◆ TEST_F() [640/648]

◆ TEST_F() [641/648]

NES::TEST_F ( WorkerCoordinatorStarterTest  ,
startConnectDisconnectStopWorkerCoordinator   
)

blocking

blocking

withConnect

References backward::details::move(), and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [642/648]

NES::TEST_F ( WorkerCoordinatorStarterTest  ,
startConnectStopWithoutDisconnectWorkerCoordinator   
)

blocking

blocking

withConnect

References backward::details::move(), and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [643/648]

NES::TEST_F ( WorkerCoordinatorStarterTest  ,
startConnectStopWorkerCoordinator   
)

blocking

blocking

withConnect

References backward::details::move(), and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [644/648]

NES::TEST_F ( WorkerCoordinatorStarterTest  ,
startReconnectStopWorkerCoordinator   
)

blocking

blocking

withConnect

References backward::details::move(), and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [645/648]

NES::TEST_F ( WorkerCoordinatorStarterTest  ,
startStopCoordinatorWorker   
)

blocking

blocking

withConnect

References backward::details::move(), and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [646/648]

NES::TEST_F ( WorkerCoordinatorStarterTest  ,
startStopWorkerCoordinator   
)

blocking

blocking

withConnect

References backward::details::move(), NES_INFO, and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [647/648]

NES::TEST_F ( WorkerCoordinatorStarterTest  ,
startStopWorkerCoordinator10times   
)

blocking

blocking

withConnect

References backward::details::move(), and NES::TestUtils::restPort().

Here is the call graph for this function:

◆ TEST_F() [648/648]

NES::TEST_F ( YSBDeploymentTest  ,
testYSBWindow   
)

test ysb query deployment

blocking

blocking

withConnect

References __attribute__(), Attribute(), NES::TestUtils::checkIfOutputFileIsNotEmtpy(), NES::TestUtils::checkStoppedOrTimeout(), NES::API::EventTime(), NES::Runtime::TupleBuffer::getBuffer(), ip, NES::API::Milliseconds(), backward::details::move(), NES_DEBUG, NES_INFO, NES_WARNING, NES::TestUtils::restPort(), NES::API::Sum(), NES::Monitoring::toString(), and NES::TestUtils::waitForQueryToStart().

Here is the call graph for this function:

◆ TEST_P() [1/24]

NES::TEST_P ( AsyncTaskExecutorTest  ,
startAndDestroy   
)

◆ TEST_P() [2/24]

NES::TEST_P ( AsyncTaskExecutorTest  ,
submitConcatenatedTasks   
)

References NES_DEBUG.

◆ TEST_P() [3/24]

NES::TEST_P ( AsyncTaskExecutorTest  ,
submitTask   
)

◆ TEST_P() [4/24]

NES::TEST_P ( AsyncTaskExecutorTest  ,
submitTaskWithStoppedExecutor   
)

◆ TEST_P() [5/24]

◆ TEST_P() [6/24]

◆ TEST_P() [7/24]

◆ TEST_P() [8/24]

◆ TEST_P() [9/24]

◆ TEST_P() [10/24]

NES::TEST_P ( MultiThreadedTest  ,
DISABLED_testFilterQuery   
)

References Attribute(), NES::Query::filter(), NES::TestQuery::from(), NES::TestSchemas::getSchemaTemplate(), operator==(), NES::Query::sink(), timestamp, and magic_enum::detail::value().

Here is the call graph for this function:

◆ TEST_P() [11/24]

NES::TEST_P ( MultiThreadedTest  ,
DISABLED_testMultipleNonKeyedEventTimeTumblingWindows   
)

References NES::WindowOperatorBuilder::WindowedQuery::apply(), Attribute(), NES::API::EventTime(), NES::Query::filter(), NES::TestQuery::from(), NES::TestSchemas::getSchemaTemplate(), NES::API::Seconds(), NES::Query::sink(), NES::API::Sum(), and NES::Query::window().

Here is the call graph for this function:

◆ TEST_P() [12/24]

NES::TEST_P ( MultiThreadedTest  ,
DISABLED_testNonKeyedEventTimeTumblingWindowAggregation   
)

References NES::WindowOperatorBuilder::WindowedQuery::apply(), Attribute(), NES::API::EventTime(), NES::TestQuery::from(), NES::TestSchemas::getSchemaTemplate(), NES::API::Seconds(), NES::Query::sink(), NES::API::Sum(), and NES::Query::window().

Here is the call graph for this function:

◆ TEST_P() [13/24]

NES::TEST_P ( MultiThreadedTest  ,
testKeyedEventTimeTumblingWindowAggregation   
)

◆ TEST_P() [14/24]

NES::TEST_P ( MultiThreadedTest  ,
testMultipleKeyedEventTimeTumblingWindows   
)

◆ TEST_P() [15/24]

NES::TEST_P ( MultiThreadedTest  ,
testNonKeyedEventTimeSlidingWindowAggregation   
)

References NES::WindowOperatorBuilder::WindowedQuery::apply(), Attribute(), NES::API::EventTime(), NES::TestQuery::from(), NES::TestSchemas::getSchemaTemplate(), NES::API::Milliseconds(), NES::Query::sink(), NES::API::Sum(), and NES::Query::window().

Here is the call graph for this function:

◆ TEST_P() [16/24]

NES::TEST_P ( MultiThreadedTest  ,
testProjectQuery   
)

References Attribute(), NES::Query::filter(), NES::TestQuery::from(), NES::TestSchemas::getSchemaTemplate(), operator==(), and NES::Query::project().

Here is the call graph for this function:

◆ TEST_P() [17/24]

NES::TEST_P ( QueryRedeploymentIntegrationTest  ,
DISABLED_testAsyncConnectingSink   
)

This tests the asynchronous connection establishment, where the sink buffers incoming tuples while waiting for the network channel to become available.

blocking

blocking

withConnect

References NES::Optimizer::BottomUp, NES::TestUtils::checkOutputOrTimeout(), NES::Schema::create(), createField(), INTERVAL_MODE, backward::details::move(), NES_INFO, NES::TestUtils::restPort(), UINT64, and magic_enum::detail::value().

Here is the call graph for this function:

◆ TEST_P() [18/24]

NES::TEST_P ( StatisticIdsExtractorTest  ,
noOperators   
)

Tests if we extract the correct statistic ids for a query containing two physical sources and no operator. With this test case, we simulate a data or workload characteristic.

References NES::Query::buildStatistic(), expandAlsoOperators, NES::Statistic::StatisticIdsExtractor::extractStatisticIdsFromQueryPlan(), NES::Query::from(), and NES::Query::sink().

Here is the call graph for this function:

◆ TEST_P() [19/24]

NES::TEST_P ( StatisticIdsExtractorTest  ,
oneOperator   
)

Tests if we extract the correct statistic ids for a query containing one operator.

References Attribute(), NES::Query::buildStatistic(), expandAlsoOperators, NES::Statistic::StatisticIdsExtractor::extractStatisticIdsFromQueryPlan(), NES::Query::from(), NES::Query::map(), and NES::Query::sink().

Here is the call graph for this function:

◆ TEST_P() [20/24]

NES::TEST_P ( StatisticIdsExtractorTest  ,
twoOperators   
)

Tests if we extract the correct statistic ids for a query containing two operators.

References Attribute(), NES::Query::buildStatistic(), expandAlsoOperators, NES::Statistic::StatisticIdsExtractor::extractStatisticIdsFromQueryPlan(), NES::Query::filter(), NES::Query::from(), NES::Query::map(), and NES::Query::sink().

Here is the call graph for this function:

◆ TEST_P() [21/24]

NES::TEST_P ( StatisticIdsExtractorTest  ,
twoOperatorsAlreadyContainingWatermark   
)

Tests if we extract the correct statistic ids for a query containing two operators that already contains a watermark assignment operator.

References NES::Query::assignWatermark(), Attribute(), NES::Query::buildStatistic(), expandAlsoOperators, NES::Statistic::StatisticIdsExtractor::extractStatisticIdsFromQueryPlan(), NES::Query::filter(), NES::Query::from(), NES::Query::map(), and NES::Query::sink().

Here is the call graph for this function:

◆ TEST_P() [22/24]

NES::TEST_P ( StatisticSinkTest  ,
testCountMin   
)

Tests if our statistic sink can put CountMin-Sketches into the StatisticStore.

References NES::Statistic::COUNT_MIN, NES::Schema::create(), createStatisticSink(), NES::DataTypeFactory::createText(), NES::Runtime::NesThread::getId(), and UINT64.

Here is the call graph for this function:

◆ TEST_P() [23/24]

NES::TEST_P ( StatisticSinkTest  ,
testHyperLogLog   
)

Tests if our statistic sink can put HyperLogLog-Sketches into the StatisticStore.

References NES::Schema::create(), createStatisticSink(), NES::DataTypeFactory::createText(), FLOAT64, NES::Runtime::NesThread::getId(), NES::Statistic::HLL, and UINT64.

Here is the call graph for this function:

◆ TEST_P() [24/24]

NES::TEST_P ( StatisticsIntegrationTest  ,
singleTrackAndProbeDataCharacteristic   
)

Test case for creating a statistic, probing it and deleting it for a cardinality.

References Attribute(), NES::API::EventTime(), NES::TestUtils::logicalSourceName(), and NES::API::Milliseconds().

Here is the call graph for this function:

◆ testOutput() [1/2]

void NES::testOutput ( const std::string &  path)

Helper Methods

References expectedOutput.

◆ testOutput() [2/2]

void NES::testOutput ( const std::string &  path,
const std::string &  expectedOutput 
)

References expectedOutput.

Referenced by TEST_F().

Here is the caller graph for this function:

◆ to_json()

void NES::to_json ( nlohmann::json &  json,
const QueryStateHistoryEntry queryState 
)

◆ toExpressionNodePtr()

template<typename T , typename = std::enable_if_t<std::disjunction_v<std::is_same<std::decay_t<T>, ExpressionNodePtr>, std::is_same<std::decay_t<T>, ExpressionItem>, std::is_constructible<ExpressionItem, std::decay_t<T>>>>>
auto NES::toExpressionNodePtr ( T &&  t) -> ExpressionNodePtr
inline

Defines common operations on at least one operator which is not of type ExpressionNodePtr but either a constant or an instance of the type ExpressionItem.

Utility which converts a constant or an expression item to an ExpressionNodePtr.

References NES::ExpressionItem::getExpressionNode().

Referenced by operator!=(), operator&&(), operator<(), operator<=(), operator==(), operator>(), operator>=(), and operator||().

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

◆ WHEN() [1/4]

ExpressionNodePtr NES::WHEN ( const ExpressionNodePtr conditionExp,
const ExpressionNodePtr valueExp 
)

WHEN(condition,value) can only be used as part of the left vector in a CASE() expression. Allows to only return the value expression if condition is met.

Parameters
conditionExp: a logical condition which will be evaluated.
valueExp: the value to return if the condition is the first true one.

References backward::details::move().

Referenced by TEST_F(), and WHEN().

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

◆ WHEN() [2/4]

ExpressionNodePtr NES::WHEN ( ExpressionItem  conditionExp,
ExpressionItem  valueExp 
)

References NES::ExpressionItem::getExpressionNode(), and WHEN().

Here is the call graph for this function:

◆ WHEN() [3/4]

ExpressionNodePtr NES::WHEN ( ExpressionItem  conditionExp,
ExpressionNodePtr  valueExp 
)

References NES::ExpressionItem::getExpressionNode(), backward::details::move(), and WHEN().

Here is the call graph for this function:

◆ WHEN() [4/4]

ExpressionNodePtr NES::WHEN ( ExpressionNodePtr  conditionExp,
ExpressionItem  valueExp 
)

References NES::ExpressionItem::getExpressionNode(), backward::details::move(), and WHEN().

Here is the call graph for this function:

◆ writeWaypointsToCsv()

void NES::writeWaypointsToCsv ( const std::string &  csvPath,
const std::vector< NES::Spatial::DataTypes::Experimental::Waypoint > &  waypoints 
)

write mobile device path waypoints to a csv file to use as input for the LocationProviderCSV class

Parameters
csvPathpath to the output file
waypointsa vector of waypoints to be written to the file

Referenced by NES::LocationProviderCSVTest::SetUp(), NES::Spatial::LocationIntegrationTests::SetUpTestCase(), and NES::LocationControllerIntegrationTest::SetUpTestCase().

Here is the caller graph for this function:

Variable Documentation

◆ AVAILABLE_NODES_KEY

const std::string NES::AVAILABLE_NODES_KEY = "availNodes"

◆ buffer_size

const size_t NES::buffer_size = 32 * 1024

Referenced by TEST_F().

◆ buffers_managed

const size_t NES::buffers_managed = 1024

Referenced by TEST_F().

◆ buffersInserted

const size_t NES::buffersInserted = 101

Referenced by TEST_F().

◆ bufferSize

◆ buffersManaged

const uint64_t NES::buffersManaged = 8 * 1024

Referenced by NES::Network::TEST_F().

◆ CHILDREN_KEY

const std::string NES::CHILDREN_KEY = "children"

◆ CONSTRAINT_KEY

const std::string NES::CONSTRAINT_KEY = "constraint"

◆ ContainsString

template<class... Types>
concept NES::ContainsString = requires { requires(std::is_same_v<std::string, Types> || ...); }

This concept checks via tuple unpacking if Types contains at least one string.

Template Parameters
Types

◆ DATA_CHANNEL_RETRY_TIMES

constexpr uint32_t NES::DATA_CHANNEL_RETRY_TIMES = 10
constexpr

◆ defaultTimeoutInSec

constexpr std::chrono::duration<int64_t, std::milli> NES::defaultTimeoutInSec = std::chrono::seconds(TestUtils::defaultTimeout)
constexpr

◆ DEVICE_ID_KEY

const std::string NES::DEVICE_ID_KEY = "deviceID"

◆ DEVICES_KEY

const std::string NES::DEVICES_KEY = "devices"

◆ emptyBuffer

const size_t NES::emptyBuffer = 0

Referenced by TEST_F().

◆ EVENT_CHANNEL_RETRY_TIMES

constexpr uint32_t NES::EVENT_CHANNEL_RETRY_TIMES = 1
constexpr

◆ expandAlsoOperators

constexpr auto NES::expandAlsoOperators = false
constexpr

Referenced by TEST_P().

◆ expectedOutput

◆ hardware_constructive_interference_size

constexpr std::size_t NES::hardware_constructive_interference_size = 64
constexpr

◆ hardware_destructive_interference_size

constexpr std::size_t NES::hardware_destructive_interference_size = 64
constexpr

◆ INPUT_DATA_KEY

const std::string NES::INPUT_DATA_KEY = "inputData"

◆ IsArray

template<class Type >
concept NES::IsArray = std::is_fundamental_v<std::remove_pointer_t<Type>> || std::is_base_of_v<NESType, Type>

◆ IsBool

template<class Type >
concept NES::IsBool = std::is_same_v<std::remove_cvref_t<Type>, bool>

◆ IsChar

template<class Type >
concept NES::IsChar = std::is_same_v<std::remove_cvref_t<Type>, char>

◆ IsDouble

template<class Type >
concept NES::IsDouble = std::is_same_v<std::remove_cvref_t<Type>, double>

◆ IsFloat

template<class Type >
concept NES::IsFloat = std::is_same_v<std::remove_cvref_t<Type>, float>

◆ IsInt16

template<class Type >
concept NES::IsInt16 = std::is_same_v<std::remove_cvref_t<Type>, std::int16_t>

◆ IsInt32

template<class Type >
concept NES::IsInt32 = std::is_same_v<std::remove_cvref_t<Type>, std::int32_t>

◆ IsInt64

template<class Type >
concept NES::IsInt64 = std::is_same_v<std::remove_cvref_t<Type>, std::int64_t>

◆ IsInt8

template<class Type >
concept NES::IsInt8 = std::is_same_v<std::remove_cvref_t<Type>, std::int8_t>

◆ IsNesType

template<class Type >
concept NES::IsNesType
Initial value:
=
std::is_fundamental_v<Type> || std::is_fundamental_v<std::remove_pointer_t<Type>> || std::is_base_of_v<NESType, Type>

◆ IsString

template<class Type >
concept NES::IsString = std::is_same_v<std::remove_cvref_t<Type>, std::string>

◆ IsUInt16

template<class Type >
concept NES::IsUInt16 = std::is_same_v<std::remove_cvref_t<Type>, std::uint16_t>

◆ IsUInt32

template<class Type >
concept NES::IsUInt32 = std::is_same_v<std::remove_cvref_t<Type>, std::uint32_t>

◆ IsUInt64

template<class Type >
concept NES::IsUInt64 = std::is_same_v<std::remove_cvref_t<Type>, std::uint64_t>

◆ IsUInt8

template<class Type >
concept NES::IsUInt8 = std::is_same_v<std::remove_cvref_t<Type>, std::uint8_t>

◆ IsVariableSizeType

template<class Type >
concept NES::IsVariableSizeType
Initial value:
=
std::is_base_of_v<BaseVariableSizeType, Type> || std::is_base_of_v<BaseVariableSizeType, std::remove_pointer_t<Type>>

◆ JAVA_UDF_FIELD_KEY

const std::string NES::JAVA_UDF_FIELD_KEY = "javaUdfField"

◆ joinedExpectedOutput

std::string NES::joinedExpectedOutput = "sum:INTEGER(32 bits)\n10\n10\n"

◆ joinedExpectedOutput10

std::string NES::joinedExpectedOutput10

◆ LINK_ID_KEY

const std::string NES::LINK_ID_KEY = "linkID"

◆ NESIdentifier

template<typename T >
concept NES::NESIdentifier
Initial value:
= requires(T t) {
requires(std::same_as<T, NESStrongType<typename T::Underlying, typename T::TypeTag, T::INVALID, T::INITIAL>>);
requires(!std::is_default_constructible_v<T>);
requires(std::is_trivially_copyable_v<T>);
requires(sizeof(t) == sizeof(typename T::Underlying));
requires(!std::is_convertible_v<T, typename T::Underlying>);
requires(std::is_trivially_destructible_v<T>);
{ t < t };
{ t > t };
{ t == t };
{ t != t };
{ std::hash<T>()(t) };
}

◆ NETWORK_DELAYS_KEY

const std::string NES::NETWORK_DELAYS_KEY = "networkDelays"

◆ NODE_ID_KEY

const std::string NES::NODE_ID_KEY = "nodeId"

◆ NODE_TYPE_KEY

const std::string NES::NODE_TYPE_KEY = "nodeType"

◆ numberOfThreads

const size_t NES::numberOfThreads = 5

Referenced by TEST_F(), and NES::Statistic::TEST_P().

◆ oneBuffer

const size_t NES::oneBuffer = 1

Referenced by TEST_F().

◆ OPERATOR_GRAPH_KEY

const std::string NES::OPERATOR_GRAPH_KEY = "operatorGraph"

◆ OPERATOR_ID_KEY

const std::string NES::OPERATOR_ID_KEY = "operatorId"

◆ PLACEMENT_KEY

const std::string NES::PLACEMENT_KEY = "placement"

◆ testQueryId

SharedQueryId NES::testQueryId = SharedQueryId(123)

Referenced by TEST_F().

◆ TIME_WEIGHT_KEY

const std::string NES::TIME_WEIGHT_KEY = "time_weight"

◆ timeout

◆ TRANSFER_RATE_KEY

const std::string NES::TRANSFER_RATE_KEY = "transferRate"

◆ WAIT_TIME

constexpr std::chrono::milliseconds NES::WAIT_TIME = std::chrono::milliseconds(1000)
constexpr