You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ivan Mushketyk (JIRA)" <ji...@apache.org> on 2016/09/21 06:37:21 UTC

[jira] [Commented] (FLINK-4641) Support branching CEP patterns

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

Ivan Mushketyk commented on FLINK-4641:
---------------------------------------

What API should we define for this feature?

Should it be something like:

{code}
begin("A")
  .or(event("B").where(...))
  .either(event("C").where(...))
  .followedBy("D")
{code}

or something like:

{code}
begin("A")
  .or().event("B").where(...)
  .either().event("C").where(...)
  .followedBy("D")
{code}

> Support branching CEP patterns 
> -------------------------------
>
>                 Key: FLINK-4641
>                 URL: https://issues.apache.org/jira/browse/FLINK-4641
>             Project: Flink
>          Issue Type: Improvement
>          Components: CEP
>            Reporter: Till Rohrmann
>
> We should add support for branching CEP patterns to the Pattern API. 
> {code}
>     |--> B --|
>     |        |
> A --         --> D
>     |        |
>     |--> C --|
> {code}
> This feature will require changes to the {{Pattern}} class and the {{NFACompiler}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)