NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
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 |
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::Waypoint > | getWaypointsFromCsv (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< TupleBuffer > | getBufferNoBlocking (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" |
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 std::shared_ptr< AbstractQueryStatusListener > NES::AbstractQueryStatusListenerPtr |
using NES::ArrayPtr = typedef std::shared_ptr<ArrayType> |
using NES::ArrayTypePtr = typedef std::shared_ptr<ArrayType> |
typedef std::shared_ptr< AttributeField > NES::AttributeFieldPtr |
using NES::BasicPhysicalTypePtr = typedef std::shared_ptr<BasicPhysicalType> |
using NES::BasicValuePtr = typedef std::shared_ptr<BasicValue> |
using NES::BenchmarkSourcePtr = typedef std::shared_ptr<BenchmarkSource> |
using NES::BinarySourcePtr = typedef std::shared_ptr<BinarySource> |
using NES::BufferSequenceNumberPtr = typedef std::shared_ptr<BufferSequenceNumber> |
using NES::CharPtr = typedef std::shared_ptr<Char> |
using NES::ChunkNumber = typedef uint64_t |
using NES::Clock = typedef std::chrono::high_resolution_clock |
typedef std::shared_ptr< CompletionQueue > NES::CompletionQueuePtr |
typedef std::shared_ptr< CoordinatorHealthCheckService > NES::CoordinatorHealthCheckServicePtr |
typedef std::shared_ptr< CSVParser > NES::CSVParserPtr |
using NES::CSVSourcePtr = typedef std::shared_ptr<CSVSource> |
using NES::CSVSourceTypePtr = typedef std::shared_ptr<CSVSourceType> |
using NES::DataEmitterPtr = typedef std::shared_ptr<DataEmitter> |
typedef std::shared_ptr< SinkMedium > NES::DataSinkPtr |
using NES::DataSourceProxyPtr = typedef std::shared_ptr<DataSourceProxy> |
typedef std::shared_ptr< DataSource > NES::DataSourcePtr |
typedef std::shared_ptr< DataType > NES::DataTypePtr |
using NES::DecomposedQueryId = typedef NESStrongType<uint64_t, struct DecomposedQueryPlanId_, 0, 1> |
typedef std::shared_ptr< DecomposedQueryPlan > NES::DecomposedQueryPlanPtr |
using NES::DecomposedQueryPlanVersion = typedef uint16_t |
using NES::DefaultSourcePtr = typedef std::shared_ptr<DefaultSource> |
typedef std::shared_ptr< DeploymentPhase > NES::DeploymentPhasePtr |
typedef std::shared_ptr< ErrorHandler > NES::ErrorHandlerPtr |
typedef std::shared_ptr< ExpressionNode > NES::ExpressionNodePtr |
typedef std::shared_ptr< FieldAssignmentExpressionNode > NES::FieldAssignmentExpressionNodePtr |
using NES::FileSinkPtr = typedef std::shared_ptr<FileSink> |
using NES::FloatPtr = typedef std::shared_ptr<Float> |
typedef std::shared_ptr< GlobalExecutionPlan > NES::GlobalExecutionPlanPtr |
using NES::GlobalQueryPlanHandle = typedef ResourceHandle<GlobalQueryPlan> |
typedef std::shared_ptr< GlobalQueryPlan > NES::GlobalQueryPlanPtr |
using NES::HashOperatorId = typedef std::pair<OperatorId, DecomposedQueryPlanVersion> |
using NES::IntegerPtr = typedef std::shared_ptr<Integer> |
using NES::LambdaSourcePtr = typedef std::shared_ptr<LambdaSource> |
typedef std::shared_ptr< LocationService > NES::LocationServicePtr |
using NES::LogicalJoinOperatorPtr = typedef std::shared_ptr<LogicalJoinOperator> |
typedef std::shared_ptr< LogicalOperator > NES::LogicalOperatorPtr |
using NES::MemorySourcePtr = typedef std::shared_ptr<MemorySource> |
using NES::MetricCatalogPtr = typedef std::shared_ptr<MetricCatalog> |
using NES::MetricGroupPtr = typedef std::shared_ptr<MetricGroup> |
using NES::MetricPtr = typedef std::shared_ptr<Metric> |
using NES::MonitoringPlanPtr = typedef std::shared_ptr<MonitoringPlan> |
typedef std::shared_ptr< MonitoringService > NES::MonitoringServicePtr |
using NES::MonitoringSinkPtr = typedef std::shared_ptr<MonitoringSink> |
using NES::MonitoringSourcePtr = typedef std::shared_ptr<MonitoringSource> |
using NES::MQTTClientWrapperPtr = typedef std::shared_ptr<MQTTClientWrapper> |
using NES::NanoSeconds = typedef std::chrono::nanoseconds |
using NES::NesCoordinatorPtr = typedef std::shared_ptr<NesCoordinator> |
typedef std::weak_ptr< NesCoordinator > NES::NesCoordinatorWeakPtr |
using NES::NESParserPtr = typedef std::shared_ptr<NESBinaryParser> |
typedef std::shared_ptr< NesWorker > NES::NesWorkerPtr |
typedef std::shared_ptr< Node > NES::NodePtr |
using NES::NullOutputSinkPtr = typedef std::shared_ptr<NullOutputSink> |
using NES::OperatorHandlerStorePtr = typedef std::shared_ptr<OperatorHandlerStore> |
using NES::OperatorHash = typedef std::tuple<SharedQueryId, DecomposedQueryId, OperatorId> |
using NES::OperatorId = typedef NESStrongType<uint64_t, struct OperatorId_, 0, 1> |
typedef std::shared_ptr< Operator > NES::OperatorPtr |
typedef NESStrongType< uint64_t, struct OriginId_, 0, 1 > NES::OriginId |
typedef std::shared_ptr< Parser > NES::ParserPtr |
using NES::PartitionId = typedef NESStrongType<uint64_t, struct PartitionId_, 0, 1> |
using NES::PatternPtr = typedef std::shared_ptr<Pattern> |
using NES::PhysicalSourceTypePtr = typedef std::shared_ptr<PhysicalSourceType> |
typedef std::shared_ptr< PhysicalType > NES::PhysicalTypePtr |
using NES::PipelineId = typedef NESStrongType<uint64_t, struct PipelineId_, 0, 1> |
using NES::PrintSinkPtr = typedef std::shared_ptr<PrintSink> |
using NES::QueryCatalogHandle = typedef ResourceHandle<Catalogs::Query::QueryCatalog> |
typedef std::shared_ptr< QueryCatalogService > NES::QueryCatalogServicePtr |
using NES::QueryCompilerPtr = typedef std::shared_ptr<QueryCompiler> |
using NES::QueryId = typedef NESStrongType<uint64_t, struct QueryId_, 0, 1> |
typedef std::shared_ptr< QueryParsingService > NES::QueryParsingServicePtr |
typedef std::shared_ptr< QueryPlan > NES::QueryPlanPtr |
typedef std::shared_ptr< Query > NES::QueryPtr |
using NES::QueryStateHistory = typedef std::vector<QueryStateHistoryEntry> |
Track a timestamped history of query status changes.
using NES::QueryUndeploymentPhasePtr = typedef std::shared_ptr<QueryUndeploymentPhase> |
typedef std::shared_ptr< const ReconfigurationMarkerEvent > NES::ReconfigurationMarkerEventPtr |
typedef std::shared_ptr< ReconfigurationMarker > NES::ReconfigurationMarkerPtr |
using NES::ReconfigurationMetadatatPtr = typedef std::shared_ptr<ReconfigurationMetadata> |
typedef std::shared_ptr< RequestHandlerService > NES::RequestHandlerServicePtr |
using NES::RequestId = typedef NESStrongType<uint64_t, struct RequestId_, 0, 1> |
using NES::RequestQueuePtr = typedef std::shared_ptr<RequestQueue> |
using NES::ResourceHandle = typedef std::shared_ptr<T> |
using NES::RestServerPtr = typedef std::shared_ptr<RestServer> |
typedef std::shared_ptr< Schema > NES::SchemaPtr |
using NES::SenseSourcePtr = typedef std::shared_ptr<SenseSource> |
typedef uint64_t NES::SequenceNumber |
using NES::SerializableSchemaPtr = typedef std::shared_ptr<SerializableSchema> |
using NES::SharedQueryId = typedef NESStrongType<uint64_t, struct SharedQueryId_, 0, 1> |
typedef std::shared_ptr< SharedQueryPlan > NES::SharedQueryPlanPtr |
typedef std::shared_ptr< SinkDescriptor > NES::SinkDescriptorPtr |
using NES::SinkFormatPtr = typedef std::shared_ptr<SinkFormat> |
using NES::SinkLogicalOperatorPtr = typedef std::shared_ptr<SinkLogicalOperator> |
using NES::SinkPluginRegistry = typedef Util::PluginRegistry<DataSinkPlugin> |
using NES::SourceDescriptorPtr = typedef std::shared_ptr<SourceDescriptor> |
using NES::SourceLogicalOperatorPtr = typedef std::shared_ptr<SourceLogicalOperator> |
using NES::SourcePluginRegistry = typedef Util::PluginRegistry<DataSourcePlugin> |
using NES::StatisticId = typedef uint64_t |
using NES::SubpartitionId = typedef NESStrongType<uint64_t, struct SubpartitionId_, 0, 1> |
typedef std::shared_ptr< TCPSource > NES::TCPSourcePtr |
using NES::TestHarnessWorkerConfigurationPtr = typedef std::shared_ptr<TestHarnessWorkerConfiguration> |
using NES::TextPtr = typedef std::shared_ptr<TextType> |
using NES::TextTypePtr = typedef std::shared_ptr<TextType> |
using NES::ThreadBarrierPtr = typedef std::shared_ptr<ThreadBarrier> |
typedef uint64_t NES::Timestamp |
using NES::TopologyHandle = typedef ResourceHandle<Topology> |
typedef std::shared_ptr< TopologyNode > NES::TopologyNodePtr |
typedef std::shared_ptr< Topology > NES::TopologyPtr |
typedef std::shared_ptr< ValueType > NES::ValueTypePtr |
typedef uint64_t NES::WatermarkTs |
using NES::WorkerId = typedef NESStrongType<uint64_t, struct WorkerId_, 0, 1> |
typedef std::shared_ptr< WorkerRPCClient > NES::WorkerRPCClientPtr |
using NES::WorkerThreadId = typedef NESStrongType<uint32_t, struct WorkerThreadId_, UINT32_MAX, 0> |
using NES::ZmqSinkPtr = typedef std::shared_ptr<ZmqSink> |
using NES::ZmqSourcePtr = typedef std::shared_ptr<ZmqSource> |
|
strong |
|
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. |
|
strong |
Format types supported by NES.
Enumerator | |
---|---|
ARROW_IPC_FORMAT | |
CSV_FORMAT | |
JSON_FORMAT | |
NES_FORMAT |
|
strong |
|
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 |
|
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 |
|
strong |
|
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
|
strong |
|
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 |
|
strong |
|
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 |
|
strong |
|
strong |
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().
ExpressionNodePtr NES::ABS | ( | const ExpressionNodePtr & | exp | ) |
References NES::DataTypeFactory::createUndefined().
Referenced by ABS(), and TEST_F().
ExpressionNodePtr NES::ABS | ( | ExpressionItem | exp | ) |
Defines common unary arithmetical operations on an expression items.
References ABS(), and NES::ExpressionItem::getExpressionNode().
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.
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().
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.
fieldName,type |
References NES::DataTypeFactory::createType(), backward::details::move(), and type.
size_t NES::binaryBufferSize | ( | SPAN_TYPE< const char > | data | ) |
References data, and NES_ASSERT.
ExpressionNodePtr NES::CALL | ( | const NES::ExpressionItem & | udfName, |
std::vector< ExpressionNodePtr > | functionArgs | ||
) |
Defines a UDF call operation.
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++.
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().
ExpressionNodePtr NES::CASE | ( | std::vector< ExpressionNodePtr > | whenExpressions, |
ExpressionItem | defaultValueExp | ||
) |
References CASE(), NES::ExpressionItem::getExpressionNode(), and backward::details::move().
ExpressionNodePtr NES::CEIL | ( | const ExpressionNodePtr & | exp | ) |
ExpressionNodePtr NES::CEIL | ( | ExpressionItem | exp | ) |
References CEIL(), and NES::ExpressionItem::getExpressionNode().
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().
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().
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().
ExpressionNodePtr NES::COS | ( | const ExpressionNodePtr & | exp | ) |
References NES::DataTypeFactory::createUndefined().
Referenced by COS().
ExpressionNodePtr NES::COS | ( | ExpressionItem | exp | ) |
References COS(), and NES::ExpressionItem::getExpressionNode().
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.
searchString | The string to search for. |
targetString | The string in which to search for occurrences. |
Referenced by TEST_F().
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
schema | the schema of the source |
bufferManager | pointer to the buffer manager |
queryManager | pointer to the query manager |
memoryArea | the memory buffer to scan and create buffers out of |
memoryAreaSize | the size of the memory buffer |
numberOfBuffersToProcess | |
gatheringValue | how many tuples to collect per interval |
operatorId | current operator id |
originId | represents the identifier of the upstream operator that represents the origin of the input stream |
statisticId | represents the unique identifier of components that we can track statistics for |
numSourceLocalBuffers | the number of buffers allocated to a source |
gatheringMode | the gathering mode (INTERVAL_MODE, INGESTION_RATE_MODE, or ADAPTIVE_MODE) |
sourceMode | |
sourceAffinity | the subsequent operators in the pipeline to which the data is pushed |
taskQueueId | the ID of the queue to which the task is pushed |
physicalSourceName | the name and unique identifier of a physical source |
successors | the subsequent operators in the pipeline to which the data is pushed |
References NES::TestUtils::physicalSourceName().
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
schema | schema of data source |
bufferManager | pointer to the buffer manager |
queryManager | pointer to the query manager |
pathToFile | path to the binary file |
operatorId | current operator id |
originId | represents the identifier of the upstream operator that represents the origin of the input stream |
statisticId | represents the unique identifier of components that we can track statistics for |
numSourceLocalBuffers | the number of buffers allocated to a source |
physicalSourceName | the name and unique identifier of a physical source |
successors | the subsequent operators in the pipeline to which the data is pushed |
References INTERVAL_MODE, and NES::TestUtils::physicalSourceName().
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
schema | of sink |
bufferManager | |
path | to file |
bool | indicating if data is appended (true) or overwritten (false) |
numberOfOrigins | number of origins of a given query |
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 |
||
) |
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
schema | of sink |
bufferManager | |
path | to file |
bool | indicating if data is appended (true) or overwritten (false) |
numberOfOrigins | number of origins of a given query |
Referenced by setupQEP(), and TEST_F().
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
schema | schema of data source |
bufferManager | pointer to the buffer manager |
queryManager | pointer to the query manager |
csvSourceType | points to the current source configuration object |
operatorId | current operator id |
originId | represents the identifier of the upstream operator that represents the origin of the input stream |
statisticId | represents the unique identifier of components that we can track statistics for |
numSourceLocalBuffers | the number of buffers allocated to a source |
physicalSourceName | the name and unique identifier of a physical source |
successors | the subsequent operators in the pipeline to which the data is pushed |
References INTERVAL_MODE, and NES::TestUtils::physicalSourceName().
Referenced by TEST_F().
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
schema | of sink |
bufferManager | |
output | stream |
numberOfOrigins | number of origins of a given query |
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
schema | of sink |
parentPlan | id of the parent qep |
bufferManager | |
output | stream |
numberOfOrigins | number of origins of a given query |
Referenced by TEST_F().
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
schema | of sink |
bufferManager | |
hostname | as sting |
port | at uint16 |
internal | refers to the usage of this zmq sink as a fwd operator such that we dont have to send the schema, only the data |
numberOfOrigins | number of origins of a given query |
References host.
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 |
||
) |
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
schema | schema of the data source |
bufferManager | pointer to the buffer manager |
queryManager | pointer to the query manager |
operatorId | current operator id |
originId | represents the identifier of the upstream operator that represents the origin of the input stream |
statisticId | represents the unique identifier of components that we can track statistics for |
numSourceLocalBuffers | the number of buffers allocated to a source |
physicalSourceName | the name and unique identifier of a physical source |
successors | the subsequent operators in the pipeline to which the data is pushed |
References NES::TestUtils::physicalSourceName().
Referenced by TEST_F(), and TEST_F().
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
schema | schema of the data source |
bufferManager | pointer to the buffer manager |
queryManager | pointer to the query manager |
numberOfBuffersToProduce | the number of buffers to be produced by the source |
gatheringInterval | the interval at which new buffers are produced |
operatorId | current operator id |
originId | represents the identifier of the upstream operator that represents the origin of the input stream |
statisticId | represents the unique identifier of components that we can track statistics for |
numSourceLocalBuffers | the number of buffers allocated to a source |
physicalSourceName | the name and unique identifier of a physical source |
successors | the subsequent operators in the pipeline to which the data is pushed |
References NES::TestUtils::numberOfBuffersToProduce(), and NES::TestUtils::physicalSourceName().
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
bufferManager | pointer to the buffer manager |
queryManager | pointer to the query manager |
operatorId | current operator id |
originId | represents the identifier of the upstream operator that represents the origin of the input stream |
statisticId | represents the unique identifier of components that we can track statistics for |
numSourceLocalBuffers | the number of buffers allocated to a source |
successors | the subsequent operators in the pipeline to which the data is pushed |
bufferCnt
bufferCnt
References NES::Schema::create(), NES::DataTypeFactory::createUInt64(), and NES::TestUtils::physicalSourceName().
Referenced by TEST_F().
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().
AttributeFieldPtr NES::createField | ( | const std::string & | name, |
DataTypePtr | type | ||
) |
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 | ||
) |
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
schema | of sink |
bufferManager | |
path | to file |
bool | indicating if data is appended (true) or overwritten (false) |
numberOfOrigins | number of origins of a given query |
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
schema | schema of the data source |
bufferManager | pointer to the buffer manager |
queryManager | pointer to the query manager |
numberOfBuffersToProduce | the number of buffers to be produced by the source |
gatheringValue | how many tuples to collect per interval |
generationFunction | that creates with which the data is created |
operatorId | current operator id |
originId | represents the identifier of the upstream operator that represents the origin of the input stream |
statisticId | represents the unique identifier of components that we can track statistics for |
numSourceLocalBuffers | the number of buffers allocated to a source |
gatheringMode | the gathering mode (INTERVAL_MODE, INGESTION_RATE_MODE, or ADAPTIVE_MODE) |
sourceAffinity | the subsequent operators in the pipeline to which the data is pushed |
taskQueueId | the ID of the queue to which the task is pushed |
physicalSourceName | the name and unique identifier of a physical source |
successors | the subsequent operators in the pipeline to which the data is pushed |
References backward::details::move(), NES::TestUtils::numberOfBuffersToProduce(), and NES::TestUtils::physicalSourceName().
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
schema | the schema of the source |
bufferManager | pointer to the buffer manager |
queryManager | pointer to the query manager |
memoryArea | the memory buffer to scan and create buffers out of |
memoryAreaSize | the size of the memory buffer |
numBuffersToProcess | |
gatheringValue | how many tuples to collect per interval |
operatorId | current operator id |
originId | represents the identifier of the upstream operator that represents the origin of the input stream |
statisticId | represents the unique identifier of components that we can track statistics for |
numSourceLocalBuffers | the number of buffers allocated to a source |
gatheringMode | the gathering mode (INTERVAL_MODE, INGESTION_RATE_MODE, or ADAPTIVE_MODE) |
sourceAffinity | the subsequent operators in the pipeline to which the data is pushed |
taskQueueId | the ID of the queue to which the task is pushed |
physicalSourceName | the name and unique identifier of a physical source |
successors | the subsequent operators in the pipeline to which the data is pushed |
References NES::TestUtils::physicalSourceName().
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
number | of producers |
path | to file |
bool | indicating if data is appended (true) or overwritten (false) |
numberOfOrigins | number of origins of a given query |
Referenced by TEST_F().
std::shared_ptr<MockedNodeEngine> NES::createMockedEngine | ( | const std::string & | hostname, |
uint16_t | port, | ||
uint64_t | bufferSize = 8192 , |
||
uint64_t | numBuffers = 1024 |
||
) |
References bufferSize.
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
metricStore | |
nodeEngine | |
numOfProducers | |
sharedQueryId | |
decomposedQueryId | |
numberOfOrigins |
References type.
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
metricCollector | a pointer to a NES::Monitoring::MetricCollector |
waitTime | the amount of time to wait |
bufferManager | a pointer to the buffer manager |
queryManager | a pointer to the query manager |
operatorId | current operator id |
originId | represents the identifier of the upstream operator that represents the origin of the input stream |
statisticId | represents the unique identifier of components that we can track statistics for |
numSourceLocalBuffers | the number of buffers allocated to a source |
physicalSourceName | the name and unique identifier of a physical source |
successors | the subsequent operators in the pipeline to which the data is pushed |
References NES::TestUtils::physicalSourceName().
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
schema | |
networkManager | |
nodeLocation | |
nesPartition | |
waitTime | |
retryTimes | |
version | the initial version number of the network sink |
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
schema | the schema of the source |
bufferManager | a pointer to the buffer manager |
queryManager | a pointer to the query manager |
networkManager | a pointer to the network manager |
nesPartition | the unique identifier of the network source that consumes the input buffers |
sinkLocation | location of the sink that writes to the network source |
numSourceLocalBuffers | the number of buffers allocated to a source |
waitTime | the amount of time the networkSource is supposed to wait for a reply |
retryTimes | the number of times the networkSource resends a message, if it does not receive a reply within waitTime |
physicalSourceName | the name and unique identifier of a physical source |
version | the version number of the source at its time of creation |
successors | the subsequent operators in the pipeline to which the data is pushed |
uniqueNetworkSourceId | a unique identifier of the network source which does not change over its lifetime |
References NES::TestUtils::physicalSourceName().
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
Referenced by TEST_F().
std::vector<Statistic::StatisticInfo> NES::createRandomStatisticInfo | ( | const uint64_t | numberOfInfos | ) |
References Attribute(), NES::API::EventTime(), and NES::API::Milliseconds().
Referenced by TEST_F().
std::vector<Statistic::StatisticKey> NES::createRandomStatisticKey | ( | const uint64_t | numberOfKeys | ) |
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
schema | schema of data source |
bufferManager | pointer to the buffer manager |
queryManager | pointer to the query manager |
udfs | of the file |
operatorId | current operator id |
originId | represents the identifier of the upstream operator that represents the origin of the input stream |
statisticId | represents the unique identifier of components that we can track statistics for |
numSourceLocalBuffers | the number of buffers allocated to a source |
physicalSourceName | the name and unique identifier of a physical source |
successors | the subsequent operators in the pipeline to which the data is pushed |
References NES::TestUtils::physicalSourceName().
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().
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.
schema | |
nodeEngine | |
numOfProducers | |
sharedQueryId | |
decomposedQueryId | |
numberOfOrigins | |
sinkFormatType | |
sinkDataCodec |
References NES::Statistic::StatisticFormatFactory::createFromSchema().
Referenced by TEST_P().
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
schema | of this data source |
bufferManager | The 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. |
queryManager | comes with functionality to manage the queries |
tcpSourceType | see TCPSourceType.hpp for information on this object |
operatorId | represents a locally running query execution plan |
originId | represents an origin |
statisticId | represents the unique identifier of components that we can track statistics for |
numSourceLocalBuffers | number of local source buffers |
physicalSourceName | the name and unique identifier of a physical source |
successors | executable operators coming after this source |
References INTERVAL_MODE, and NES::TestUtils::physicalSourceName().
Referenced by TEST_F().
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
schema | schema of data source |
bufferManager | pointer to the buffer manager |
queryManager | pointer to the query manager |
host | the name of the host |
port | the port through which to connect to the ZMQSource(ZMQSource) |
operatorId | current operator id |
originId | represents the identifier of the upstream operator that represents the origin of the input stream |
statisticId | represents the unique identifier of components that we can track statistics for |
numSourceLocalBuffers | the number of buffers allocated to a source |
physicalSourceName | the name and unique identifier of a physical source |
successors | the subsequent operators in the pipeline to which the data is pushed |
References host, INTERVAL_MODE, and NES::TestUtils::physicalSourceName().
Referenced by TEST_F().
auto NES::eq | ( | ExecutableTypes::Array< char, s > const & | l, |
J | r | ||
) | -> bool |
auto NES::eq | ( | ExecutableTypes::Array< T, s > const & | l, |
std::vector< T > && | r | ||
) | -> bool |
ExpressionNodePtr NES::EXP | ( | const ExpressionNodePtr & | exp | ) |
ExpressionNodePtr NES::EXP | ( | ExpressionItem | exp | ) |
References EXP(), and NES::ExpressionItem::getExpressionNode().
ExpressionNodePtr NES::FLOOR | ( | const ExpressionNodePtr & | exp | ) |
ExpressionNodePtr NES::FLOOR | ( | ExpressionItem | exp | ) |
References FLOOR(), and NES::ExpressionItem::getExpressionNode().
std::optional<TupleBuffer> NES::getBufferNoBlocking | ( | Runtime::BufferManager & | bufferManager | ) |
References NES::Runtime::BufferManager::getBufferNoBlocking(), and NES_WARNING.
TupleBuffer NES::getBufferTimeout | ( | const std::shared_ptr< Runtime::BufferManager > & | bufferManager, |
std::chrono::milliseconds && | timeout | ||
) |
References timeout.
ExpressionNodePtr NES::getExpressionNodePtr | ( | ExpressionItem & | expressionItem | ) |
|
constexpr |
GetLogLevel returns the integer LogLevel value for an specific LogLevel value.
value | LogLevel |
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().
std::basic_string_view< char > NES::getLogName | ( | LogLevel | value | ) |
getLogName returns the string representation LogLevel value for a specific LogLevel value.
value | LogLevel |
References magic_enum::enum_name(), and magic_enum::detail::value().
Timestamp NES::getTimestamp | ( | ) |
std::vector< NES::Spatial::DataTypes::Experimental::Waypoint > NES::getWaypointsFromCsv | ( | const std::string & | csvPath, |
Timestamp | startTime | ||
) |
read mobile device path waypoints from csv
csvPath | path to the csv with lines in the format <latitude, longitude, offsetFromStartTime> |
startTime | the real or simulated start time of the LocationProvider |
References NES_DEBUG, NES_TRACE, and time.
Referenced by NES::Spatial::TEST_F(), and TEST_F().
NES::INSTANTIATE_TEST_CASE_P | ( | AsyncTaskExecutorMTTest | , |
AsyncTaskExecutorTest | , | ||
::testing::Values(1, 4, 8) | |||
) |
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");} | |||
) |
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";} | |||
) |
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";} | |||
) |
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";} | |||
) |
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)));} | |||
) |
ExpressionNodePtr NES::LN | ( | const ExpressionNodePtr & | exp | ) |
References NES::DataTypeFactory::createUndefined().
Referenced by LN().
ExpressionNodePtr NES::LN | ( | ExpressionItem | exp | ) |
References NES::ExpressionItem::getExpressionNode(), and LN().
ExpressionNodePtr NES::LOG10 | ( | const ExpressionNodePtr & | exp | ) |
References NES::DataTypeFactory::createUndefined().
Referenced by LOG10().
ExpressionNodePtr NES::LOG10 | ( | ExpressionItem | exp | ) |
References NES::ExpressionItem::getExpressionNode(), and LOG10().
ExpressionNodePtr NES::LOG2 | ( | const ExpressionNodePtr & | exp | ) |
References NES::DataTypeFactory::createUndefined().
Referenced by LOG2().
ExpressionNodePtr NES::LOG2 | ( | ExpressionItem | exp | ) |
References NES::ExpressionItem::getExpressionNode(), and LOG2().
ExpressionNodePtr NES::MOD | ( | ExpressionItem | leftExp, |
ExpressionItem | rightExp | ||
) |
ExpressionNodePtr NES::MOD | ( | ExpressionItem | leftExp, |
ExpressionNodePtr | rightExp | ||
) |
References NES::ExpressionItem::getExpressionNode(), and backward::details::move().
ExpressionNodePtr NES::MOD | ( | ExpressionNodePtr | leftExp, |
ExpressionItem | rightExp | ||
) |
References NES::ExpressionItem::getExpressionNode(), and backward::details::move().
ExpressionNodePtr NES::MOD | ( | ExpressionNodePtr | leftExp, |
ExpressionNodePtr | rightExp | ||
) |
References backward::details::move().
Referenced by TEST_F(), and TEST_F().
ExpressionNodePtr NES::operator! | ( | ExpressionItem | leftExp | ) |
ExpressionNodePtr NES::operator! | ( | ExpressionNodePtr | exp | ) |
ExpressionNodePtr NES::operator!= | ( | ExpressionNodePtr | leftExp, |
ExpressionNodePtr | rightExp | ||
) |
References backward::details::move().
Referenced by __attribute__(), and cuckoohash_map< Key, T, Hash, KeyEqual, Allocator, SLOT_PER_BUCKET >::locked_table::iterator::operator!=().
|
inline |
|
inline |
Special overloads for commonly occuring patterns.
ExpressionNodePtr NES::operator% | ( | ExpressionItem | leftExp, |
ExpressionItem | rightExp | ||
) |
ExpressionNodePtr NES::operator% | ( | ExpressionItem | leftExp, |
ExpressionNodePtr | rightExp | ||
) |
References NES::ExpressionItem::getExpressionNode(), and backward::details::move().
ExpressionNodePtr NES::operator% | ( | ExpressionNodePtr | leftExp, |
ExpressionItem | rightExp | ||
) |
References NES::ExpressionItem::getExpressionNode(), and backward::details::move().
ExpressionNodePtr NES::operator% | ( | ExpressionNodePtr | leftExp, |
ExpressionNodePtr | rightExp | ||
) |
ExpressionNodePtr NES::operator&& | ( | ExpressionNodePtr | leftExp, |
ExpressionNodePtr | rightExp | ||
) |
Defines common logical operations between expression nodes.
References backward::details::move().
|
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
.
LHS | the type of the left-hand-side of the operator. |
RHS | the type of the right-hand-side of the operator. |
lhs | the value of the left-hand-side of the operator. |
rhs | the value of the right-hand-side of the operator. |
References toExpressionNodePtr().
ExpressionNodePtr NES::operator* | ( | ExpressionItem | leftExp, |
ExpressionItem | rightExp | ||
) |
ExpressionNodePtr NES::operator* | ( | ExpressionItem | leftExp, |
ExpressionNodePtr | rightExp | ||
) |
References NES::ExpressionItem::getExpressionNode(), and backward::details::move().
ExpressionNodePtr NES::operator* | ( | ExpressionNodePtr | leftExp, |
ExpressionItem | rightExp | ||
) |
References NES::ExpressionItem::getExpressionNode(), and backward::details::move().
ExpressionNodePtr NES::operator* | ( | ExpressionNodePtr | leftExp, |
ExpressionNodePtr | rightExp | ||
) |
ExpressionNodePtr NES::operator+ | ( | ExpressionItem | leftExp, |
ExpressionItem | rightExp | ||
) |
Defines common binary arithmetical operations between two expression items.
References NES::ExpressionItem::getExpressionNode().
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().
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().
ExpressionNodePtr NES::operator+ | ( | ExpressionNodePtr | leftExp, |
ExpressionNodePtr | rightExp | ||
) |
ExpressionNodePtr NES::operator++ | ( | ExpressionItem | exp | ) |
ExpressionNodePtr NES::operator++ | ( | ExpressionItem | exp, |
int | |||
) |
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++().
ExpressionNodePtr NES::operator++ | ( | ExpressionNodePtr | exp, |
int | value | ||
) |
References NES::DataTypeFactory::createBasicValue(), NES::DataTypeFactory::createUInt16(), and backward::details::move().
ExpressionNodePtr NES::operator- | ( | ExpressionItem | leftExp, |
ExpressionItem | rightExp | ||
) |
ExpressionNodePtr NES::operator- | ( | ExpressionItem | leftExp, |
ExpressionNodePtr | rightExp | ||
) |
References NES::ExpressionItem::getExpressionNode(), and backward::details::move().
ExpressionNodePtr NES::operator- | ( | ExpressionNodePtr | leftExp, |
ExpressionItem | rightExp | ||
) |
References NES::ExpressionItem::getExpressionNode(), and backward::details::move().
ExpressionNodePtr NES::operator- | ( | ExpressionNodePtr | leftExp, |
ExpressionNodePtr | rightExp | ||
) |
Defines common arithmetical operations between expression nodes.
References backward::details::move().
ExpressionNodePtr NES::operator-- | ( | ExpressionItem | exp | ) |
ExpressionNodePtr NES::operator-- | ( | ExpressionItem | exp, |
int | |||
) |
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--().
ExpressionNodePtr NES::operator-- | ( | ExpressionNodePtr | exp, |
int | value | ||
) |
References NES::DataTypeFactory::createBasicValue(), NES::DataTypeFactory::createUInt16(), and backward::details::move().
ExpressionNodePtr NES::operator/ | ( | ExpressionItem | leftExp, |
ExpressionItem | rightExp | ||
) |
ExpressionNodePtr NES::operator/ | ( | ExpressionItem | leftExp, |
ExpressionNodePtr | rightExp | ||
) |
References NES::ExpressionItem::getExpressionNode(), and backward::details::move().
ExpressionNodePtr NES::operator/ | ( | ExpressionNodePtr | leftExp, |
ExpressionItem | rightExp | ||
) |
References NES::ExpressionItem::getExpressionNode(), and backward::details::move().
ExpressionNodePtr NES::operator/ | ( | ExpressionNodePtr | leftExp, |
ExpressionNodePtr | rightExp | ||
) |
ExpressionNodePtr NES::operator< | ( | ExpressionNodePtr | leftExp, |
ExpressionNodePtr | rightExp | ||
) |
|
inline |
std::ostream& NES::operator<< | ( | std::ostream & | os, |
const KeyedResultRecord & | record | ||
) |
std::ostream& NES::operator<< | ( | std::ostream & | os, |
const NodePtr & | node | ||
) |
std::ostream& NES::operator<< | ( | std::ostream & | os, |
const NonKeyedResultRecord & | record | ||
) |
ExpressionNodePtr NES::operator<= | ( | ExpressionNodePtr | leftExp, |
ExpressionNodePtr | rightExp | ||
) |
|
inline |
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().
|
inline |
ExpressionNodePtr NES::operator> | ( | ExpressionNodePtr | leftExp, |
ExpressionNodePtr | rightExp | ||
) |
|
inline |
ExpressionNodePtr NES::operator>= | ( | ExpressionNodePtr | leftExp, |
ExpressionNodePtr | rightExp | ||
) |
|
inline |
ExpressionNodePtr NES::operator|| | ( | ExpressionNodePtr | leftExp, |
ExpressionNodePtr | rightExp | ||
) |
|
inline |
ExpressionNodePtr NES::POWER | ( | ExpressionItem | leftExp, |
ExpressionItem | rightExp | ||
) |
References NES::ExpressionItem::getExpressionNode(), and POWER().
ExpressionNodePtr NES::POWER | ( | ExpressionItem | leftExp, |
ExpressionNodePtr | rightExp | ||
) |
References NES::ExpressionItem::getExpressionNode(), backward::details::move(), and POWER().
ExpressionNodePtr NES::POWER | ( | ExpressionNodePtr | leftExp, |
ExpressionItem | rightExp | ||
) |
References NES::ExpressionItem::getExpressionNode(), backward::details::move(), and POWER().
ExpressionNodePtr NES::POWER | ( | ExpressionNodePtr | leftExp, |
ExpressionNodePtr | rightExp | ||
) |
References NES::DataTypeFactory::createUndefined().
Referenced by POWER(), and TEST_F().
ExpressionNodePtr NES::RADIANS | ( | const ExpressionNodePtr & | exp | ) |
References NES::DataTypeFactory::createUndefined().
Referenced by RADIANS().
ExpressionNodePtr NES::RADIANS | ( | ExpressionItem | exp | ) |
References NES::ExpressionItem::getExpressionNode(), and RADIANS().
ExpressionNodePtr NES::ROUND | ( | const ExpressionNodePtr & | exp | ) |
ExpressionNodePtr NES::ROUND | ( | ExpressionItem | exp | ) |
References NES::ExpressionItem::getExpressionNode(), and ROUND().
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.
threadNameFmt | name 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().
NES::SETUP_COMPILE_TIME_TESTS | ( | eq | , |
operator | = = |
||
) |
NES::SETUP_COMPILE_TIME_TESTS | ( | geq | , |
operator>= | |||
) |
NES::SETUP_COMPILE_TIME_TESTS | ( | gt | , |
operator | |||
) |
NES::SETUP_COMPILE_TIME_TESTS | ( | land | , |
operator&& | |||
) |
NES::SETUP_COMPILE_TIME_TESTS | ( | leq | , |
operator<= | |||
) |
NES::SETUP_COMPILE_TIME_TESTS | ( | lor | , |
operator|| | |||
) |
NES::SETUP_COMPILE_TIME_TESTS | ( | lt | ) |
NES::SETUP_COMPILE_TIME_TESTS | ( | neq | , |
operator! | |||
) |
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().
ExpressionNodePtr NES::SIN | ( | const ExpressionNodePtr & | exp | ) |
References NES::DataTypeFactory::createUndefined().
Referenced by SIN().
ExpressionNodePtr NES::SIN | ( | ExpressionItem | exp | ) |
References NES::ExpressionItem::getExpressionNode(), and SIN().
std::pair<bool, size_t> NES::sizeUntilSearchToken | ( | SPAN_TYPE< const char > | data, |
char | token | ||
) |
References data.
ExpressionNodePtr NES::SQRT | ( | const ExpressionNodePtr & | exp | ) |
ExpressionNodePtr NES::SQRT | ( | ExpressionItem | exp | ) |
References NES::ExpressionItem::getExpressionNode(), and SQRT().
bool NES::startsWith | ( | const std::string & | fullString, |
std::string_view | ending | ||
) |
NES::TEST | ( | UtilFunctionTest | , |
differentMeasurePrecision | |||
) |
Test if sec measures work properly with precision of double.
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().
NES::TEST | ( | UtilFunctionTest | , |
differentPrintPrecision | |||
) |
Test if print conversions work properly, when set on initialization.
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().
NES::TEST | ( | UtilFunctionTest | , |
differentTimeUnits | |||
) |
Test if sec and millisec measures work properly.
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().
NES::TEST | ( | UtilFunctionTest | , |
mergeTimers | |||
) |
Test if timer merging works properly.
References NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::getRuntime(), NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::getSnapshots(), NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::merge(), NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::pause(), NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::snapshot(), and NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::start().
NES::TEST | ( | UtilFunctionTest | , |
replaceNothing | |||
) |
NES::TEST | ( | UtilFunctionTest | , |
replaceOnceWithMultipleFindings | |||
) |
NES::TEST | ( | UtilFunctionTest | , |
replaceOnceWithOneFinding | |||
) |
NES::TEST | ( | UtilFunctionTest | , |
snapshotTaking | |||
) |
Test if snapshot taking works properly.
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().
NES::TEST | ( | UtilFunctionTest | , |
splitWithOmittingEmptyLast | |||
) |
NES::TEST | ( | UtilFunctionTest | , |
splitWithStringDelimiterNothing | |||
) |
NES::TEST | ( | UtilFunctionTest | , |
splitWithStringDelimiterOnce | |||
) |
NES::TEST | ( | UtilFunctionTest | , |
splitWithStringDelimiterTwice | |||
) |
NES::TEST | ( | UtilFunctionTest | , |
startAndPause | |||
) |
Test if start and stop commands work properly.
References NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::getRuntime(), NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::pause(), and NES::Timer< TimeUnit, PrintTimeUnit, PrintTimePrecision, ClockType >::start().
NES::TEST | ( | UtilFunctionTest | , |
trimChar | |||
) |
References NES::Util::trimChar(), and NES::Util::trimWhiteSpaces().
NES::TEST | ( | UtilFunctionTest | , |
trimWhiteSpaces | |||
) |
NES::TEST_F | ( | AddScanAndEmitPhaseTest | , |
pipelineFilterQuery | |||
) |
Input Query Plan: Input: | Physical Filter |.
Expected Result: | Physical Scan — Physical Filter — Physical Emit|
References ASSERT_INSTANCE_OF.
NES::TEST_F | ( | AddScanAndEmitPhaseTest | , |
scanOperator | |||
) |
Input Query Plan: Input: | Physical Source |.
Expected Result: | Physical Source |
References ASSERT_INSTANCE_OF.
NES::TEST_F | ( | AddScanAndEmitPhaseTest | , |
sinkOperator | |||
) |
Input Query Plan: Input: | Physical Sink |.
Expected Result: | Physical Sink |
References ASSERT_INSTANCE_OF.
NES::TEST_F | ( | ArrayTypeTest | , |
testCheckNullTerminator | |||
) |
Check that the null-terminator has to be present for fixed-size strings only.
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
NES::TEST_F | ( | ArrayTypeTest | , |
testInitialization | |||
) |
Test type, size and content of ExecutableTypes::Arrays.
References eq(), NES::ExecutableTypes::ArrayBase< T, s, typename >::size, and type.
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().
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().
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().
NES::TEST_F | ( | BufferManagerTest | , |
allocateSingleByteUnpooledBuffer | |||
) |
NES::TEST_F | ( | BufferManagerTest | , |
bufferManagerMtAccess | |||
) |
References buffer_size, and buffers_managed.
NES::TEST_F | ( | BufferManagerTest | , |
bufferManagerMtProducerConsumer | |||
) |
References buffer_size, and buffers_managed.
NES::TEST_F | ( | BufferManagerTest | , |
bufferManagerMtProducerConsumerLocalPool | |||
) |
References buffer_size, and buffers_managed.
NES::TEST_F | ( | BufferManagerTest | , |
bufferManagerMtProducerConsumerLocalPoolWithExtraAllocation | |||
) |
References buffer_size, and buffers_managed.
NES::TEST_F | ( | BufferManagerTest | , |
bufferManagerMtProducerConsumerNoblocking | |||
) |
References buffer_size, and buffers_managed.
NES::TEST_F | ( | BufferManagerTest | , |
bufferManagerMtProducerConsumerTimeout | |||
) |
References buffer_size, and buffers_managed.
NES::TEST_F | ( | BufferManagerTest | , |
getBufferAfterRelease | |||
) |
References buffer_size, and buffers_managed.
NES::TEST_F | ( | BufferManagerTest | , |
initializedBufferManager | |||
) |
References buffer_size, and buffers_managed.
NES::TEST_F | ( | BufferManagerTest | , |
initializedBufferManagerAlignment64 | |||
) |
References buffer_size, and buffers_managed.
NES::TEST_F | ( | BufferManagerTest | , |
singleThreadedBufferRecycling | |||
) |
References buffer_size, and buffers_managed.
NES::TEST_F | ( | BufferManagerTest | , |
singleThreadedBufferRecyclingUnpooled | |||
) |
References buffer_size, and buffers_managed.
NES::TEST_F | ( | BufferManagerTest | , |
singleThreadedBufferRecyclingWithChildren | |||
) |
References NES::Runtime::allocateVariableLengthField(), and buffer_size.
NES::TEST_F | ( | BufferManagerTest | , |
singleThreadedManyBufferRecyclingUnpooled | |||
) |
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.
NES::TEST_F | ( | BufferStorageTest | , |
emptyBufferCheck | |||
) |
test checks that if trimming is called on an empty buffer it doesn't cause an error
NES::TEST_F | ( | BufferStorageTest | , |
manyBufferDeletionFromBufferStorage | |||
) |
test inserts buffersInserted buffers in different queues and deletes them.
References buffersInserted, and emptyBuffer.
NES::TEST_F | ( | BufferStorageTest | , |
oneBufferDeletionFromBufferStorage | |||
) |
test inserts one buffer and deletes it
References emptyBuffer, and oneBuffer.
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.
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.
NES::TEST_F | ( | BufferStorageTest | , |
trimmingOfNonExistingNesPartition | |||
) |
test tries to delete non existing element
References buffersInserted.
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().
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().
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().
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().
NES::TEST_F | ( | CircularBufferTest | , |
initialState | |||
) |
References NES::CircularBuffer< T, Allocator, >::back(), NES::CircularBuffer< T, Allocator, >::capacity(), NES::CircularBuffer< T, Allocator, >::empty(), NES::CircularBuffer< T, Allocator, >::front(), NES::CircularBuffer< T, Allocator, >::full(), and NES::CircularBuffer< T, Allocator, >::size().
NES::TEST_F | ( | CircularBufferTest | , |
iterateAutoNotFull | |||
) |
References NES::CircularBuffer< T, Allocator, >::full(), NES::CircularBuffer< T, Allocator, >::push(), and NES::CircularBuffer< T, Allocator, >::size().
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().
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().
NES::TEST_F | ( | CircularBufferTest | , |
popOnEmpty | |||
) |
References NES::CircularBuffer< T, Allocator, >::empty(), and NES::CircularBuffer< T, Allocator, >::pop().
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().
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().
NES::TEST_F | ( | CircularBufferTest | , |
randomAccessInitial | |||
) |
NES::TEST_F | ( | ConnectivityControllerTest | , |
testCORSRequest | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_INFO, and NES::TestUtils::restPort().
NES::TEST_F | ( | ConnectivityControllerTest | , |
testGetRequest | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_INFO, and NES::TestUtils::restPort().
NES::TEST_F | ( | ContinuousSourceTest | , |
testMultipleOutputBufferFromCSVSourcePrint | |||
) |
blocking
blocking
withConnect
References Attribute(), createField(), backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().
NES::TEST_F | ( | ContinuousSourceTest | , |
testMultipleOutputBufferFromCSVSourceWrite | |||
) |
blocking
blocking
withConnect
References Attribute(), createField(), backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().
NES::TEST_F | ( | ContinuousSourceTest | , |
testMultipleOutputBufferFromDefaultSourcePrint | |||
) |
blocking
blocking
withConnect
References Attribute(), createField(), backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().
NES::TEST_F | ( | ContinuousSourceTest | , |
testMultipleOutputBufferFromDefaultSourcePrintWithLargerFrequency | |||
) |
blocking
blocking
withConnect
References Attribute(), createField(), backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().
NES::TEST_F | ( | ContinuousSourceTest | , |
testMultipleOutputBufferFromDefaultSourceWriteFile | |||
) |
blocking
blocking
withConnect
References Attribute(), createField(), backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().
NES::TEST_F | ( | ContinuousSourceTest | , |
testMultipleOutputBufferFromDefaultSourceWriteFileWithLargerFrequency | |||
) |
blocking
blocking
withConnect
References Attribute(), createField(), backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().
NES::TEST_F | ( | ContinuousSourceTest | , |
testTimestampCsvSink | |||
) |
blocking
blocking
withConnect
References Attribute(), createField(), backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().
NES::TEST_F | ( | ContinuousSourceTest | , |
testWithManyInputBuffer | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromStream(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::TestHarness::getBufferManager(), NES::TestHarness::getOutputSchema(), NES::TestHarness::getWorkerCount(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), timestamp, NES::TestHarness::validate(), and magic_enum::detail::value().
NES::TEST_F | ( | ConvertLogicalToPhysicalSinkTest | , |
testConvertingFileLogicalToPhysicalSink | |||
) |
NES::TEST_F | ( | ConvertLogicalToPhysicalSinkTest | , |
testConvertingNetworkLogicalToPhysicalSink | |||
) |
NES::TEST_F | ( | ConvertLogicalToPhysicalSinkTest | , |
testConvertingPrintLogicalToPhysicalSink | |||
) |
NES::TEST_F | ( | ConvertLogicalToPhysicalSinkTest | , |
testConvertingZMQLogicalToPhysicalSink | |||
) |
NES::TEST_F | ( | ConvertLogicalToPhysicalSourceTest | , |
testConvertingBinaryFileLogicalToPhysicalSource | |||
) |
NES::TEST_F | ( | ConvertLogicalToPhysicalSourceTest | , |
testConvertingCsvFileLogicalToPhysicalSource | |||
) |
NES::TEST_F | ( | ConvertLogicalToPhysicalSourceTest | , |
testConvertingDefaultLogicalToPhysicalSource | |||
) |
Number Of Buffers
Frequency
References NES::Schema::create().
NES::TEST_F | ( | ConvertLogicalToPhysicalSourceTest | , |
testConvertingNetworkLogicalToPhysicalSource | |||
) |
NES::TEST_F | ( | ConvertLogicalToPhysicalSourceTest | , |
testConvertingSenseLogicalToPhysicalSource | |||
) |
NES::TEST_F | ( | ConvertLogicalToPhysicalSourceTest | , |
testConvertingTCPLogicalToPhysicalSource | |||
) |
NES::TEST_F | ( | ConvertLogicalToPhysicalSourceTest | , |
testConvertingZMQLogicalToPhysicalSource | |||
) |
NES::TEST_F | ( | CoordinatorRPCServerTest | , |
testEmptyPhysicalSourceRegistrationRequest | |||
) |
NES::TEST_F | ( | CoordinatorRPCServerTest | , |
testInvalidPhysicalSourceRegistrationRequest | |||
) |
NES::TEST_F | ( | CoordinatorRPCServerTest | , |
testValidAndInvalidPhysicalSourceRegistrationRequest | |||
) |
NES::TEST_F | ( | CoordinatorRPCServerTest | , |
testValidPhysicalSourceRegistrationRequest | |||
) |
NES::TEST_F | ( | DataTypeFactoryTests | , |
stampModificationTest | |||
) |
Input Query Plan: Input: | Physical Source |.
Expected Result: | Physical Source |
References NES::jni::createFloat(), and NES::jni::createInteger().
NES::TEST_F | ( | DeepHierarchyTopologyTest | , |
testMapAndAggregationQuery | |||
) |
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().
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().
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().
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().
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().
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().
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().
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().
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.
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.
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.
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.
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.
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().
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().
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().
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().
NES::TEST_F | ( | E2ECoordinatorMultiWorkerTest | , |
DISABLED_testExecutingValidJoinQueryWithNemoTcpSource | |||
) |
References NES::TestUtils::addLogicalSource(), NES::TestUtils::addSourceStatistics(), NES::TestUtils::bufferSizeInBytes(), coordinator, NES::TestUtils::coordinatorPort(), NES::TestUtils::dataPort(), NES::TestUtils::enableDebug(), NES::TestUtils::enableNemoJoin(), NES::TestUtils::getTopology(), NES::TestUtils::inputFormat(), NES::TestUtils::logicalSourceName(), NES_INFO, NES::TestUtils::parentId(), NES::TestUtils::physicalSourceName(), NES::TestUtils::restPort(), NES::TestUtils::rpcPort(), size(), NES::TestUtils::sourceType(), NES::TestUtils::startCoordinator(), NES::TestUtils::startQueryViaRest(), NES::TestUtils::startWorker(), NES::TestUtils::tcpSocketBufferSize(), NES::TestUtils::tcpSocketDecidedMessageSize(), NES::TestUtils::tcpSocketHost(), NES::TestUtils::tcpSocketPersistentSource(), NES::TestUtils::tcpSocketPort(), NES::TestUtils::waitForWorkers(), and NES::TestUtils::workerHealthCheckWaitTime().
NES::TEST_F | ( | E2ECoordinatorMultiWorkerTest | , |
testExecutingValidJoinQueryWithNemo | |||
) |
References NES::TestUtils::addLogicalSource(), NES::TestUtils::addSourceStatistics(), NES::TestUtils::bufferSizeInBytes(), coordinator, NES::TestUtils::coordinatorPort(), NES::TestUtils::csvSourceFilePath(), NES::TestUtils::dataPort(), NES::TestUtils::enableDebug(), NES::TestUtils::enableNemoJoin(), NES::TestUtils::getTopology(), NES::TestUtils::logicalSourceName(), NES_INFO, NES::TestUtils::numberOfBuffersToProduce(), NES::TestUtils::numberOfTuplesToProducePerBuffer(), NES::TestUtils::parentId(), NES::TestUtils::physicalSourceName(), NES::TestUtils::restPort(), NES::TestUtils::rpcPort(), size(), NES::TestUtils::sourceGatheringInterval(), NES::TestUtils::sourceType(), NES::TestUtils::startCoordinator(), NES::TestUtils::startQueryViaRest(), NES::TestUtils::startWorker(), NES::TestUtils::waitForWorkers(), and NES::TestUtils::workerHealthCheckWaitTime().
NES::TEST_F | ( | E2ECoordinatorMultiWorkerTest | , |
testExecutingValidQueryWithFileOutputTwoWorkerDifferentSource | |||
) |
References NES::TestUtils::addLogicalSource(), coordinator, NES::TestUtils::coordinatorPort(), NES::TestUtils::csvSourceFilePath(), NES::TestUtils::dataPort(), NES::TestUtils::logicalSourceName(), NES_INFO, NES::TestUtils::numberOfBuffersToProduce(), NES::TestUtils::numberOfTuplesToProducePerBuffer(), NES::TestUtils::physicalSourceName(), NES::TestUtils::restPort(), NES::TestUtils::rpcPort(), NES::TestUtils::sourceGatheringInterval(), NES::TestUtils::sourceType(), NES::TestUtils::startCoordinator(), NES::TestUtils::startQueryViaRest(), NES::TestUtils::startWorker(), NES::TestUtils::waitForWorkers(), and NES::TestUtils::workerHealthCheckWaitTime().
NES::TEST_F | ( | E2ECoordinatorMultiWorkerTest | , |
testExecutingValidQueryWithFileOutputTwoWorkerSameSource | |||
) |
References NES::TestUtils::addLogicalSource(), coordinator, NES::TestUtils::coordinatorPort(), NES::TestUtils::csvSourceFilePath(), NES::TestUtils::dataPort(), NES::TestUtils::logicalSourceName(), NES_INFO, NES::TestUtils::numberOfBuffersToProduce(), NES::TestUtils::numberOfTuplesToProducePerBuffer(), NES::TestUtils::physicalSourceName(), NES::TestUtils::restPort(), NES::TestUtils::rpcPort(), NES::TestUtils::sourceGatheringInterval(), NES::TestUtils::sourceType(), NES::TestUtils::startCoordinator(), NES::TestUtils::startQueryViaRest(), NES::TestUtils::startWorker(), NES::TestUtils::waitForWorkers(), and NES::TestUtils::workerHealthCheckWaitTime().
NES::TEST_F | ( | E2ECoordinatorMultiWorkerTest | , |
testExecutingValidUserQueryWithTumblingWindowFileOutput | |||
) |
References NES::TestUtils::addLogicalSource(), coordinator, NES::TestUtils::coordinatorPort(), NES::TestUtils::csvSourceFilePath(), NES::TestUtils::dataPort(), NES::TestUtils::logicalSourceName(), NES_INFO, NES::TestUtils::numberOfBuffersToProduce(), NES::TestUtils::numberOfTuplesToProducePerBuffer(), NES::TestUtils::physicalSourceName(), NES::TestUtils::restPort(), NES::TestUtils::rpcPort(), NES::TestUtils::sourceGatheringInterval(), NES::TestUtils::sourceType(), NES::TestUtils::startCoordinator(), NES::TestUtils::startQueryViaRest(), NES::TestUtils::startWorker(), NES::TestUtils::waitForWorkers(), and NES::TestUtils::workerHealthCheckWaitTime().
NES::TEST_F | ( | E2ECoordinatorMultiWorkerTest | , |
testHierarchicalTopology | |||
) |
Testing NES with a config using a hierarchical topology.
References NES::TestUtils::addLogicalSource(), coordinator, NES::TestUtils::coordinatorPort(), NES::TestUtils::csvSourceFilePath(), NES::TestUtils::dataPort(), NES::TestUtils::enableDebug(), NES::TestUtils::getTopology(), NES::TestUtils::logicalSourceName(), NES_INFO, NES::TestUtils::numberOfBuffersToProduce(), NES::TestUtils::numberOfTuplesToProducePerBuffer(), NES::TestUtils::parentId(), NES::TestUtils::physicalSourceName(), NES::TestUtils::restPort(), NES::TestUtils::rpcPort(), size(), NES::TestUtils::sourceGatheringInterval(), NES::TestUtils::sourceType(), NES::TestUtils::startCoordinator(), NES::TestUtils::startWorker(), NES::TestUtils::waitForWorkers(), and NES::TestUtils::workerHealthCheckWaitTime().
NES::TEST_F | ( | E2EMonitoringTest | , |
requestAllMetricsFromMonitoringStreams | |||
) |
References NES::MetricValidator::checkNodeIdsStorage(), coordinator, NES::TestUtils::coordinatorPort(), NES::TestUtils::dataPort(), NES::Monitoring::MonitoringPlan::defaultPlan(), NES::TestUtils::enableMonitoring(), NES::TestUtils::enableNautilusCoordinator(), NES::TestUtils::enableNautilusWorker(), NES::Monitoring::SystemResourcesReaderFactory::getSystemResourcesReader(), NES::MetricValidator::isValidAllStorage(), NES::TestUtils::makeMonitoringRestCall(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), NES::TestUtils::rpcPort(), NES::TestUtils::startCoordinator(), NES::TestUtils::startWorker(), timeout, NES::MetricValidator::waitForMonitoringStreamsOrTimeout(), NES::TestUtils::waitForWorkers(), and NES::TestUtils::workerHealthCheckWaitTime().
NES::TEST_F | ( | E2EMonitoringTest | , |
requestAllMetricsViaRest | |||
) |
References NES::MetricValidator::checkNodeIds(), coordinator, NES::TestUtils::coordinatorPort(), NES::TestUtils::dataPort(), NES::TestUtils::enableMonitoring(), NES::TestUtils::enableNautilusCoordinator(), NES::TestUtils::enableNautilusWorker(), NES::Monitoring::SystemResourcesReaderFactory::getSystemResourcesReader(), NES::MetricValidator::isValidAll(), NES::TestUtils::makeMonitoringRestCall(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), NES::TestUtils::rpcPort(), NES::TestUtils::startCoordinator(), NES::TestUtils::startWorker(), timeout, NES::TestUtils::waitForWorkers(), and NES::TestUtils::workerHealthCheckWaitTime().
NES::TEST_F | ( | E2EMonitoringTest | , |
requestStoredMetricsViaRest | |||
) |
References coordinator, NES::TestUtils::coordinatorPort(), NES::TestUtils::dataPort(), NES::TestUtils::enableMonitoring(), NES::TestUtils::enableNautilusCoordinator(), NES::TestUtils::enableNautilusWorker(), NES::Monitoring::SystemResourcesReaderFactory::getSystemResourcesReader(), NES::MetricValidator::isValidRegistrationMetrics(), NES::TestUtils::makeMonitoringRestCall(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), NES::TestUtils::rpcPort(), NES::TestUtils::startCoordinator(), NES::TestUtils::startWorker(), timeout, NES::TestUtils::waitForWorkers(), and NES::TestUtils::workerHealthCheckWaitTime().
NES::TEST_F | ( | E2EMonitoringTest | , |
requestStoredRegistrationMetrics | |||
) |
References coordinator, NES::TestUtils::coordinatorPort(), NES::TestUtils::dataPort(), NES::TestUtils::enableMonitoring(), NES::TestUtils::enableNautilusCoordinator(), NES::TestUtils::enableNautilusWorker(), NES::TestUtils::makeMonitoringRestCall(), NES_INFO, NES::TestUtils::restPort(), NES::TestUtils::rpcPort(), NES::TestUtils::startCoordinator(), NES::TestUtils::startWorker(), timeout, NES::TestUtils::waitForWorkers(), and NES::TestUtils::workerHealthCheckWaitTime().
NES::TEST_F | ( | E2EMonitoringTest | , |
testNemoPlacementWithMonitoringSource | |||
) |
blocking
blocking
withConnect
References NES::WindowOperatorBuilder::KeyedWindowedQuery::apply(), Attribute(), NES::Optimizer::BottomUp, NES::WindowOperatorBuilder::WindowedQuery::byKey(), NES::TestUtils::checkCompleteOrTimeout(), NES::TestUtils::checkIfOutputFileIsNotEmtpy(), NES::TestUtils::checkStoppedOrTimeout(), countOccurrences(), NES::API::EventTime(), NES::Query::from(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), NES::API::Seconds(), NES::Query::sink(), NES::API::Sum(), NES::TestUtils::waitForQueryToStart(), and NES::Query::window().
NES::TEST_F | ( | ExplainRequestIntegrationTest | , |
executeExplainRequest | |||
) |
blocking
blocking
withConnect
References Attribute(), backward::details::move(), NES_INFO, and NES::TestUtils::restPort().
NES::TEST_F | ( | ExpressionNodeTest | , |
attributeStampInference | |||
) |
References Attribute(), NES::Schema::create(), NES::DataTypeFactory::createInt8(), NES::ExpressionItem::getExpressionNode(), and INT8.
NES::TEST_F | ( | ExpressionNodeTest | , |
caseInfereStampTest | |||
) |
Test behaviour of special CaseExpressionNode::inferStamp function.
References Attribute(), BOOLEAN, CASE(), NES::Schema::create(), FLOAT32, INT32, and WHEN().
NES::TEST_F | ( | ExpressionNodeTest | , |
inferAssertionTest | |||
) |
References Attribute(), BOOLEAN, NES::Schema::create(), NES::DataTypeFactory::createArray(), NES::DataTypeFactory::createBoolean(), NES::DataTypeFactory::createType(), INT64, and INT8.
NES::TEST_F | ( | ExpressionNodeTest | , |
inferenceExpressionTest | |||
) |
References Attribute(), NES::Schema::create(), NES::DataTypeFactory::createArray(), NES::DataTypeFactory::createBoolean(), NES::DataTypeFactory::createType(), FLOAT64, INT32, INT64, and INT8.
NES::TEST_F | ( | ExpressionNodeTest | , |
inferPredicateTest | |||
) |
References Attribute(), BOOLEAN, NES::Schema::create(), NES::DataTypeFactory::createArray(), NES::DataTypeFactory::createBoolean(), INT64, and INT8.
NES::TEST_F | ( | ExpressionNodeTest | , |
moduloFloatInferStampTest | |||
) |
Test behaviour of special ModExpressionNode::inferStamp function. (float)
References Attribute(), NES::Schema::create(), FLOAT32, MOD(), NES_INFO, and UINT32.
NES::TEST_F | ( | ExpressionNodeTest | , |
moduloIntegerInferStampTest | |||
) |
Test behaviour of special ModExpressionNode::inferStamp function. (integers)
References Attribute(), NES::Schema::create(), INT16, MOD(), NES_INFO, and UINT32.
NES::TEST_F | ( | ExpressionNodeTest | , |
multiplicationInferStampTest | |||
) |
References Attribute(), NES::Schema::create(), INT16, and UINT32.
NES::TEST_F | ( | ExpressionNodeTest | , |
predicateConstruction | |||
) |
References NES::DataTypeFactory::createBasicValue(), NES::DataTypeFactory::createInt64(), and INT64.
NES::TEST_F | ( | ExpressionNodeTest | , |
testAndExpressionNodeEqual | |||
) |
NES::TEST_F | ( | ExpressionNodeTest | , |
testEqualsExpressionNodeEqual | |||
) |
NES::TEST_F | ( | ExpressionNodeTest | , |
testGreaterEqualsExpressionNodeEqual | |||
) |
NES::TEST_F | ( | ExpressionNodeTest | , |
testGreaterExpressionNodeEqual | |||
) |
NES::TEST_F | ( | ExpressionNodeTest | , |
testLessEqualsExpressionNodeEqual | |||
) |
NES::TEST_F | ( | ExpressionNodeTest | , |
testLessExpressionNodeEqual | |||
) |
NES::TEST_F | ( | ExpressionNodeTest | , |
testNegateExpressionNodeEqual | |||
) |
NES::TEST_F | ( | ExpressionNodeTest | , |
testOrExpressionNodeEqual | |||
) |
NES::TEST_F | ( | ExpressionNodeTest | , |
whenInferStampTest | |||
) |
Test behaviour of special WhenExpressionNode::inferStamp function. (float)
References Attribute(), BOOLEAN, NES::Schema::create(), FLOAT32, and WHEN().
NES::TEST_F | ( | FileSinkIntegrationTest | , |
cannotOpenOutputFile | |||
) |
NES::TEST_F | ( | FileSinkIntegrationTest | , |
cannotRemoveOutputFileInOverwriteMode | |||
) |
NES::TEST_F | ( | FileSinkIntegrationTest | , |
canWriteToOutputFileInOverWriteMode | |||
) |
NES::TEST_F | ( | FileSinkIntegrationTest | , |
DISABLED_canWriteToOutputFileInAppendMode | |||
) |
NES::TEST_F | ( | FilterPushDownTest | , |
testCorrectResultsForFilterPushDownBelowTwoMaps | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::Query::filter(), NES::Query::from(), NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::Query::map(), NES_INFO, NES::Query::project(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), and NES::TestHarness::validate().
NES::TEST_F | ( | FilterPushDownTest | , |
testSameResultsForPushDownBelowMapWithMul | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::Query::filter(), NES::Query::from(), NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::Query::map(), NES_INFO, NES::Query::project(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), and NES::TestHarness::validate().
NES::TEST_F | ( | FilterPushDownTest | , |
testSameResultsForPushDownBelowMapWithNewField | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::Query::filter(), NES::Query::from(), NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::Query::map(), NES_INFO, NES::Query::project(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), and NES::TestHarness::validate().
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().
NES::TEST_F | ( | KeyedSlidingWindowTests | , |
testMultipleSldingWindowIrigularSlide | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromStream(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Milliseconds(), NES::TestUtils::restPort(), NES::API::Seconds(), and NES::API::Sum().
NES::TEST_F | ( | KeyedSlidingWindowTests | , |
testMultipleSlidingWindowMultiBuffer | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromStream(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Milliseconds(), NES::TestUtils::restPort(), NES::API::Seconds(), and NES::API::Sum().
NES::TEST_F | ( | KeyedSlidingWindowTests | , |
testSingleMultiKeySlidingWindow | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromStream(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), and NES::API::Sum().
NES::TEST_F | ( | KeyedSlidingWindowTests | , |
testSingleSlidingWindowMultiBuffer | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), createSimpleInputStream(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Milliseconds(), NES::TestUtils::restPort(), NES::API::Seconds(), and NES::API::Sum().
NES::TEST_F | ( | KeyedSlidingWindowTests | , |
testSingleSlidingWindowSingleBuffer | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), createSimpleInputStream(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Milliseconds(), NES::TestUtils::restPort(), NES::API::Seconds(), and NES::API::Sum().
NES::TEST_F | ( | KeyedSlidingWindowTests | , |
testSingleSlidingWindowSingleBufferSameLength | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), createSimpleInputStream(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), and NES::API::Sum().
NES::TEST_F | ( | KeyedTumblingWindowTests | , |
testMultipleTumblingWindowMultiBuffer | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), NES::TestHarness::setupTopology(), NES::API::Sum(), and NES::TestHarness::validate().
NES::TEST_F | ( | KeyedTumblingWindowTests | , |
testSimpleWindowEventTime | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::TestHarness::getWorkerCount(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::API::Seconds(), NES::TestHarness::setupTopology(), NES::API::Sum(), and NES::TestHarness::validate().
NES::TEST_F | ( | KeyedTumblingWindowTests | , |
testSingleMultiKeyTumblingWindow | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromStream(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), and NES::API::Sum().
NES::TEST_F | ( | KeyedTumblingWindowTests | , |
testSingleTumblingWindowMultiBuffer | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), createSimpleInputStream(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), NES::TestHarness::setupTopology(), NES::API::Sum(), and NES::TestHarness::validate().
NES::TEST_F | ( | KeyedTumblingWindowTests | , |
testSingleTumblingWindowMultiBufferMultipleKeys | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromStream(), createSimpleInputStream(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), NES::TestHarness::setupTopology(), NES::API::Sum(), and NES::TestHarness::validate().
NES::TEST_F | ( | KeyedTumblingWindowTests | , |
testSingleTumblingWindowSingleBuffer | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), createSimpleInputStream(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), NES::TestHarness::setupTopology(), NES::API::Sum(), and NES::TestHarness::validate().
NES::TEST_F | ( | KeyedTumblingWindowTests | , |
testTumblingWindowAVG | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::API::Avg(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), and NES::API::Seconds().
NES::TEST_F | ( | KeyedTumblingWindowTests | , |
testTumblingWindowCount | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::API::Count(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), NES::TestHarness::setupTopology(), and NES::TestHarness::validate().
NES::TEST_F | ( | KeyedTumblingWindowTests | , |
testTumblingWindowMax | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Max(), NES::TestUtils::restPort(), and NES::API::Seconds().
NES::TEST_F | ( | KeyedTumblingWindowTests | , |
testTumblingWindowMin | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Min(), NES::TestUtils::restPort(), NES::API::Seconds(), NES::TestHarness::setupTopology(), and NES::TestHarness::validate().
NES::TEST_F | ( | KeyedTumblingWindowTests | , |
testTumblingWindowMin2 | |||
) |
References __attribute__(), NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Min(), NES::TestUtils::restPort(), NES::API::Seconds(), timestamp, and magic_enum::detail::value().
NES::TEST_F | ( | KeyedTumblingWindowTests | , |
testTumblingWindowMultiAggregate | |||
) |
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::API::Max(), NES::API::Min(), NES::TestUtils::restPort(), NES::API::Seconds(), and NES::API::Sum().
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().
NES::TEST_F | ( | LambdaSourceIntegrationTest | , |
testTwoLambdaSources | |||
) |
blocking
blocking
withConnect
References Attribute(), NES::Optimizer::BottomUp, NES::TestUtils::checkStoppedOrTimeout(), NES::API::EventTime(), NES::Query::from(), NES::Runtime::TupleBuffer::getBuffer(), NES::TestSchemas::getSchemaTemplate(), INTERVAL_MODE, NES::Query::joinWith(), NES::API::Milliseconds(), backward::details::move(), NES_DEBUG, NES_ERROR, NES::TestUtils::restPort(), NES::Query::sink(), time, timestamp, magic_enum::detail::value(), NES::JoinOperatorBuilder::Join::where(), and NES::JoinOperatorBuilder::JoinWhere::window().
NES::TEST_F | ( | LambdaSourceIntegrationTest | , |
testTwoLambdaSourcesMultiThread | |||
) |
blocking
blocking
withConnect
References Attribute(), NES::Optimizer::BottomUp, NES::TestUtils::checkStoppedOrTimeout(), NES::Query::filter(), NES::Query::from(), NES::Runtime::TupleBuffer::getBuffer(), NES::TestSchemas::getSchemaTemplate(), INTERVAL_MODE, backward::details::move(), NES_DEBUG, NES_ERROR, NES_INFO, NES::TestUtils::restPort(), NES::Query::sink(), time, timestamp, and magic_enum::detail::value().
NES::TEST_F | ( | LambdaSourceIntegrationTest | , |
testTwoLambdaSourcesWithSamePhysicalName | |||
) |
blocking
blocking
withConnect
References Attribute(), NES::Optimizer::BottomUp, NES::TestUtils::checkStoppedOrTimeout(), NES::Query::filter(), NES::Query::from(), NES::Runtime::TupleBuffer::getBuffer(), NES::TestSchemas::getSchemaTemplate(), INTERVAL_MODE, backward::details::move(), NES_ASSERT, NES_DEBUG, NES_ERROR, NES::TestUtils::restPort(), NES::Query::sink(), time, timestamp, and magic_enum::detail::value().
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.
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.
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().
NES::TEST_F | ( | LineageManagerTest | , |
deletionFromAnEmptyLineageManager | |||
) |
test tries to delete from an empty bufferAncestorMapping
NES::TEST_F | ( | LineageManagerTest | , |
invertExistingId | |||
) |
test check that the invert function returns old id of a buffer
References buffersInserted.
NES::TEST_F | ( | LineageManagerTest | , |
invertNonExistingId | |||
) |
test checks that invert function returns null in case id doesn't exist
NES::TEST_F | ( | LineageManagerTest | , |
multithreadDeletionFromLineage | |||
) |
test deletes buffers from bufferAncestorMapping concurrently.
References buffersInserted, emptyBuffer, and numberOfThreads.
NES::TEST_F | ( | LineageManagerTest | , |
multithreadInsertionInLineage | |||
) |
test inserts buffers in bufferAncestorMapping concurrently.
References buffersInserted, and numberOfThreads.
NES::TEST_F | ( | LineageManagerTest | , |
OneBufferInsertionInLineageManager | |||
) |
test inserts one buffer into bufferAncestorMapping manager and checks that it was successfully inserted
References oneBuffer.
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().
NES::TEST_F | ( | LocationControllerIntegrationTest | , |
testGetLocationMissingQueryParameters | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | LocationControllerIntegrationTest | , |
testGetLocationNonNumericalNodeId | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, nodeId, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | LocationControllerIntegrationTest | , |
testGetLocationNoSuchNodeId | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), nodeId, NES::TestUtils::restPort(), NES::TestUtils::startCoordinator(), and NES::NESStrongType< T, Tag, invalid, initial >::toString().
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().
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().
NES::TEST_F | ( | LocationProviderCSVTest | , |
testCsvMovement | |||
) |
References getTimestamp(), getWaypointsFromCsv(), and NES_DEBUG.
NES::TEST_F | ( | LocationProviderCSVTest | , |
testCsvMovementWithSimulatedLocationInFuture | |||
) |
References getTimestamp(), getWaypointsFromCsv(), and NES_DEBUG.
NES::TEST_F | ( | LocationProviderCSVTest | , |
testCsvMovementWithSimulatedLocationInPast | |||
) |
References getTimestamp(), getWaypointsFromCsv(), and NES_DEBUG.
NES::TEST_F | ( | LocationProviderCSVTest | , |
testInvalidCsv | |||
) |
NES::TEST_F | ( | LocationUnitTest | , |
testExceptionHandling | |||
) |
References NES::Spatial::DataTypes::Experimental::GeoLocation::fromString().
NES::TEST_F | ( | LogicalExpressionTest | , |
testAndCompile | |||
) |
NES::TEST_F | ( | LogicalExpressionTest | , |
testEqualityExpression | |||
) |
NES::TEST_F | ( | LogicalExpressionTest | , |
testGeqExpression | |||
) |
NES::TEST_F | ( | LogicalExpressionTest | , |
testGtExpression | |||
) |
NES::TEST_F | ( | LogicalExpressionTest | , |
testInequalityExpression | |||
) |
NES::TEST_F | ( | LogicalExpressionTest | , |
testLeqExpression | |||
) |
NES::TEST_F | ( | LogicalExpressionTest | , |
testLtExpression | |||
) |
NES::TEST_F | ( | LogicalExpressionTest | , |
testOrExpression | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
addAndRemoveDuplicatedPredecessors | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
addAndRemoveDuplicatedSuccessors | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
addAndRemoveLogicalDuplicateButDifferentOperatorAsSuccessors | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
addAndRemoveLogicallyDuplicatedButDifferentOperatorAsPredecessors | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
addAndRemoveMultiplePredecessors | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
addAndRemoveMultipleSuccessors | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
addAndRemoveNullPredecessor | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
addAndRemoveNullSuccessor | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
addAndRemoveSinglePredecessor | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
addAndRemoveSingleSuccessor | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
addSelfAsPredecessor | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
addSelfAsSuccessor | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
as | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
asBadCast | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
bfIterator | |||
) |
1 -> 2 -> 5 1 -> 2 -> 6 1 -> 3 1 -> 4 -> 7
NES::TEST_F | ( | LogicalOperatorTest | , |
clear | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
consistencyBetweenSuccessorPredecesorRelation1 | |||
) |
References NES_DEBUG.
NES::TEST_F | ( | LogicalOperatorTest | , |
consistencyBetweenSuccessorPredecesorRelation2 | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
dfIterator | |||
) |
1 -> 2 -> 5 1 -> 2 -> 6 1 -> 3 1 -> 4 -> 7
NES::TEST_F | ( | LogicalOperatorTest | , |
equalWithAllPredecessors1 | |||
) |
/<- filterOp4
topology1: filterOp6 <- filterOp1 <- filterOp2 <- filterOp3
/<- filterOp4'
topology2: filterOp6' <- filterOp1' <- filterOp2' <- filterOp3'
NES::TEST_F | ( | LogicalOperatorTest | , |
equalWithAllPredecessors2 | |||
) |
/<- filterOp4
topology1: filterOp6 <- filterOp1 <- filterOp2 <- filterOp3
/<- filterOp4'
topology3: sourceOp <- filterOp1' <- filterOp2' <- filterOp3'
NES::TEST_F | ( | LogicalOperatorTest | , |
equalWithAllPredecessors3 | |||
) |
/<- filterOp4
topology1: filterOp6 <- filterOp1 <- filterOp2 <- filterOp3
/<- filterOp5'
topology4: filterOp6' <- filterOp1' <- filterOp2' <- filterOp3'
NES::TEST_F | ( | LogicalOperatorTest | , |
equalWithAllSuccessors1 | |||
) |
/-> filterOp4
topology1: filterOp6 -> filterOp1 -> filterOp2 -> filterOp3
/-> filterOp4'
topology2: filterOp6' -> filterOp1' -> filterOp2' -> filterOp3'
NES::TEST_F | ( | LogicalOperatorTest | , |
equalWithAllSuccessors2 | |||
) |
/-> filterOp4
topology1: filterOp6 -> filterOp1 -> filterOp2 -> filterOp3
/-> filterOp4'
topology3: sourceOp -> filterOp1' -> filterOp2' -> filterOp3'
NES::TEST_F | ( | LogicalOperatorTest | , |
equalWithAllSuccessors3 | |||
) |
/-> filterOp4
topology1: filterOp6 -> filterOp1 -> filterOp2 -> filterOp3
/-> filterOp5'
topology4: filterOp6' -> filterOp1' -> filterOp2' -> filterOp3'
NES::TEST_F | ( | LogicalOperatorTest | , |
findRecurisivelyOperatorNotExists | |||
) |
/-> filterOp4
topology1: filterOp6 -> filterOp1 -> filterOp2 -> filterOp3 -> filterOp5
NES::TEST_F | ( | LogicalOperatorTest | , |
getAndFlattenAllSuccessorsForCycle | |||
) |
/-> filterOp4
topology1: filterOp6 -> filterOp1 -> filterOp2 ^ -> filterOp3 |<------------—|
NES::TEST_F | ( | LogicalOperatorTest | , |
getAndFlattenAllSuccessorsNoCycle | |||
) |
/-> filterOp4
topology1: filterOp6 -> filterOp1 -> filterOp2 ^ -> filterOp3 |<------------—|
NES::TEST_F | ( | LogicalOperatorTest | , |
getOperatorByType | |||
) |
References NES_DEBUG.
NES::TEST_F | ( | LogicalOperatorTest | , |
getPredecessors | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
getSuccessors | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
instanceOf | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
isCyclic | |||
) |
/-> filterOp4
topology1: filterOp6 -> filterOp1 -> filterOp2 ^ -> filterOp3 |<------------—|
NES::TEST_F | ( | LogicalOperatorTest | , |
isNotCyclic | |||
) |
/-> filterOp4 --|
topology1: filterOp6 -> filterOp1 -> filterOp2 <- -> filterOp3
NES::TEST_F | ( | LogicalOperatorTest | , |
prettyPrint | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
remove | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
removeExistedAndLevelUpSuccessors | |||
) |
remove filterOp1 from topology original: sourceOp -> filterOp1 -> filterOp2 |-> filterOp3 desired: sourceOp -> filterOp2 |-> filterOp3
NES::TEST_F | ( | LogicalOperatorTest | , |
removeExistedSblingAndLevelUpSuccessors | |||
) |
remove filterOp1 from topology
/-> filterOp3'
original: sourceOp -> filterOp1 -> filterOp2 -> filterOp3
desired: unchanged
NES::TEST_F | ( | LogicalOperatorTest | , |
removeNotExistedAndLevelUpSuccessors | |||
) |
remove filterOp4 from topology original: sourceOp -> filterOp1 -> filterOp2 |-> filterOp3
desired: sourceOp -> filterOp1 -> filterOp2 |-> filterOp3
NES::TEST_F | ( | LogicalOperatorTest | , |
replacePredecessor | |||
) |
replace filterOp1 with filterOp3 original: sourceOp <- filterOp1 <- filterOp2 replaced: sourceOp <- filterOp3 <- filterOp2
NES::TEST_F | ( | LogicalOperatorTest | , |
replaceSuccessor | |||
) |
replace filterOp1 with filterOp3 original: sourceOp -> filterOp1 -> filterOp2 filterOp3 -> filterOp4 replaced: sourceOp -> filterOp3 -> filterOp2 |-> filterOp4
NES::TEST_F | ( | LogicalOperatorTest | , |
replaceSuccessorInvalidOldOperator | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
replaceWithEqualPredecessor | |||
) |
replace filterOp1 with filterOp1Copy original: sourceOp -> filterOp1 -> filterOp2 replaced: sourceOp -> filterOp1Copy -> filterOp2
NES::TEST_F | ( | LogicalOperatorTest | , |
replaceWithEqualSuccessor | |||
) |
replace filterOp1 with filterOp1Copy original: sourceOp -> filterOp1 -> filterOp2 replaced: sourceOp -> filterOp1Copy -> filterOp2
NES::TEST_F | ( | LogicalOperatorTest | , |
replaceWithExistedSuccessor | |||
) |
replace filterOp1 with filterOp3 original: sourceOp -> filterOp1 -> filterOp2 |-> filterOp3 -> filterOp4 replaced: sourceOp -> filterOp1 -> filterOp2 |-> filterOp3 -> filterOp4
NES::TEST_F | ( | LogicalOperatorTest | , |
replaceWithIdenticalPredecessor | |||
) |
replace filterOp1 with filterOp1 original: sourceOp -> filterOp1 -> filterOp2 replaced: sourceOp -> filterOp1 -> filterOp2
NES::TEST_F | ( | LogicalOperatorTest | , |
replaceWithIdenticalSuccessor | |||
) |
replace filterOp1 with filterOp1 original: sourceOp -> filterOp1 -> filterOp2 replaced: sourceOp -> filterOp1 -> filterOp2
NES::TEST_F | ( | LogicalOperatorTest | , |
replaceWithNoneSuccessor | |||
) |
replace filterOp3 (not existed) with filterOp3 original: sourceOp -> filterOp1 -> filterOp2 replaced: sourceOp -> filterOp1 -> filterOp2
NES::TEST_F | ( | LogicalOperatorTest | , |
replaceWithSubSuccessor | |||
) |
replace filterOp1 with filterOp2 original: sourceOp -> filterOp1 -> filterOp2 replaced: sourceOp -> filterOp2
NES::TEST_F | ( | LogicalOperatorTest | , |
replaceWithWithInvalidNewOperator | |||
) |
NES::TEST_F | ( | LogicalOperatorTest | , |
splitWithAtLastSuccessor | |||
) |
split at filterOp3 topology1: filterOp6 -> filterOp1 -> filterOp2 -> filterOp3
NES::TEST_F | ( | LogicalOperatorTest | , |
splitWithAtRoot | |||
) |
split at filterOp6 topology1: filterOp6 -> filterOp1 -> filterOp2 -> filterOp3
NES::TEST_F | ( | LogicalOperatorTest | , |
splitWithMultiplePredecessors | |||
) |
filterOp7->\
topology1: filterOp6 -> filterOp1 -> filterOp2 -> filterOp3
NES::TEST_F | ( | LogicalOperatorTest | , |
splitWithSinglePredecessor | |||
) |
split at filterOp2 topology1: filterOp6 -> filterOp1 -> filterOp2 -> filterOp3
NES::TEST_F | ( | LogicalOperatorTest | , |
swap1 | |||
) |
swap filterOp1 by filterOp3 /-> filterOp4 topology1: filterOp6 -> filterOp1 -> filterOp2
filterOp3 -> filterOp5 \-> filterOp2
NES::TEST_F | ( | LogicalOperatorTest | , |
swap2 | |||
) |
swap filterOp4 by filterOp3 /-> filterOp4 topology1: filterOp6 -> filterOp1 -> filterOp2
filterOp3 -> filterOp5 \-> filterOp2
NES::TEST_F | ( | LogicalOperatorTest | , |
swap3 | |||
) |
swap filterOp2 by filterOp3 /-> filterOp4 ->\ topology1: filterOp6 -> filterOp1 -> filterOp2
filterOp3 -> filterOp5 \-> filterOp7
NES::TEST_F | ( | LogicalOperatorTest | , |
swap4 | |||
) |
swap filterOp2 by filterOp3 /-> filterOp4 ->\ topology1: filterOp6 -> filterOp1 -> filterOp2
filterOp3 -> filterOp5 \-> filterOp7
NES::TEST_F | ( | LogicalOperatorTest | , |
swap5 | |||
) |
swap filterOp2 by filterOp3 /-> filterOp4 -->| topology1: filterOp6 -> filterOp1 -> filterOp2
filterOp3 -> filterOp5 \-> filterOp2
NES::TEST_F | ( | LogicalOperatorTest | , |
swap6 | |||
) |
swap filterOp4 by filterOp3 /-> filterOp4 -->| topology1: filterOp6 -> filterOp3 -> filterOp2
filterOp3 -> filterOp5 \-> filterOp2
NES::TEST_F | ( | LowerLogicalToPhysicalOperatorsTest | , |
checkMigrationFileIsPropogatedToSink | |||
) |
NES::TEST_F | ( | LowerLogicalToPhysicalOperatorsTest | , |
checkRecreationFileSet | |||
) |
NES::TEST_F | ( | LowerLogicalToPhysicalOperatorsTest | , |
checkUsedSameOperator | |||
) |
NES::TEST_F | ( | LowerLogicalToPhysicalOperatorsTest | , |
DISABLED_translateJoinQueryWithMultiplex | |||
) |
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.
NES::TEST_F | ( | LowerLogicalToPhysicalOperatorsTest | , |
DISABLED_translateSimpleBatchJoinQuery | |||
) |
References NES_DEBUG.
NES::TEST_F | ( | LowerLogicalToPhysicalOperatorsTest | , |
DISABLED_translateSimpleJoinQuery | |||
) |
NES::TEST_F | ( | LowerLogicalToPhysicalOperatorsTest | , |
DISABLED_translateWindowQuery | |||
) |
NES::TEST_F | ( | LowerLogicalToPhysicalOperatorsTest | , |
translateDemultiplexFilterQuery | |||
) |
NES::TEST_F | ( | LowerLogicalToPhysicalOperatorsTest | , |
translateFilterImplicitMultiplexQuery | |||
) |
NES::TEST_F | ( | LowerLogicalToPhysicalOperatorsTest | , |
translateFilterMultiplexQuery | |||
) |
NES::TEST_F | ( | LowerLogicalToPhysicalOperatorsTest | , |
translateFilterQuery | |||
) |
NES::TEST_F | ( | LowerLogicalToPhysicalOperatorsTest | , |
translateMapJavaUDFQuery | |||
) |
NES::TEST_F | ( | LowerLogicalToPhysicalOperatorsTest | , |
translateMapQuery | |||
) |
NES::TEST_F | ( | LowerLogicalToPhysicalOperatorsTest | , |
translateProjectQuery | |||
) |
NES::TEST_F | ( | LowerLogicalToPhysicalOperatorsTest | , |
translateSinkSourceQuery | |||
) |
NES::TEST_F | ( | LowerLogicalToPhysicalOperatorsTest | , |
translateTwoSourceQuery | |||
) |
NES::TEST_F | ( | MapJavaUDFLogicalOperatorTest | , |
AddParentToCopy | |||
) |
NES::TEST_F | ( | MapJavaUDFLogicalOperatorTest | , |
InferSchema | |||
) |
NES::TEST_F | ( | MapJavaUDFLogicalOperatorTest | , |
InferSchemaCompatibleTypes | |||
) |
NES::TEST_F | ( | MapJavaUDFLogicalOperatorTest | , |
InferSchemaDifferentSize | |||
) |
NES::TEST_F | ( | MapJavaUDFLogicalOperatorTest | , |
InferSchemaInCompatibleTypes | |||
) |
NES::TEST_F | ( | MapJavaUDFLogicalOperatorTest | , |
InferSchemaMissingField | |||
) |
NES::TEST_F | ( | MapJavaUDFLogicalOperatorTest | , |
InferSchemaSingleField | |||
) |
NES::TEST_F | ( | MapJavaUDFLogicalOperatorTest | , |
InferSchemaSingleFieldIncompatibleTypes | |||
) |
NES::TEST_F | ( | MapJavaUDFLogicalOperatorTest | , |
InferSchemaSingleFieldUnsignedLong | |||
) |
NES::TEST_F | ( | MapJavaUDFLogicalOperatorTest | , |
InferSchemaUnsignedIntegers | |||
) |
NES::TEST_F | ( | MapJavaUDFLogicalOperatorTest | , |
InferSchemaUnsignedLong | |||
) |
NES::TEST_F | ( | MapJavaUDFLogicalOperatorTest | , |
InferStringSignature | |||
) |
References NES_DEBUG.
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().
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().
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().
NES::TEST_F | ( | MetricCollectorTest | , |
testCpuCollectorSingleMetrics | |||
) |
References AbstractReader, NES::Monitoring::asJson(), bufferSize, NES::Monitoring::CpuMetrics::getSchema(), NES::Monitoring::CpuMetricsWrapper::getValue(), NES_DEBUG, nodeId, NES::Monitoring::CpuMetrics::nodeId, readFromBuffer(), NES::Monitoring::CpuMetricsWrapper::size(), NES::Monitoring::WrappedCpuMetrics, and writeToBuffer().
NES::TEST_F | ( | MetricCollectorTest | , |
testCpuCollectorWrappedMetrics | |||
) |
References AbstractReader, NES::Monitoring::asJson(), bufferSize, NES::Monitoring::CpuMetrics::getSchema(), NES::Monitoring::CpuMetricsWrapper::getValue(), NES_DEBUG, nodeId, readFromBuffer(), NES::Monitoring::CpuMetricsWrapper::size(), NES::Monitoring::WrappedCpuMetrics, and NES::Monitoring::CpuMetricsWrapper::writeToBuffer().
NES::TEST_F | ( | MetricCollectorTest | , |
testDiskCollector | |||
) |
References NES::Monitoring::asJson(), bufferSize, NES::Monitoring::DiskMetric, NES::Monitoring::DiskMetrics::getSchema(), NES::Monitoring::SystemResourcesReaderFactory::getSystemResourcesReader(), NES::MetricValidator::isValid(), NES_DEBUG, nodeId, NES::Monitoring::DiskMetrics::nodeId, readFromBuffer(), and writeToBuffer().
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().
NES::TEST_F | ( | MetricCollectorTest | , |
testNetworkCollectorSingleMetrics | |||
) |
References AbstractReader, NES::Monitoring::asJson(), bufferSize, NES::Monitoring::NetworkMetricsWrapper::getNetworkValue(), NES::Monitoring::NetworkMetrics::getSchema(), NES_DEBUG, nodeId, NES::Monitoring::NetworkMetrics::nodeId, readFromBuffer(), NES::Monitoring::NetworkMetricsWrapper::size(), NES::Monitoring::WrappedNetworkMetrics, and writeToBuffer().
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().
NES::TEST_F | ( | MetricStoreTest | , |
testAllEntriesMetricStore | |||
) |
References nodeId.
NES::TEST_F | ( | MetricStoreTest | , |
testNewestEntryMetricStore | |||
) |
References nodeId.
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().
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.
NES::TEST_F | ( | MMapCircularBufferTest | , |
TestConstruction | |||
) |
References MMapCircularBuffer::capacity(), MMapCircularBuffer::empty(), MMapCircularBuffer::full(), and MMapCircularBuffer::size().
NES::TEST_F | ( | MMapCircularBufferTest | , |
TestRead | |||
) |
References MMapCircularBuffer::capacity(), data, MMapCircularBuffer::empty(), MMapCircularBuffer::full(), apex::memcpy(), MMapCircularBuffer::read(), size(), MMapCircularBuffer::size(), and MMapCircularBuffer::write().
NES::TEST_F | ( | MMapCircularBufferTest | , |
TestWrapAround | |||
) |
References MMapCircularBuffer::capacity(), data, MMapCircularBuffer::empty(), MMapCircularBuffer::full(), apex::memcpy(), MMapCircularBuffer::read(), size(), MMapCircularBuffer::size(), and MMapCircularBuffer::write().
NES::TEST_F | ( | MMapCircularBufferTest | , |
TestWrite | |||
) |
References MMapCircularBuffer::capacity(), MMapCircularBuffer::empty(), MMapCircularBuffer::full(), apex::memcpy(), size(), MMapCircularBuffer::size(), and MMapCircularBuffer::write().
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().
NES::TEST_F | ( | MonitoringControllerTest | , |
testGetMonitoringControllerStorage | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::Monitoring::SystemResourcesReaderFactory::getSystemResourcesReader(), NES::MetricValidator::isValidRegistrationMetrics(), NES_INFO, NES::Monitoring::RegistrationMetric, NES::TestUtils::restPort(), and NES::Monitoring::toString().
NES::TEST_F | ( | MonitoringControllerTest | , |
testGetMonitoringControllerStreams | |||
) |
References NES::MetricValidator::checkEntriesOfStream(), NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::Monitoring::DiskMetric, NES::Monitoring::MemoryMetric, NES_INFO, NES::TestUtils::restPort(), NES::Monitoring::toString(), NES::Monitoring::WrappedCpuMetrics, and NES::Monitoring::WrappedNetworkMetrics.
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().
NES::TEST_F | ( | MonitoringControllerTest | , |
testStartMonitoring | |||
) |
References NES::MetricValidator::checkEntriesOfStream(), NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::Monitoring::DiskMetric, NES::Monitoring::MemoryMetric, NES_INFO, NES::TestUtils::restPort(), NES::Monitoring::toString(), NES::Monitoring::WrappedCpuMetrics, and NES::Monitoring::WrappedNetworkMetrics.
NES::TEST_F | ( | MonitoringControllerTest | , |
testStartMonitoringFailsBecauseMonitoringIsNotEnabled | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_INFO, and NES::TestUtils::restPort().
NES::TEST_F | ( | MonitoringControllerTest | , |
testStopMonitoring | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_INFO, and NES::TestUtils::restPort().
NES::TEST_F | ( | MonitoringControllerTest | , |
testStopMonitoringFailsBecauseMonitoringIsNotEnabled | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_INFO, and NES::TestUtils::restPort().
NES::TEST_F | ( | MonitoringQueriesTest | , |
testCpuMetricsQueryWithStorage | |||
) |
References NES::Monitoring::CPU_COLLECTOR, NES::Monitoring::CpuMetrics::getSchema(), NES_INFO, and NES::Monitoring::WrappedCpuMetrics.
NES::TEST_F | ( | MonitoringQueriesTest | , |
testDiskMetricsQueryWithStorage | |||
) |
References NES::Monitoring::DISK_COLLECTOR, NES::Monitoring::DiskMetric, NES::Monitoring::DiskMetrics::getSchema(), and NES_INFO.
NES::TEST_F | ( | MonitoringQueriesTest | , |
testMemoryMetricsQueryWithStorage | |||
) |
References NES::Monitoring::MemoryMetrics::getSchema(), NES::Monitoring::MEMORY_COLLECTOR, NES::Monitoring::MemoryMetric, and NES_INFO.
NES::TEST_F | ( | MonitoringQueriesTest | , |
testNetworkMetricsQueryWithStorage | |||
) |
References NES::Monitoring::NetworkMetrics::getSchema(), NES_INFO, NES::Monitoring::NETWORK_COLLECTOR, and NES::Monitoring::WrappedNetworkMetrics.
NES::TEST_F | ( | MultiWorkerTest | , |
checkPersistenceOfNewWorkerIdInYaml | |||
) |
blocking
blocking
withConnect
References NES::TestUtils::configPath(), backward::details::move(), NES_DEBUG, and NES::TestUtils::restPort().
NES::TEST_F | ( | MultiWorkerTest | , |
checkPersistenceOfWorkerIdWithNonExistingConfigFile | |||
) |
blocking
blocking
withConnect
References NES::TestUtils::configPath(), backward::details::move(), NES_DEBUG, and NES::TestUtils::restPort().
NES::TEST_F | ( | MultiWorkerTest | , |
DISABLED_checkPersistenceOfOverwrittenWorkerIdInYaml | |||
) |
blocking
blocking
withConnect
References NES::TestUtils::configPath(), backward::details::move(), NES_DEBUG, and NES::TestUtils::restPort().
NES::TEST_F | ( | MultiWorkerTest | , |
startConnectStopWithoutDisconnectWorkerCoordinator | |||
) |
blocking
blocking
withConnect
blocking
withConnect
References backward::details::move(), and NES::TestUtils::restPort().
NES::TEST_F | ( | MultiWorkerTest | , |
startConnectStopWorkerCoordinator | |||
) |
blocking
blocking
withConnect
blocking
withConnect
References backward::details::move(), and NES::TestUtils::restPort().
NES::TEST_F | ( | MultiWorkerTest | , |
startStopCoordinatorWorker | |||
) |
blocking
blocking
withConnect
blocking
withConnect
References backward::details::move(), and NES::TestUtils::restPort().
NES::TEST_F | ( | MultiWorkerTest | , |
startStopWorkerCoordinator | |||
) |
blocking
blocking
withConnect
blocking
withConnect
References backward::details::move(), and NES::TestUtils::restPort().
NES::TEST_F | ( | MultiWorkerTest | , |
startStopWorkerCoordinatorSingle | |||
) |
blocking
blocking
withConnect
References backward::details::move(), and NES::TestUtils::restPort().
NES::TEST_F | ( | MultiWorkerTest | , |
startWithConnectStopWorkerCoordinator | |||
) |
blocking
blocking
withConnect
blocking
withConnect
References backward::details::move(), and NES::TestUtils::restPort().
NES::TEST_F | ( | MultiWorkerTest | , |
startWorkersWithoutWorkerId | |||
) |
blocking
blocking
withConnect
blocking
withConnect
References backward::details::move(), NES_DEBUG, and NES::TestUtils::restPort().
NES::TEST_F | ( | MultiWorkerTest | , |
startWorkerWithCorrectNextWorkerId | |||
) |
blocking
blocking
withConnect
blocking
withConnect
References backward::details::move(), NES_DEBUG, and NES::TestUtils::restPort().
NES::TEST_F | ( | MultiWorkerTest | , |
startWorkerWithMisconfiguredWorkerId | |||
) |
blocking
blocking
withConnect
References backward::details::move(), NES_DEBUG, and NES::TestUtils::restPort().
NES::TEST_F | ( | MultiWorkerTest | , |
startWorkerWithWorkerIdBelongingToActiveWorker | |||
) |
blocking
blocking
withConnect
blocking
withConnect
References backward::details::move(), NES_DEBUG, and NES::TestUtils::restPort().
NES::TEST_F | ( | MultiWorkerTest | , |
testMultipleWorker | |||
) |
blocking
blocking
withConnect
References backward::details::move(), and NES::TestUtils::restPort().
NES::TEST_F | ( | NesCoordinatorTest | , |
internalWorkerUsesConfigurationFromCoordinatorConfiguration | |||
) |
References coordinator, NES_DEBUG, and NES::TestUtils::restPort().
NES::TEST_F | ( | NesCoordinatorTest | , |
internalWorkerUsesIpAndPortFromCoordinator | |||
) |
References coordinator, NES_DEBUG, and NES::TestUtils::restPort().
NES::TEST_F | ( | NodeEngineTest | , |
DISABLED_testExceptionCrash | |||
) |
NES::TEST_F | ( | NodeEngineTest | , |
DISABLED_testFatalCrash | |||
) |
References NES::TestUtils::dataPort(), and NES::detail::segkiller().
NES::TEST_F | ( | NodeEngineTest | , |
DISABLED_testFullyUnhandledExceptionCrash | |||
) |
References createCSVFileSink(), backward::details::move(), NES_DEBUG, and NES_ERROR.
NES::TEST_F | ( | NodeEngineTest | , |
DISABLED_testParallelSameSink | |||
) |
NES::TEST_F | ( | NodeEngineTest | , |
DISABLED_testParallelSameSourceAndSinkRegstart | |||
) |
NES::TEST_F | ( | NodeEngineTest | , |
DISABLED_testSemiUnhandledExceptionCrash | |||
) |
References createCSVFileSink(), backward::details::move(), NES_DEBUG, and NES_ERROR.
NES::TEST_F | ( | NodeEngineTest | , |
testBufferData | |||
) |
NES::TEST_F | ( | NodeEngineTest | , |
testParallelDifferentSource | |||
) |
References createCSVFileSink(), and createDefaultSourceWithoutSchemaForOneBuffer().
NES::TEST_F | ( | NodeEngineTest | , |
testParallelSameSource | |||
) |
References createCSVFileSink(), and createDefaultSourceWithoutSchemaForOneBuffer().
NES::TEST_F | ( | NodeEngineTest | , |
testReconfigureSink | |||
) |
NES::TEST_F | ( | NodeEngineTest | , |
teststartDeployStop | |||
) |
NES::TEST_F | ( | NodeEngineTest | , |
testStartDeployUndeployStop | |||
) |
NES::TEST_F | ( | NodeEngineTest | , |
testStartRegisterStartStopDeregisterStop | |||
) |
NES::TEST_F | ( | NodeEngineTest | , |
testStartStopEngineEmpty | |||
) |
Test methods cout << "Stats=" << ptr->getStatistics() << endl;
NES::TEST_F | ( | NodeEngineTest | , |
testStartStopStartStop | |||
) |
NES::TEST_F | ( | NonBlockingMonotonicSeqQueueTest | , |
concurrentLockFreeWatermarkUpdaterTest | |||
) |
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.
NES::TEST_F | ( | NonBlockingMonotonicSeqQueueTest | , |
concurrentUpdatesWithLostUpdateThreadTest | |||
) |
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.
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.
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.
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.
NES::TEST_F | ( | NonKeyedSlidingWindowTests | , |
testMultipleSldingWindowIrigularSlide | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromStream(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Milliseconds(), NES::TestUtils::restPort(), NES::API::Seconds(), and NES::API::Sum().
NES::TEST_F | ( | NonKeyedSlidingWindowTests | , |
testMultipleSldingWindowMultiBuffer | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromStream(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Milliseconds(), NES::TestUtils::restPort(), NES::API::Seconds(), and NES::API::Sum().
NES::TEST_F | ( | NonKeyedSlidingWindowTests | , |
testSingleSlidingWindowMultiBuffer | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), createSimpleInputStream(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Milliseconds(), NES::TestUtils::restPort(), NES::API::Seconds(), and NES::API::Sum().
NES::TEST_F | ( | NonKeyedSlidingWindowTests | , |
testSingleSlidingWindowSingleBuffer | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), createSimpleInputStream(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Milliseconds(), NES::TestUtils::restPort(), NES::API::Seconds(), and NES::API::Sum().
NES::TEST_F | ( | NonKeyedSlidingWindowTests | , |
testSingleSlidingWindowSingleBufferSameLength | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), createSimpleInputStream(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), and NES::API::Sum().
NES::TEST_F | ( | NonKeyedSlidingWindowTests | , |
testWindowExecutionWithDifferentTimeUnits | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::API::Count(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Milliseconds(), NES::TestUtils::restPort(), NES::API::Seconds(), timestamp, and magic_enum::detail::value().
NES::TEST_F | ( | NonKeyedTumblingWindowTests | , |
testMultipleGlobalTumblingWindowMultiBuffer | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), and NES::API::Sum().
NES::TEST_F | ( | NonKeyedTumblingWindowTests | , |
testSingleGlobalTumblingWindowMultiBuffer | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), createSimpleInputStream(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), and NES::API::Sum().
NES::TEST_F | ( | NonKeyedTumblingWindowTests | , |
testSingleGlobalTumblingWindowSingleBuffer | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), createSimpleInputStream(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), and NES::API::Sum().
NES::TEST_F | ( | NonKeyedTumblingWindowTests | , |
testSingleTumblingWindowMultiBufferMultipleKeys | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), createSimpleInputStream(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), and NES::API::Sum().
NES::TEST_F | ( | NonKeyedTumblingWindowTests | , |
testTumblingWindowAVG | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::API::Avg(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), and NES::API::Seconds().
NES::TEST_F | ( | NonKeyedTumblingWindowTests | , |
testTumblingWindowCount | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), 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().
NES::TEST_F | ( | NonKeyedTumblingWindowTests | , |
testTumblingWindowMax | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Max(), NES::TestUtils::restPort(), and NES::API::Seconds().
NES::TEST_F | ( | NonKeyedTumblingWindowTests | , |
testTumblingWindowMin | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithLambdaSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Min(), NES::TestUtils::restPort(), and NES::API::Seconds().
NES::TEST_F | ( | NonKeyedTumblingWindowTests | , |
testTumblingWindowMultiAggregate | |||
) |
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::API::Max(), NES::API::Min(), NES::TestUtils::restPort(), NES::API::Seconds(), and NES::API::Sum().
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().
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().
NES::TEST_F | ( | OperatorPropertiesTest | , |
testAssignDifferentPropertyTypes | |||
) |
References NES::Util::assignPropertiesToQueryOperators(), NES::Query::from(), and NES::Query::sink().
NES::TEST_F | ( | OperatorPropertiesTest | , |
testAssignProperties | |||
) |
References NES::Util::assignPropertiesToQueryOperators(), Attribute(), NES::Query::filter(), NES::Query::from(), and NES::Query::sink().
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().
NES::TEST_F | ( | OperatorPropertiesTest | , |
testAssignWithLessPropertiesThanOperators | |||
) |
References NES::Util::assignPropertiesToQueryOperators(), Attribute(), NES::Query::filter(), NES::Query::from(), and NES::Query::sink().
NES::TEST_F | ( | OperatorPropertiesTest | , |
testAssignWithMorePropertiesThanOperators | |||
) |
References NES::Util::assignPropertiesToQueryOperators(), NES::Query::from(), and NES::Query::sink().
NES::TEST_F | ( | PapiProfilerTest | , |
testSampling | |||
) |
NES::TEST_F | ( | PipeliningPhaseTest | , |
pipelineDemultiplex | |||
) |
NES::TEST_F | ( | PipeliningPhaseTest | , |
pipelineFilterMapQuery | |||
) |
NES::TEST_F | ( | PipeliningPhaseTest | , |
pipelineFilterMultiplexQuery | |||
) |
NES::TEST_F | ( | PipeliningPhaseTest | , |
pipelineFilterQuery | |||
) |
Input Query Plan:
— Physical Sink 1 — Physical Filter — Physical Source 1
— | Physical Sink 1 | — | Physical Filter | — | Physical Source 1 |
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.
NES::TEST_F | ( | PipeliningPhaseTest | , |
pipelineJoinWithMultiplexQuery | |||
) |
NES::TEST_F | ( | PipeliningPhaseTest | , |
pipelineMapFilterProjectQuery | |||
) |
NES::TEST_F | ( | PipeliningPhaseTest | , |
pipelineMultiplexQuery | |||
) |
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.
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().
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().
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().
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().
NES::TEST_F | ( | QueryAPITest | , |
testQueryExpression | |||
) |
NES::TEST_F | ( | QueryAPITest | , |
testQueryFilter | |||
) |
References Attribute(), NES::Query::filter(), NES::Query::from(), NES::Query::getQueryPlan(), NES::TestSchemas::getSchemaTemplate(), and NES::Query::sink().
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().
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().
NES::TEST_F | ( | QueryAPITest | , |
testQueryProjection | |||
) |
References Attribute(), NES::Query::from(), NES::Query::getQueryPlan(), NES::TestSchemas::getSchemaTemplate(), and NES::Query::project().
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().
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().
NES::TEST_F | ( | QueryAPITest | , |
testQuerySlidingWindow | |||
) |
References NES::WindowOperatorBuilder::KeyedWindowedQuery::apply(), Attribute(), NES::WindowOperatorBuilder::WindowedQuery::byKey(), NES::Query::from(), NES::Query::getQueryPlan(), NES::TestSchemas::getSchemaTemplate(), NES::API::Seconds(), NES::Query::sink(), NES::API::Sum(), and NES::Query::window().
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().
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().
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().
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().
NES::TEST_F | ( | QueryAPITest | , |
testQueryTumblingWindow | |||
) |
References NES::WindowOperatorBuilder::KeyedWindowedQuery::apply(), Attribute(), NES::WindowOperatorBuilder::WindowedQuery::byKey(), NES::Query::from(), NES::Query::getQueryPlan(), NES::TestSchemas::getSchemaTemplate(), NES::API::Seconds(), NES::Query::sink(), NES::API::Sum(), and NES::Query::window().
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().
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().
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().
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().
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().
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().
NES::TEST_F | ( | QueryCatalogControllerTest | , |
testGetRequestStatusOfQuery | |||
) |
References Attribute(), NES::Optimizer::BottomUp, NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::Query::filter(), NES::Query::from(), REGISTERED, NES::TestUtils::restPort(), NES::Query::sink(), NES::TestUtils::startCoordinator(), and NES::NESStrongType< T, Tag, invalid, initial >::toString().
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().
NES::TEST_F | ( | QueryControllerTest | , |
testGetExecutionPlanNoSuchQueryId | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::TestUtils::checkRunningOrTimeout(), coordinator, NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), and NES::TestUtils::waitForQueryToStart().
NES::TEST_F | ( | QueryControllerTest | , |
testGetQueryPlan | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::TestUtils::checkRunningOrTimeout(), coordinator, NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), and NES::TestUtils::waitForQueryToStart().
NES::TEST_F | ( | QueryControllerTest | , |
testGetQueryPlanNoSuchQueryId | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::TestUtils::checkRunningOrTimeout(), coordinator, NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), and NES::TestUtils::waitForQueryToStart().
NES::TEST_F | ( | QueryControllerTest | , |
testSubmitQueryInvalidPlacement | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES_DEBUG, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | QueryControllerTest | , |
testSubmitQueryNoPlacement | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES_DEBUG, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | QueryControllerTest | , |
testSubmitQueryNoUserQuery | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | QueryControllerTest | , |
testSubmitValidQuery | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::TestUtils::checkRunningOrTimeout(), coordinator, NES_INFO, and NES::TestUtils::restPort().
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().
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().
NES::TEST_F | ( | QueryDeploymentTest | , |
DISABLED_testSelfJoinTumblingWindow | |||
) |
Test deploying join query with source on two different worker node using top down strategy.
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::API::Milliseconds(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), timestamp, NES::TestHarness::validate(), and magic_enum::detail::value().
NES::TEST_F | ( | QueryDeploymentTest | , |
testDeployOneWorkerFileOutput | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToWorkerWithId(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::TestHarness::getBufferManager(), NES::TestHarness::getOutputSchema(), NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), NES::TestHarness::validate(), and magic_enum::detail::value().
NES::TEST_F | ( | QueryDeploymentTest | , |
testDeployOneWorkerFileOutputUsingTopDownStrategy | |||
) |
Test deploy query with print sink with one worker using top down strategy.
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::TestHarness::getBufferManager(), NES::TestHarness::getOutputSchema(), NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), NES::TestHarness::validate(), and magic_enum::detail::value().
NES::TEST_F | ( | QueryDeploymentTest | , |
testDeployOneWorkerFileOutputWithFilter | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::setupTopology(), NES::TestHarness::validate(), and magic_enum::detail::value().
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().
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().
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().
NES::TEST_F | ( | QueryDeploymentTest | , |
testDeployOneWorkerFileOutputWithProjection | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::TestHarness::getBufferManager(), NES::TestHarness::getOutputSchema(), NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), NES::TestHarness::validate(), and magic_enum::detail::value().
NES::TEST_F | ( | QueryDeploymentTest | , |
testDeployOneWorkerFileOutputWithWrongProjection | |||
) |
blocking
blocking
withConnect
References Attribute(), backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().
NES::TEST_F | ( | QueryDeploymentTest | , |
testDeployTwoWorkerFileOutput | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::TestHarness::getWorkerCount(), NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), NES::TestHarness::validate(), and magic_enum::detail::value().
NES::TEST_F | ( | QueryDeploymentTest | , |
testDeployTwoWorkerFileOutputUsingTopDownStrategy | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::setupTopology(), NES::TestHarness::validate(), and magic_enum::detail::value().
NES::TEST_F | ( | QueryDeploymentTest | , |
testDeployTwoWorkerJoinUsingTopDownOnSameSchema | |||
) |
Test deploying joinWith query with source on two different worker node using top down strategy
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::TestHarness::getWorkerCount(), NES::API::Milliseconds(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), timestamp, NES::TestHarness::validate(), and magic_enum::detail::value().
NES::TEST_F | ( | QueryDeploymentTest | , |
testDeployTwoWorkerMergeUsingBottomUp | |||
) |
Test deploying unionWith query with source on two different worker node using bottom up strategy.
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromStream(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), operator==(), NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), NES::TestHarness::validate(), and magic_enum::detail::value().
NES::TEST_F | ( | QueryDeploymentTest | , |
testDeployTwoWorkerMergeUsingTopDown | |||
) |
Test deploying unionWith query with source on two different worker node using top down strategy.
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromStream(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), operator==(), NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), NES::TestHarness::validate(), and magic_enum::detail::value().
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().
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().
NES::TEST_F | ( | QueryDeploymentTest | , |
testIntervalJoinTwoSources | |||
) |
blocking
blocking
withConnect
References Attribute(), NES::TestUtils::checkCompleteOrTimeout(), NES::TestUtils::checkOutputOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), createField(), NES::API::EventTime(), NES::Query::from(), NES::Query::intervalJoinWith(), NES::IntervalJoinOperatorBuilder::JoinWhere::lowerBound(), backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), NES::API::Seconds(), NES::Query::sink(), NES::IntervalJoinOperatorBuilder::JoinLowerBound::upperBound(), NES::TestUtils::waitForQueryToStart(), and NES::IntervalJoinOperatorBuilder::IntervalJoin::where().
NES::TEST_F | ( | QueryDeploymentTest | , |
testJoinWithDifferentSourceDifferentSpeedTumblingWindow | |||
) |
Test deploying join with different sources and different Speed
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::API::Milliseconds(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), and NES::TestHarness::validate().
NES::TEST_F | ( | QueryDeploymentTest | , |
testJoinWithFourSources | |||
) |
Test deploying join with four different sources
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::API::Milliseconds(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), timestamp, and NES::TestHarness::validate().
NES::TEST_F | ( | QueryDeploymentTest | , |
testJoinWithSlidingWindow | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::API::Count(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Milliseconds(), NES::TestUtils::restPort(), NES::API::Seconds(), timestamp, and magic_enum::detail::value().
NES::TEST_F | ( | QueryDeploymentTest | , |
testJoinWithThreeSources | |||
) |
Test deploying join with different three sources
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::API::Milliseconds(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), timestamp, and NES::TestHarness::validate().
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().
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().
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().
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().
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().
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().
NES::TEST_F | ( | QueryFailureTest | , |
testQueryFailureForFaultySource | |||
) |
blocking
blocking
withConnect
References NES::TestUtils::checkFailedOrTimeout(), backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().
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().
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().
NES::TEST_F | ( | RemoteClientTest | , |
AddAndGetLogicalSourceTest | |||
) |
Test if adding and getting logical sources properly.
References NES_DEBUG.
NES::TEST_F | ( | RemoteClientTest | , |
CorrectnessOfGetQueryPlan | |||
) |
Test if correct error message is thrown for query plan retrieval with invalid query id.
References NES::Query::sink().
NES::TEST_F | ( | RemoteClientTest | , |
DeployInvalidQuery | |||
) |
Test if retrieving the execution plan works properly.
References NES::Exceptions::RuntimeException::what().
NES::TEST_F | ( | RemoteClientTest | , |
DeployQueryTest | |||
) |
Test if deploying a query over the REST api works properly.
References NES::Query::sink().
NES::TEST_F | ( | RemoteClientTest | , |
GetExecutionPlanTest | |||
) |
Test if retrieving the execution plan works properly.
References NES_DEBUG, and NES::Query::sink().
NES::TEST_F | ( | RemoteClientTest | , |
GetLogicalSourceTest | |||
) |
Test if retrieving the logical source work properly.
References NES_DEBUG.
NES::TEST_F | ( | RemoteClientTest | , |
GetPhysicalSourceTest | |||
) |
Test if getting physical sources works properly.
References NES_DEBUG.
NES::TEST_F | ( | RemoteClientTest | , |
GetQueriesTest | |||
) |
Test getting queryIdAndCatalogEntryMapping works properly.
References NES::Query::sink().
NES::TEST_F | ( | RemoteClientTest | , |
GetQueriesWithStatusTest | |||
) |
Test getting queryIdAndCatalogEntryMapping by status works properly.
References NES::Query::sink().
NES::TEST_F | ( | RemoteClientTest | , |
GetQueryPlanTest | |||
) |
Test if retrieving the query plan works properly.
References NES::Query::sink().
NES::TEST_F | ( | RemoteClientTest | , |
GetTopologyTest | |||
) |
Test if retrieving the topology works properly.
NES::TEST_F | ( | RemoteClientTest | , |
StopAStoppedQuery | |||
) |
Test if retrieving the execution plan works properly.
References NES::Query::sink().
NES::TEST_F | ( | RemoteClientTest | , |
StopInvalidQueryId | |||
) |
Test if retrieving the execution plan works properly.
NES::TEST_F | ( | RemoteClientTest | , |
StopQueryTest | |||
) |
Test if stopping a query works properly.
References NES::Query::sink().
NES::TEST_F | ( | RemoteClientTest | , |
SubmitQueryTest | |||
) |
Test if deploying a query works properly.
References NES::Query::getQueryPlan(), and NES::Query::sink().
NES::TEST_F | ( | RemoteClientTest | , |
SubmitQueryWithWrongLogicalSourceNameTest | |||
) |
References NES::Query::sink(), and NES::Exceptions::RuntimeException::what().
NES::TEST_F | ( | RemoteClientTest | , |
TestConnectionTest | |||
) |
Test if the testConnection call works properly.
References connect().
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.
NES::TEST_F | ( | ResourcesReaderTest | , |
testAbstractSystemResourcesReader | |||
) |
NES::TEST_F | ( | ResourcesReaderTest | , |
testCPUStats | |||
) |
NES::TEST_F | ( | ResourcesReaderTest | , |
testDiskStats | |||
) |
References NES::MetricValidator::isValid(), and NES_DEBUG.
NES::TEST_F | ( | ResourcesReaderTest | , |
testMemoryStats | |||
) |
References NES::MetricValidator::isValid(), and NES_DEBUG.
NES::TEST_F | ( | ResourcesReaderTest | , |
testNetworkStats | |||
) |
NES::TEST_F | ( | ResourcesReaderTest | , |
testRuntimeNesMetrics | |||
) |
References NES::MetricValidator::isValid(), and NES_DEBUG.
NES::TEST_F | ( | ResourcesReaderTest | , |
testStaticNesMetrics | |||
) |
References NES::MetricValidator::isValid(), and NES_DEBUG.
NES::TEST_F | ( | SchemaTest | , |
addFieldTest | |||
) |
References NES::Schema::COLUMNAR_LAYOUT, NES::Schema::create(), and NES::DataTypeFactory::createType().
NES::TEST_F | ( | SchemaTest | , |
containsTest | |||
) |
NES::TEST_F | ( | SchemaTest | , |
copyTest | |||
) |
NES::TEST_F | ( | SchemaTest | , |
createTest | |||
) |
References NES::Schema::COLUMNAR_LAYOUT, NES::Schema::create(), and NES::Schema::ROW_LAYOUT.
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.
NES::TEST_F | ( | SchemaTest | , |
getSourceNameQualifierTest | |||
) |
NES::TEST_F | ( | SchemaTest | , |
removeFieldsTest | |||
) |
NES::TEST_F | ( | SchemaTest | , |
replaceFieldTest | |||
) |
References NES::Schema::COLUMNAR_LAYOUT, NES::Schema::create(), and NES::DataTypeFactory::createType().
NES::TEST_F | ( | SchemaTest | , |
updateSourceNameTest | |||
) |
NES::TEST_F | ( | SemanticQueryValidationTest | , |
DISABLED_validAsOperatorTest | |||
) |
References NES_INFO.
NES::TEST_F | ( | SemanticQueryValidationTest | , |
invalidAsOperatorTest | |||
) |
References NES_INFO.
NES::TEST_F | ( | SemanticQueryValidationTest | , |
invalidAttributesInLogicalSourceTest | |||
) |
References NES_INFO.
NES::TEST_F | ( | SemanticQueryValidationTest | , |
invalidLogicalSourceTest | |||
) |
References NES_INFO.
NES::TEST_F | ( | SemanticQueryValidationTest | , |
invalidMixedInputMLInferenceOperatorTest | |||
) |
Test ML inference operator input with invalid mixed input
References Attribute(), NES::Optimizer::SemanticQueryValidation::create(), NES::Schema::create(), NES::DataTypeFactory::createBoolean(), NES::DataTypeFactory::createFloat(), NES::DataTypeFactory::createInt64(), NES::DataTypeFactory::createInt8(), NES::DataTypeFactory::createUInt64(), FLOAT32, NES::Query::from(), NES::Query::inferModel(), NES::TestUtils::logicalSourceName(), NES_INFO, and NES::Spatial::Experimental::NO_LOCATION.
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().
NES::TEST_F | ( | SemanticQueryValidationTest | , |
missingPhysicalSourceTest | |||
) |
References Attribute(), NES::Optimizer::SemanticQueryValidation::create(), NES::Query::from(), NES::Query::map(), NES_INFO, and NES::Query::project().
NES::TEST_F | ( | SemanticQueryValidationTest | , |
satisfiableQueryWithLaterAddedFilters | |||
) |
References NES_INFO.
NES::TEST_F | ( | SemanticQueryValidationTest | , |
satisfiableQueryWithLogicalExpression | |||
) |
References NES_INFO.
NES::TEST_F | ( | SemanticQueryValidationTest | , |
satisfiableQueryWithMultipleFilters | |||
) |
References NES_INFO.
NES::TEST_F | ( | SemanticQueryValidationTest | , |
satisfiableQueryWithSingleFilter | |||
) |
References NES_INFO.
NES::TEST_F | ( | SemanticQueryValidationTest | , |
unsatisfiableQueryWithLaterAddedFilters | |||
) |
References NES_INFO.
NES::TEST_F | ( | SemanticQueryValidationTest | , |
unsatisfiableQueryWithLogicalExpression | |||
) |
References NES_INFO.
NES::TEST_F | ( | SemanticQueryValidationTest | , |
unsatisfiableQueryWithMultipleFilters | |||
) |
References NES_INFO.
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().
NES::TEST_F | ( | SinkTest | , |
testCSVFileSink | |||
) |
NES::TEST_F | ( | SinkTest | , |
testCSVPrintSink | |||
) |
NES::TEST_F | ( | SinkTest | , |
testCSVZMQSink | |||
) |
NES::TEST_F | ( | SinkTest | , |
testMonitoringSink | |||
) |
References bufferSize.
NES::TEST_F | ( | SinkTest | , |
testNullOutSink | |||
) |
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().
NES::TEST_F | ( | SinkTest | , |
testWatermarkCsvSource | |||
) |
References createCSVFileSink(), and NES::Runtime::TupleBuffer::setWatermark().
NES::TEST_F | ( | SinkTest | , |
testWatermarkForZMQ | |||
) |
References createBinaryZmqSink(), and NES::Runtime::TupleBuffer::setWatermark().
NES::TEST_F | ( | SourceCatalogControllerTest | , |
testDeleteLogicalSource | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | SourceCatalogControllerTest | , |
testGetAllLogicalSource | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | SourceCatalogControllerTest | , |
testGetPhysicalSource | |||
) |
blocking
withConnect
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | SourceCatalogControllerTest | , |
testGetSchema | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | SourceCatalogControllerTest | , |
testPostLogicalSource | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | SourceCatalogControllerTest | , |
testUpdateLogicalSource | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | SourceCatalogRemoteTest | , |
addPhysicalToExistingLogicalSourceRemote | |||
) |
blocking
blocking
withConnect
References backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().
NES::TEST_F | ( | SourceCatalogRemoteTest | , |
addPhysicalToNewLogicalSourceRemote | |||
) |
blocking
blocking
withConnect
References backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().
NES::TEST_F | ( | SourceCatalogRemoteTest | , |
removeNotExistingSourceRemote | |||
) |
blocking
blocking
withConnect
References backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().
NES::TEST_F | ( | SourceCatalogRemoteTest | , |
removePhysicalFromNewLogicalSourceRemote | |||
) |
blocking
blocking
withConnect
References backward::details::move(), NES_DEBUG, NES_INFO, and NES::TestUtils::restPort().
NES::TEST_F | ( | SourceTest | , |
DISABLED_testDataSourceEmptySuccessors | |||
) |
References createDefaultDataSourceWithSchemaForOneBuffer().
NES::TEST_F | ( | SourceTest | , |
DISABLED_testDataSourceRunningRoutineKalmanFilter | |||
) |
References ADAPTIVE_MODE, and NES::DataSource::runningRoutine().
NES::TEST_F | ( | SourceTest | , |
TCPSourceInit | |||
) |
Tests basic set up of TCP source
NES::TEST_F | ( | SourceTest | , |
TCPSourcePrint | |||
) |
Test if schema and TCP source information are the same
NES::TEST_F | ( | SourceTest | , |
TCPSourcePrintWithChangedValues | |||
) |
Test if schema and TCP source information are the same
NES::TEST_F | ( | SourceTest | , |
testBinarySourceCorrectPath | |||
) |
NES::TEST_F | ( | SourceTest | , |
testBinarySourceFillBuffer | |||
) |
References buffer_size.
NES::TEST_F | ( | SourceTest | , |
testBinarySourceFillBufferContents | |||
) |
NES::TEST_F | ( | SourceTest | , |
testBinarySourceFillBufferRandomTimes | |||
) |
References buffer_size.
NES::TEST_F | ( | SourceTest | , |
testBinarySourceGetType | |||
) |
NES::TEST_F | ( | SourceTest | , |
testBinarySourceWrongPath | |||
) |
NES::TEST_F | ( | SourceTest | , |
testCSVSourceBooleanTypes | |||
) |
References BOOLEAN, NES::Schema::create(), and NES::Runtime::MemoryLayouts::RowLayout::create().
NES::TEST_F | ( | SourceTest | , |
testCSVSourceCommaFloatingPoint | |||
) |
References NES::Runtime::MemoryLayouts::RowLayout::create().
NES::TEST_F | ( | SourceTest | , |
testCSVSourceCorrectFilePath | |||
) |
NES::TEST_F | ( | SourceTest | , |
testCSVSourceFillBufferContentsHeaderFailure | |||
) |
References NES::Runtime::MemoryLayouts::RowLayout::create().
NES::TEST_F | ( | SourceTest | , |
testCSVSourceFillBufferContentsHeaderFailureColumnLayout | |||
) |
References NES::Runtime::MemoryLayouts::RowLayout::create().
NES::TEST_F | ( | SourceTest | , |
testCSVSourceFillBufferContentsSkipHeader | |||
) |
References NES::Runtime::MemoryLayouts::RowLayout::create().
NES::TEST_F | ( | SourceTest | , |
testCSVSourceFillBufferContentsSkipHeaderColumnLayout | |||
) |
References NES::Runtime::MemoryLayouts::RowLayout::create().
NES::TEST_F | ( | SourceTest | , |
testCSVSourceFillBufferFileEnded | |||
) |
References NES::Runtime::MemoryLayouts::RowLayout::create(), and NES::CSVSource::fileEnded.
NES::TEST_F | ( | SourceTest | , |
testCSVSourceFillBufferFullFile | |||
) |
References NES::Runtime::MemoryLayouts::RowLayout::create().
NES::TEST_F | ( | SourceTest | , |
testCSVSourceFillBufferFullFileColumnLayout | |||
) |
References NES::Runtime::MemoryLayouts::RowLayout::create().
NES::TEST_F | ( | SourceTest | , |
testCSVSourceFillBufferOnce | |||
) |
References NES::Runtime::MemoryLayouts::RowLayout::create().
NES::TEST_F | ( | SourceTest | , |
testCSVSourceFillBufferOnceColumnLayout | |||
) |
References NES::Runtime::MemoryLayouts::ColumnLayout::create().
NES::TEST_F | ( | SourceTest | , |
testCSVSourceFloatTypes | |||
) |
References NES::Schema::create(), NES::Runtime::MemoryLayouts::RowLayout::create(), FLOAT32, and FLOAT64.
NES::TEST_F | ( | SourceTest | , |
testCSVSourceGetType | |||
) |
NES::TEST_F | ( | SourceTest | , |
testCSVSourceIntTypes | |||
) |
NES::TEST_F | ( | SourceTest | , |
testCSVSourceWrongFilePath | |||
) |
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().
NES::TEST_F | ( | SourceTest | , |
testDataSourceGetOperatorId | |||
) |
References createDefaultDataSourceWithSchemaForOneBuffer().
NES::TEST_F | ( | SourceTest | , |
testDataSourceGetSchema | |||
) |
References createDefaultDataSourceWithSchemaForOneBuffer().
NES::TEST_F | ( | SourceTest | , |
testDataSourceGracefulStopSideEffect | |||
) |
References NES::Runtime::Graceful, NES::Runtime::HardStop, and INTERVAL_MODE.
NES::TEST_F | ( | SourceTest | , |
testDataSourceHardStopSideEffect | |||
) |
References NES::Runtime::Graceful, and INTERVAL_MODE.
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().
NES::TEST_F | ( | SourceTest | , |
testDataSourceOpen | |||
) |
References INGESTION_RATE_MODE, NES::DataSource::open(), and size().
NES::TEST_F | ( | SourceTest | , |
testDataSourceRunningImmediately | |||
) |
References INTERVAL_MODE.
NES::TEST_F | ( | SourceTest | , |
testDataSourceRunningRoutineGatheringInterval | |||
) |
References NES::MockDataSource::create(), and INTERVAL_MODE.
NES::TEST_F | ( | SourceTest | , |
testDataSourceRunningRoutineIngestion | |||
) |
References INGESTION_RATE_MODE, and NES::DataSource::runningRoutine().
NES::TEST_F | ( | SourceTest | , |
testDataSourceStartSideEffectRunningTrue | |||
) |
References NES::Runtime::HardStop, and INTERVAL_MODE.
NES::TEST_F | ( | SourceTest | , |
testDataSourceStartTwiceNoSideEffect | |||
) |
References NES::Runtime::HardStop, and INTERVAL_MODE.
NES::TEST_F | ( | SourceTest | , |
testDataSourceStopImmediately | |||
) |
References NES::Runtime::HardStop, and INTERVAL_MODE.
NES::TEST_F | ( | SourceTest | , |
testDataSourceStopSideEffect | |||
) |
References NES::Runtime::HardStop, and INTERVAL_MODE.
NES::TEST_F | ( | SourceTest | , |
testDefaultSourceGetType | |||
) |
NES::TEST_F | ( | SourceTest | , |
testDefaultSourceReceiveData | |||
) |
NES::TEST_F | ( | SourceTest | , |
testGeneratorSourceGetType | |||
) |
References INGESTION_RATE_MODE.
NES::TEST_F | ( | SourceTest | , |
testIngestionRateFromQuery | |||
) |
blocking
blocking
withConnect
References NES::Optimizer::BottomUp, NES::TestUtils::checkOutputOrTimeout(), NES::TestUtils::checkStoppedOrTimeout(), NES::Runtime::TupleBuffer::getBuffer(), NES::TestSchemas::getSchemaTemplate(), INTERVAL_MODE, backward::details::move(), NES_DEBUG, NES_INFO, NES::TestUtils::restPort(), timestamp, magic_enum::detail::value(), and NES::TestUtils::waitForQueryToStart().
NES::TEST_F | ( | SourceTest | , |
testLambdaSourceInitAndTypeIngestion | |||
) |
References NES::Runtime::TupleBuffer::getBuffer(), INGESTION_RATE_MODE, and time.
NES::TEST_F | ( | SourceTest | , |
testLambdaSourceInitAndTypeInterval | |||
) |
References NES::Runtime::TupleBuffer::getBuffer(), INTERVAL_MODE, and time.
NES::TEST_F | ( | StatisticRegistryTest | , |
complexConcurrentStatisticsTest | |||
) |
This tests checks, if we can insert and retrieve multiple statistics concurrently.
References createRandomStatisticInfo(), and createRandomStatisticKey().
NES::TEST_F | ( | StatisticRegistryTest | , |
multipleStatisticsTest | |||
) |
This tests checks, if we can insert and retrieve multiple statistics.
References createRandomStatisticInfo(), and createRandomStatisticKey().
NES::TEST_F | ( | StatisticRegistryTest | , |
singleStatisticTest | |||
) |
This tests checks, if we can insert and retrieve one statistic.
References createRandomStatisticInfo(), and createRandomStatisticKey().
NES::TEST_F | ( | SyntacticQueryValidationTest | , |
attributeRenameOutsideProjection | |||
) |
References NES_INFO.
NES::TEST_F | ( | SyntacticQueryValidationTest | , |
invalidBoolOperatorTest | |||
) |
References NES_INFO.
NES::TEST_F | ( | SyntacticQueryValidationTest | , |
missingClosingParenthesisTest | |||
) |
References NES_INFO.
NES::TEST_F | ( | SyntacticQueryValidationTest | , |
missingSemicolonTest | |||
) |
References NES_INFO.
NES::TEST_F | ( | SyntacticQueryValidationTest | , |
typoInFilterTest | |||
) |
References NES_INFO.
NES::TEST_F | ( | SyntacticQueryValidationTest | , |
validAttributeRenameFromProjectOperator | |||
) |
References NES::Optimizer::SyntacticQueryValidation::create(), and NES_INFO.
NES::TEST_F | ( | SyntacticQueryValidationTest | , |
validQueryTest | |||
) |
References NES::Optimizer::SyntacticQueryValidation::create(), and NES_INFO.
NES::TEST_F | ( | SyntacticQueryValidationTest | , |
validQueryWithInferModelOperatorTest | |||
) |
References NES::Optimizer::SyntacticQueryValidation::create(), and NES_INFO.
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:
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().
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().
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().
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().
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().
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().
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().
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().
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().
NES::TEST_F | ( | TCPSourceTest | , |
TCPSourceBufferSizeFromSocketNesFormatPrint | |||
) |
Test TCPSource Construction via PhysicalSourceFactory from YAML
NES::TEST_F | ( | TCPSourceTest | , |
TCPSourceBufferSizeFromSocketPrint | |||
) |
Test TCPSource Construction via PhysicalSourceFactory from YAML
NES::TEST_F | ( | TCPSourceTest | , |
TCPSourceTupleSeparatorPrint | |||
) |
Test TCPSource Construction via PhysicalSourceFactory from YAML
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.
NES::TEST_F | ( | TestHarnessUtilTest | , |
testHarnessCsvSource | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::Query::filter(), NES::Query::from(), NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::TestSchemas::getSchemaTemplate(), NES::TestHarness::getWorkerCount(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), timestamp, NES::TestHarness::validate(), and magic_enum::detail::value().
NES::TEST_F | ( | TestHarnessUtilTest | , |
testHarnessCsvSourceAndMemorySource | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::Query::filter(), NES::Query::from(), NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::TestSchemas::getSchemaTemplate(), NES::TestHarness::getWorkerCount(), NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), timestamp, and magic_enum::detail::value().
NES::TEST_F | ( | TestHarnessUtilTest | , |
testHarnessOnQueryWithMapOperator | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::Query::from(), NES::TestHarness::getBufferManager(), NES::TestHarness::getOutputSchema(), NES::TestSchemas::getSchemaTemplate(), NES::Query::map(), NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), timestamp, and magic_enum::detail::value().
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().
NES::TEST_F | ( | TestHarnessUtilTest | , |
testHarnessUtilPushToWrongSource | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), NES::Query::from(), NES::TestSchemas::getSchemaTemplate(), NES::TestHarness::getWorkerCount(), NES::TestHarness::pushElement(), NES::TestUtils::restPort(), timestamp, NES::Query::unionWith(), and magic_enum::detail::value().
NES::TEST_F | ( | TestHarnessUtilTest | , |
testHarnessUtilWithNoSources | |||
) |
References Attribute(), NES::Query::filter(), NES::Query::from(), NES::TestUtils::restPort(), timestamp, and magic_enum::detail::value().
NES::TEST_F | ( | TestHarnessUtilTest | , |
testHarnessUtilWithSingleSource | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::Query::filter(), NES::Query::from(), NES::TestHarness::getBufferManager(), NES::TestHarness::getOutputSchema(), NES::TestSchemas::getSchemaTemplate(), NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), timestamp, and magic_enum::detail::value().
NES::TEST_F | ( | TestHarnessUtilTest | , |
testHarnessUtilWithTwoPhysicalSourceOfDifferentLogicalSources | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), 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::getWorkerCount(), NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), timestamp, NES::Query::unionWith(), and magic_enum::detail::value().
NES::TEST_F | ( | TestHarnessUtilTest | , |
testHarnessUtilWithTwoPhysicalSourceOfTheSameLogicalSource | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::Query::filter(), NES::Query::from(), NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::TestSchemas::getSchemaTemplate(), NES::TestHarness::getWorkerCount(), NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), timestamp, and magic_enum::detail::value().
NES::TEST_F | ( | TestHarnessUtilTest | , |
testHarnessUtilWithWindowOperator | |||
) |
References NES::TestHarness::addLogicalSource(), NES::WindowOperatorBuilder::KeyedWindowedQuery::apply(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::WindowOperatorBuilder::WindowedQuery::byKey(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::Query::from(), NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::TestSchemas::getSchemaTemplate(), NES::TestHarness::getWorkerCount(), NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::API::Seconds(), NES::TestHarness::setupTopology(), NES::API::Sum(), timestamp, magic_enum::detail::value(), and NES::Query::window().
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().
NES::TEST_F | ( | TestHarnessUtilTest | , |
testHarnessWithJoinOperator | |||
) |
Testing testHarness utility for query with a join operator on different sources
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::Query::from(), NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::TestSchemas::getSchemaTemplate(), NES::TestHarness::getWorkerCount(), NES::Query::joinWith(), NES::API::Milliseconds(), NES::TestHarness::pushElement(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), timestamp, NES::JoinOperatorBuilder::Join::where(), and NES::JoinOperatorBuilder::JoinWhere::window().
NES::TEST_F | ( | ThreadNamingTest | , |
testThreadNaming | |||
) |
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().
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().
NES::TEST_F | ( | TopologyControllerTest | , |
testaddAsChildMissingChildId | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_DEBUG, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | TopologyControllerTest | , |
testaddAsChildMissingParentId | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_DEBUG, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | TopologyControllerTest | , |
testaddAsChildNoSuchChild | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_DEBUG, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
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().
NES::TEST_F | ( | TopologyControllerTest | , |
testaddAsChildSameChildAndParent | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_DEBUG, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | TopologyControllerTest | , |
testAddParentInvalidChildId | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_DEBUG, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | TopologyControllerTest | , |
testAddParentInvalidParentId | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_DEBUG, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | TopologyControllerTest | , |
testAddParentSuccess | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_DEBUG, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | TopologyControllerTest | , |
testGetTopology | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES_DEBUG, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
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().
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().
NES::TEST_F | ( | TupleBufferTest | , |
testCopyAndSwap | |||
) |
NES::TEST_F | ( | TupleBufferTest | , |
testPrintingOfTupleBuffer | |||
) |
References __attribute__(), NES::jni::createDouble(), NES::jni::createFloat(), and NES_DEBUG.
NES::TEST_F | ( | UDFCatalogControllerTest | , |
getUdfDescriptorReturnsUdf | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | UDFCatalogControllerTest | , |
testErrorIfUnknownEndpointIsUsed | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | UDFCatalogControllerTest | , |
testGetUdfDescriptorIfNoUdfExists | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | UDFCatalogControllerTest | , |
testIfListUdfsEndpointHandlesMissingQueryParameters | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | UDFCatalogControllerTest | , |
testIfListUdfsEndpointReturnsListAsExpected | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | UDFCatalogControllerTest | , |
testIfListUdfsReturnsEmptyUdfList | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | UDFCatalogControllerTest | , |
testIfRegisterEndpointHandlesExceptionsWithoutReturningAStackTrace | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::ProtobufMessageFactory::createDefaultRegisterJavaUdfRequest(), NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | UDFCatalogControllerTest | , |
testIfRegisterUdfEndpointCorrectlyAddsUDF | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::ProtobufMessageFactory::createDefaultRegisterJavaUdfRequest(), NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | UDFCatalogControllerTest | , |
testIfRemoveUdfEndpointHandlesExtraQueryParametersCorrectly | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | UDFCatalogControllerTest | , |
testRemoveUdfEndpoint | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), coordinator, NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | UDFCatalogControllerTest | , |
testRemoveUdfEndpointHandlesMissingQueryParametersCorrectly | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | UDFCatalogControllerTest | , |
testRemoveUdfEndpointIfUdfDoesNotExist | |||
) |
References NES::TestUtils::checkRESTServerStartedOrTimeout(), NES::TestUtils::restPort(), and NES::TestUtils::startCoordinator().
NES::TEST_F | ( | UnionDeploymentTest | , |
testDeployTwoWorkerMergeUsingBottomUp | |||
) |
Test deploying unionWith query with source on two different worker node using the bottom up strategy.
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromStream(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::Query::from(), NES::TestHarness::getBufferManager(), NES::TestHarness::getOutputSchema(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), NES::Query::unionWith(), NES::TestHarness::validate(), and magic_enum::detail::value().
NES::TEST_F | ( | UnionDeploymentTest | , |
testDeployTwoWorkerMergeUsingTopDown | |||
) |
Test deploying unionWith query with source on two different worker node using the topDown strategy.
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromStream(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::Query::from(), NES::TestHarness::getBufferManager(), NES::TestHarness::getOutputSchema(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), NES::Query::unionWith(), NES::TestHarness::validate(), and magic_enum::detail::value().
NES::TEST_F | ( | UnionDeploymentTest | , |
testOneFilterPushDownWithMergeOfTwoDifferentSources | |||
) |
Test deploying a union query with filters and sources on two different worker nodes using bottomUp strategy.
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::Query::filter(), NES::Query::from(), NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), NES::Query::unionWith(), and NES::TestHarness::validate().
NES::TEST_F | ( | UnionDeploymentTest | , |
testPushingTwoFiltersAlreadyBelowAndMergeOfTwoDifferentSources | |||
) |
Test a union query with multiple filters for both sources and two different worker nodes using the bottomUp strategy.
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromStream(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::Query::filter(), NES::Query::from(), NES::TestHarness::getBufferManager(), NES::TestHarness::getOutputSchema(), NES::Query::map(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), timestamp, NES::Query::unionWith(), NES::TestHarness::validate(), and magic_enum::detail::value().
NES::TEST_F | ( | UnionDeploymentTest | , |
testPushingTwoFiltersBelowAndTwoFiltersAlreadyAtBottomWithMergeOfTwoDifferentSources | |||
) |
Test deploying a union query with filters and sources on two different worker nodes using topDown strategy.
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromStream(), NES::TestUtils::createTestTupleBuffers(), expectedOutput, NES::Query::filter(), NES::Query::from(), NES::TestHarness::getBufferManager(), NES::TestHarness::getOutputSchema(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), timestamp, NES::Query::unionWith(), NES::TestHarness::validate(), and magic_enum::detail::value().
NES::TEST_F | ( | UpdateTopologyRemoteTest | , |
addAndRemovePathWithOwnId | |||
) |
blocking
blocking
withConnect
blocking
withConnect
References backward::details::move(), NES_INFO, and NES::TestUtils::restPort().
NES::TEST_F | ( | UpdateTopologyRemoteTest | , |
addAndRemovePathWithOwnIdAndSelf | |||
) |
blocking
blocking
withConnect
blocking
withConnect
References backward::details::move(), NES_INFO, and NES::TestUtils::restPort().
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.
NES::TEST_F | ( | UserDefinedMonitoringTest | , |
testRuntimeConcepts | |||
) |
NES::TEST_F | ( | VariableLengthIntegrationTest | , |
testCsvSourceWithVariableLengthFields | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), NES::TestUtils::buffersContainSameTuples(), NES::Schema::create(), NES::TestUtils::createExpectedBuffersFromCsv(), NES::TestUtils::createTestTupleBuffers(), NES::DataTypeFactory::createText(), NES::Query::from(), NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), UINT64, and NES::TestHarness::validate().
NES::TEST_F | ( | VariableLengthIntegrationTest | , |
testCsvSourceWithVariableLengthFieldsFilter | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Schema::create(), NES::TestUtils::createExpectedBuffersFromCsv(), NES::TestUtils::createTestTupleBuffers(), NES::DataTypeFactory::createText(), NES::Query::filter(), NES::Query::from(), NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::Query::project(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), UINT64, and NES::TestHarness::validate().
NES::TEST_F | ( | VariableLengthIntegrationTest | , |
testCsvSourceWithVariableLengthFieldsFilterOnMap | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::TestUtils::countTuples(), NES::Schema::create(), NES::TestUtils::createExpectedBuffersFromCsv(), NES::TestUtils::createTestTupleBuffers(), NES::DataTypeFactory::createText(), NES::Query::filter(), NES::Query::from(), NES::TestHarness::getBufferManager(), NES::TestHarness::getOutput(), NES::TestHarness::getOutputSchema(), NES::Query::map(), NES::Query::project(), NES::TestUtils::restPort(), NES::TestHarness::runQuery(), NES::TestHarness::setupTopology(), UINT64, and NES::TestHarness::validate().
NES::TEST_F | ( | WatermarkManagerTest | , |
concurrentWatermarkUpdaterMultipleOriginsTest | |||
) |
NES::TEST_F | ( | WatermarkManagerTest | , |
concurrentWatermarkUpdaterTest | |||
) |
NES::TEST_F | ( | WatermarkManagerTest | , |
singleThreadWatermarkUpdaterMultipleOriginsOutofOrderTest | |||
) |
NES::TEST_F | ( | WatermarkManagerTest | , |
singleThreadWatermarkUpdaterMultipleOriginsTest | |||
) |
NES::TEST_F | ( | WatermarkManagerTest | , |
singleThreadWatermarkUpdaterTest | |||
) |
NES::TEST_F | ( | WindowDeploymentTest | , |
DISABLED_testDeployDistributedTumblingWindowQueryEventTimeTimeUnit | |||
) |
test distributed tumbling window and event time, for now disabled see issue #3324
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Minutes(), NES::TestUtils::restPort(), NES::API::Seconds(), NES::TestHarness::setupTopology(), NES::API::Sum(), and NES::TestHarness::validate().
NES::TEST_F | ( | WindowDeploymentTest | , |
DISABLED_testDeploymentOfWindowWitCharKey | |||
) |
TODO inplace chars are not implemented in Nautilus #2739.
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), NES::API::Sum(), and timestamp.
NES::TEST_F | ( | WindowDeploymentTest | , |
DISABLED_testDeploymentOfWindowWithBoolKey | |||
) |
TODO support bool key for aggregations #4151.
References __attribute__(), NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::jni::createBoolean(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), NES::API::Sum(), and timestamp.
NES::TEST_F | ( | WindowDeploymentTest | , |
DISABLED_testDeploymentOfWindowWithFixedChar | |||
) |
TODO inplace chars are not implemented in Nautilus.
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromStream(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), NES::API::Sum(), and timestamp.
NES::TEST_F | ( | WindowDeploymentTest | , |
DISABLED_testDeploymentOfWindowWithMedianAggregation | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::jni::createDouble(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Median(), NES::TestUtils::restPort(), NES::API::Seconds(), timestamp, and magic_enum::detail::value().
NES::TEST_F | ( | WindowDeploymentTest | , |
testCentralNonKeySlidingWindowEventTime | |||
) |
test central sliding window and event time
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), NES::TestHarness::setupTopology(), NES::API::Sum(), and NES::TestHarness::validate().
NES::TEST_F | ( | WindowDeploymentTest | , |
testCentralNonKeyTumblingWindowEventTime | |||
) |
test central tumbling window and event time
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), NES::TestHarness::setupTopology(), NES::API::Sum(), and NES::TestHarness::validate().
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().
NES::TEST_F | ( | WindowDeploymentTest | , |
testCentralSlidingWindowEventTime | |||
) |
test central sliding window and event time
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), NES::TestHarness::setupTopology(), NES::API::Sum(), and NES::TestHarness::validate().
NES::TEST_F | ( | WindowDeploymentTest | , |
testDeploymentOfWindowWithAvgAggregation | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::API::Avg(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), timestamp, and magic_enum::detail::value().
NES::TEST_F | ( | WindowDeploymentTest | , |
testDeploymentOfWindowWithCountAggregation | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::API::Count(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), timestamp, and magic_enum::detail::value().
NES::TEST_F | ( | WindowDeploymentTest | , |
testDeploymentOfWindowWithDoubleKey | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::jni::createDouble(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), NES::API::Sum(), and timestamp.
NES::TEST_F | ( | WindowDeploymentTest | , |
testDeploymentOfWindowWithFieldRename | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::API::Count(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), timestamp, and magic_enum::detail::value().
NES::TEST_F | ( | WindowDeploymentTest | , |
testDeploymentOfWindowWithFloatKey | |||
) |
References __attribute__(), NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::jni::createFloat(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::TestUtils::restPort(), NES::API::Seconds(), NES::API::Sum(), and timestamp.
NES::TEST_F | ( | WindowDeploymentTest | , |
testDeploymentOfWindowWithFloatMinAggregation | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::jni::createFloat(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Min(), NES::TestUtils::restPort(), NES::API::Seconds(), timestamp, and magic_enum::detail::value().
NES::TEST_F | ( | WindowDeploymentTest | , |
testDeploymentOfWindowWithMaxAggregation | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Max(), NES::TestUtils::restPort(), NES::API::Seconds(), timestamp, and magic_enum::detail::value().
NES::TEST_F | ( | WindowDeploymentTest | , |
testDeploymentOfWindowWithMaxAggregationWithNegativeValues | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithMemorySourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Max(), NES::TestUtils::restPort(), NES::API::Seconds(), timestamp, and magic_enum::detail::value().
NES::TEST_F | ( | WindowDeploymentTest | , |
testDeploymentOfWindowWithMaxAggregationWithUint64AggregatedField | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Max(), NES::TestUtils::restPort(), NES::API::Seconds(), NES::TestHarness::setupTopology(), timestamp, NES::TestHarness::validate(), and magic_enum::detail::value().
NES::TEST_F | ( | WindowDeploymentTest | , |
testTumblingWindowEventTimeWithTimeUnit | |||
) |
References NES::TestHarness::addLogicalSource(), NES::TestHarness::attachWorkerWithCSVSourceToCoordinator(), Attribute(), NES::TestUtils::buffersContainSameTuples(), NES::Util::countLines(), NES::TestUtils::createExpectedBufferFromCSVString(), NES::TestUtils::createTestTupleBuffers(), NES::API::EventTime(), expectedOutput, NES::API::Minutes(), NES::TestUtils::restPort(), NES::API::Seconds(), NES::TestHarness::setupTopology(), NES::API::Sum(), and NES::TestHarness::validate().
NES::TEST_F | ( | WorkerCoordinatorStarterTest | , |
startConnectDisconnectStopWorkerCoordinator | |||
) |
blocking
blocking
withConnect
References backward::details::move(), and NES::TestUtils::restPort().
NES::TEST_F | ( | WorkerCoordinatorStarterTest | , |
startConnectStopWithoutDisconnectWorkerCoordinator | |||
) |
blocking
blocking
withConnect
References backward::details::move(), and NES::TestUtils::restPort().
NES::TEST_F | ( | WorkerCoordinatorStarterTest | , |
startConnectStopWorkerCoordinator | |||
) |
blocking
blocking
withConnect
References backward::details::move(), and NES::TestUtils::restPort().
NES::TEST_F | ( | WorkerCoordinatorStarterTest | , |
startReconnectStopWorkerCoordinator | |||
) |
blocking
blocking
withConnect
References backward::details::move(), and NES::TestUtils::restPort().
NES::TEST_F | ( | WorkerCoordinatorStarterTest | , |
startStopCoordinatorWorker | |||
) |
blocking
blocking
withConnect
References backward::details::move(), and NES::TestUtils::restPort().
NES::TEST_F | ( | WorkerCoordinatorStarterTest | , |
startStopWorkerCoordinator | |||
) |
blocking
blocking
withConnect
References backward::details::move(), NES_INFO, and NES::TestUtils::restPort().
NES::TEST_F | ( | WorkerCoordinatorStarterTest | , |
startStopWorkerCoordinator10times | |||
) |
blocking
blocking
withConnect
References backward::details::move(), and NES::TestUtils::restPort().
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().
NES::TEST_P | ( | AsyncTaskExecutorTest | , |
startAndDestroy | |||
) |
NES::TEST_P | ( | AsyncTaskExecutorTest | , |
submitConcatenatedTasks | |||
) |
References NES_DEBUG.
NES::TEST_P | ( | AsyncTaskExecutorTest | , |
submitTask | |||
) |
NES::TEST_P | ( | AsyncTaskExecutorTest | , |
submitTaskWithStoppedExecutor | |||
) |
NES::TEST_P | ( | JoinMultiThreadedTest | , |
oneJoinSlidingWindow | |||
) |
References __attribute__(), Attribute(), NES::API::EventTime(), NES::TestQuery::from(), NES::TestSchemas::getSchemaTemplate(), NES::QueryCompilation::HASH_JOIN_VAR_SIZED, NES::Query::joinWith(), NES::API::Milliseconds(), operator==(), NES::API::Seconds(), NES::Query::sink(), NES::Monitoring::toString(), NES::JoinOperatorBuilder::Join::where(), and NES::JoinOperatorBuilder::JoinWhere::window().
NES::TEST_P | ( | JoinMultiThreadedTest | , |
testOneJoin | |||
) |
References __attribute__(), Attribute(), NES::API::EventTime(), NES::TestQuery::from(), NES::TestSchemas::getSchemaTemplate(), NES::QueryCompilation::HASH_JOIN_VAR_SIZED, NES::Query::joinWith(), NES::API::Milliseconds(), operator==(), NES::Query::sink(), NES::Monitoring::toString(), NES::JoinOperatorBuilder::Join::where(), and NES::JoinOperatorBuilder::JoinWhere::window().
NES::TEST_P | ( | JoinMultiThreadedTest | , |
testThreeJoins | |||
) |
References Attribute(), NES::Schema::create(), createField(), NES::API::EventTime(), NES::TestQuery::from(), NES::TestSchemas::getSchemaTemplate(), NES::QueryCompilation::HASH_JOIN_VAR_SIZED, NES::Query::joinWith(), NES::API::Milliseconds(), operator==(), NES::Query::sink(), NES::Monitoring::toString(), UINT64, NES::JoinOperatorBuilder::Join::where(), and NES::JoinOperatorBuilder::JoinWhere::window().
NES::TEST_P | ( | JoinMultiThreadedTest | , |
testTwoJoins | |||
) |
References __attribute__(), Attribute(), NES::Schema::create(), createField(), NES::API::EventTime(), NES::TestQuery::from(), NES::TestSchemas::getSchemaTemplate(), NES::QueryCompilation::HASH_JOIN_VAR_SIZED, NES::Query::joinWith(), NES::API::Milliseconds(), operator==(), NES::Query::sink(), NES::Monitoring::toString(), UINT64, NES::JoinOperatorBuilder::Join::where(), and NES::JoinOperatorBuilder::JoinWhere::window().
NES::TEST_P | ( | JoinMultiThreadedTest | , |
threeJoinsSlidingWindow | |||
) |
References Attribute(), NES::Schema::create(), createField(), NES::API::EventTime(), NES::TestQuery::from(), NES::TestSchemas::getSchemaTemplate(), NES::QueryCompilation::HASH_JOIN_VAR_SIZED, NES::Query::joinWith(), NES::API::Milliseconds(), operator==(), NES::API::Seconds(), NES::Query::sink(), NES::Monitoring::toString(), UINT64, NES::JoinOperatorBuilder::Join::where(), and NES::JoinOperatorBuilder::JoinWhere::window().
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().
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().
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().
NES::TEST_P | ( | MultiThreadedTest | , |
testKeyedEventTimeTumblingWindowAggregation | |||
) |
References NES::WindowOperatorBuilder::KeyedWindowedQuery::apply(), Attribute(), NES::WindowOperatorBuilder::WindowedQuery::byKey(), NES::API::EventTime(), NES::TestQuery::from(), NES::TestSchemas::getSchemaTemplate(), NES::API::Seconds(), NES::Query::sink(), NES::API::Sum(), and NES::Query::window().
NES::TEST_P | ( | MultiThreadedTest | , |
testMultipleKeyedEventTimeTumblingWindows | |||
) |
References NES::WindowOperatorBuilder::KeyedWindowedQuery::apply(), Attribute(), NES::WindowOperatorBuilder::WindowedQuery::byKey(), NES::Schema::create(), createField(), NES::API::EventTime(), NES::Query::filter(), NES::TestQuery::from(), NES::TestSchemas::getSchemaTemplate(), NES::API::Seconds(), NES::Query::sink(), NES::API::Sum(), UINT64, and NES::Query::window().
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().
NES::TEST_P | ( | MultiThreadedTest | , |
testProjectQuery | |||
) |
References Attribute(), NES::Query::filter(), NES::TestQuery::from(), NES::TestSchemas::getSchemaTemplate(), operator==(), and NES::Query::project().
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().
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().
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().
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().
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().
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.
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.
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().
void NES::testOutput | ( | const std::string & | path | ) |
Helper Methods
References expectedOutput.
void NES::testOutput | ( | const std::string & | path, |
const std::string & | expectedOutput | ||
) |
void NES::to_json | ( | nlohmann::json & | json, |
const QueryStateHistoryEntry & | queryState | ||
) |
|
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||().
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.
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().
ExpressionNodePtr NES::WHEN | ( | ExpressionItem | conditionExp, |
ExpressionItem | valueExp | ||
) |
References NES::ExpressionItem::getExpressionNode(), and WHEN().
ExpressionNodePtr NES::WHEN | ( | ExpressionItem | conditionExp, |
ExpressionNodePtr | valueExp | ||
) |
References NES::ExpressionItem::getExpressionNode(), backward::details::move(), and WHEN().
ExpressionNodePtr NES::WHEN | ( | ExpressionNodePtr | conditionExp, |
ExpressionItem | valueExp | ||
) |
References NES::ExpressionItem::getExpressionNode(), backward::details::move(), and WHEN().
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
csvPath | path to the output file |
waypoints | a vector of waypoints to be written to the file |
Referenced by NES::LocationProviderCSVTest::SetUp(), NES::Spatial::LocationIntegrationTests::SetUpTestCase(), and NES::LocationControllerIntegrationTest::SetUpTestCase().
const std::string NES::AVAILABLE_NODES_KEY = "availNodes" |
const size_t NES::buffer_size = 32 * 1024 |
Referenced by TEST_F().
const size_t NES::buffers_managed = 1024 |
Referenced by TEST_F().
const size_t NES::buffersInserted = 101 |
Referenced by TEST_F().
const uint64_t NES::bufferSize = 32 * 1024 |
Referenced by NES::Runtime::alignBufferSize(), NES::QueryCompilation::SampleCPPCodeGenerator::compileQuery(), NES::Statistic::StatisticFormatFactory::createFromSchema(), NES::Util::createMemoryLayout(), NES::Network::createMockedEngine(), createMockedEngine(), NES::Runtime::BufferManager::getUnpooledBuffer(), NES::Runtime::Execution::StreamIntervalJoinQueryExecutionTest::runQueryWithCsvFiles(), NES::Runtime::Execution::StreamIntervalJoinQueryExecutionTest::runSingleJoinQuery(), NES::MetricCollectorTest::SetUp(), NES::MetricStoreTest::SetUp(), NES::UserDefinedMonitoringTest::SetUp(), NES::TestUtils::tcpSocketBufferSize(), TEST_F(), NES::Network::TEST_F(), and NES::Runtime::Execution::TEST_F().
const uint64_t NES::buffersManaged = 8 * 1024 |
Referenced by NES::Network::TEST_F().
const std::string NES::CHILDREN_KEY = "children" |
const std::string NES::CONSTRAINT_KEY = "constraint" |
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.
Types |
|
constexpr |
Referenced by NES::RequestProcessor::TEST_F().
|
constexpr |
const std::string NES::DEVICE_ID_KEY = "deviceID" |
const std::string NES::DEVICES_KEY = "devices" |
const size_t NES::emptyBuffer = 0 |
Referenced by TEST_F().
|
constexpr |
Referenced by NES::RequestProcessor::TEST_F().
|
constexpr |
Referenced by TEST_P().
std::string NES::expectedOutput = "sum:INTEGER(32 bits)\n10\n" |
|
constexpr |
|
constexpr |
const std::string NES::INPUT_DATA_KEY = "inputData" |
concept NES::IsArray = std::is_fundamental_v<std::remove_pointer_t<Type>> || std::is_base_of_v<NESType, Type> |
concept NES::IsBool = std::is_same_v<std::remove_cvref_t<Type>, bool> |
concept NES::IsChar = std::is_same_v<std::remove_cvref_t<Type>, char> |
concept NES::IsDouble = std::is_same_v<std::remove_cvref_t<Type>, double> |
concept NES::IsFloat = std::is_same_v<std::remove_cvref_t<Type>, float> |
concept NES::IsInt16 = std::is_same_v<std::remove_cvref_t<Type>, std::int16_t> |
concept NES::IsInt32 = std::is_same_v<std::remove_cvref_t<Type>, std::int32_t> |
concept NES::IsInt64 = std::is_same_v<std::remove_cvref_t<Type>, std::int64_t> |
concept NES::IsInt8 = std::is_same_v<std::remove_cvref_t<Type>, std::int8_t> |
concept NES::IsNesType |
concept NES::IsString = std::is_same_v<std::remove_cvref_t<Type>, std::string> |
concept NES::IsUInt16 = std::is_same_v<std::remove_cvref_t<Type>, std::uint16_t> |
concept NES::IsUInt32 = std::is_same_v<std::remove_cvref_t<Type>, std::uint32_t> |
concept NES::IsUInt64 = std::is_same_v<std::remove_cvref_t<Type>, std::uint64_t> |
concept NES::IsUInt8 = std::is_same_v<std::remove_cvref_t<Type>, std::uint8_t> |
concept NES::IsVariableSizeType |
const std::string NES::JAVA_UDF_FIELD_KEY = "javaUdfField" |
std::string NES::joinedExpectedOutput = "sum:INTEGER(32 bits)\n10\n10\n" |
std::string NES::joinedExpectedOutput10 |
const std::string NES::LINK_ID_KEY = "linkID" |
concept NES::NESIdentifier |
const std::string NES::NETWORK_DELAYS_KEY = "networkDelays" |
const std::string NES::NODE_ID_KEY = "nodeId" |
const std::string NES::NODE_TYPE_KEY = "nodeType" |
const size_t NES::numberOfThreads = 5 |
Referenced by TEST_F(), and NES::Statistic::TEST_P().
const size_t NES::oneBuffer = 1 |
Referenced by TEST_F().
const std::string NES::OPERATOR_GRAPH_KEY = "operatorGraph" |
const std::string NES::OPERATOR_ID_KEY = "operatorId" |
const std::string NES::PLACEMENT_KEY = "placement" |
SharedQueryId NES::testQueryId = SharedQueryId(123) |
Referenced by TEST_F().
const std::string NES::TIME_WEIGHT_KEY = "time_weight" |
uint16_t NES::timeout = 15 |
Referenced by NES::TestUtils::checkFailedOrTimeout(), NES::TestUtils::checkRemovedDecomposedQueryOrTimeoutAtWorker(), NES::TestUtils::checkStoppedOrTimeout(), NES::TestUtils::checkStoppedOrTimeoutAtWorker(), NES::TCPSource::createOrLoadPersistedProperties(), NES::Statistic::StatisticIdsExtractor::extractStatisticIdsFromQueryId(), getBufferTimeout(), NES::Runtime::FixedSizeBufferPool::getBufferTimeout(), NES::BlockingQueue< T >::popTimeout(), and TEST_F().
const std::string NES::TRANSFER_RATE_KEY = "transferRate" |
|
constexpr |
Referenced by NES::RequestProcessor::TEST_F().