You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Konstantin Knauf (Jira)" <ji...@apache.org> on 2021/07/29 07:37:15 UTC
[jira] [Updated] (FLINK-8147) Support and to CEP's pattern API
[ https://issues.apache.org/jira/browse/FLINK-8147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konstantin Knauf updated FLINK-8147:
------------------------------------
Labels: (was: auto-closed)
Priority: Not a Priority (was: Minor)
> 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: Not a Priority
>
> 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)