[
https://issues.apache.org/jira/browse/FLINK-8147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17321615#comment-17321615
]
Flink Jira Bot commented on FLINK-8147:
---------------------------------------
This issue and all of its Sub-Tasks have not been updated for 180 days. So, it
has been labeled "stale-minor". If you are still affected by this bug or are
still interested in this issue, please give an update and remove the label. In
7 days the issue will be closed automatically.
> Support and to CEP's pattern API
> --------------------------------
>
> Key: FLINK-8147
> URL: https://issues.apache.org/jira/browse/FLINK-8147
> Project: Flink
> Issue Type: New Feature
> Components: Library / CEP
> Reporter: Dian Fu
> Priority: Minor
> Labels: stale-minor
>
> Adding API such as {{and}} in CEP's pattern API will let us define patterns
> like {{(A -> B) and (C -> D)}}.
> Its usage looks like
> {noformat}
> Pattern left = Pattern.begin("A").followedBy("B");
> Pattern right = Pattern.begin("C").followedBy("D");
> Pattern pattern = left.and(right)
> {noformat}
> If this makes sense, we should also support APIs such as {{or}} and {{not}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)