You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Thorman (JIRA)" <ji...@apache.org> on 2016/06/20 18:57:57 UTC
[jira] [Commented] (FLINK-3320) Add not operator to CEP's pattern
API
[ https://issues.apache.org/jira/browse/FLINK-3320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15340176#comment-15340176 ]
Robert Thorman commented on FLINK-3320:
---------------------------------------
Seems like the same situation as the OR operator. I this is as simple as adding these methods like the AND, I'd be glad to work on this.
> Add not operator to CEP's pattern API
> -------------------------------------
>
> Key: FLINK-3320
> URL: https://issues.apache.org/jira/browse/FLINK-3320
> Project: Flink
> Issue Type: Improvement
> Components: CEP
> Affects Versions: 1.0.0
> Reporter: Till Rohrmann
> Priority: Minor
>
> Currently, CEP's pattern API is lacking a {{not}} operator which would you allow to define which events must not occur in a matched pattern. It would be beneficial to add this operator in order to increase the set of supported patterns.
> {code}
> Pattern.begin("start").where(...).followedBy("middle").notFollowedBy("not").where(...).notNext("not2").where(...)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)