flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Wysakowicz (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-5853) Add consecutive event based filters
Date Mon, 20 Feb 2017 15:50:44 GMT
Dawid Wysakowicz created FLINK-5853:
---------------------------------------

             Summary: Add consecutive event based filters
                 Key: FLINK-5853
                 URL: https://issues.apache.org/jira/browse/FLINK-5853
             Project: Flink
          Issue Type: New Feature
          Components: CEP
            Reporter: Dawid Wysakowicz
            Priority: Minor


Support Patterns like:

{code}
Pattern<MonitoringEvent, ?> warningPattern = Pattern.<MonitoringEvent>begin("First
Event")
    .subtype(TemperatureEvent.class)
    .next("Second Event")
    .subtype(TemperatureEvent.class)
    .where((firstEv, secondEv) -> firstEv.getTemperature() >= secondEv.getTemperature()
+ TEMPERATURE_THRESHOLD)
    .within(Time.seconds(10));
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message