[ 
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)

Reply via email to