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] [Commented] (FLINK-5853) Add consecutive event based filters
Date Thu, 11 May 2017 11:35:04 GMT

    [ https://issues.apache.org/jira/browse/FLINK-5853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16006272#comment-16006272
] 

Dawid Wysakowicz commented on FLINK-5853:
-----------------------------------------

Hi [~kkl0u], Yes it is. I agree [FLINK-6420] is more general. Closing this one as duplicate.

> 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