[
https://issues.apache.org/jira/browse/FLINK-5853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16006217#comment-16006217
]
Kostas Kloudas commented on FLINK-5853:
---------------------------------------
Hi [~dawidwys]! Isn't the same functionality offered also by the recently added
{{IterativeConditions}}? If this is the case, then I would suggest to move the
discussion to the issue https://issues.apache.org/jira/browse/FLINK-6420 where
the discussion is on the more general API constructs we offer.
What do you think?
> 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)