flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-3216) Define pattern specification
Date Tue, 02 Feb 2016 12:56:39 GMT

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

ASF GitHub Bot commented on FLINK-3216:
---------------------------------------

Github user tillrohrmann commented on the pull request:

    https://github.com/apache/flink/pull/1557#issuecomment-178559057
  
    Failing test case is unrelated to changes.


> Define pattern specification
> ----------------------------
>
>                 Key: FLINK-3216
>                 URL: https://issues.apache.org/jira/browse/FLINK-3216
>             Project: Flink
>          Issue Type: Sub-task
>            Reporter: Till Rohrmann
>
> In order to detect event patterns we first have to define the pattern. This issue tracks
the progress of implementing a user facing API to define event patterns. 
> Patterns should support the following operations
> * next(): The given event has to follow directly after the preceding event
> followedBy(): The given event has to follow the preceding event. There might occur other
events in-between
> * every(): In a follow-by relationship a starting event can be matched with multiple
successive events. Consider the pattern a → b where → denotes the follow-by relationship.
The event sequence a, b, b can be matched as a, b or a, (b), b where the first b is left out.
The essential question is whether a is allowed to match multiple times or only the first time.
The method every specifies exactly that. Every events in a pattern can match with multiple
successive events. This makes only sense in a follow-by relationship, though.
> * followedByEvery(): Similar to followedBy just that the specified element can be matched
with multiple successive events
> * or(): Alternative event which can be matched instead of the original event: every(“e1”).where().or(“e2”).where()
> * within(): Defines a time interval in which the pattern has to be completed, otherwise
an incomplete pattern can be emitted (timeout case)



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

Mime
View raw message