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

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

Github user alpinegizmo commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4041#discussion_r119887736
  
    --- Diff: docs/dev/libs/cep.md ---
    @@ -511,133 +849,81 @@ val start = Pattern.begin[Event]("start")
                 </td>
             </tr>
             <tr>
    -            <td><strong>Next</strong></td>
    +            <td><strong>next()</strong></td>
                 <td>
    -                <p>Appends a new pattern state. A matching event has to 
directly succeed the previous matching event:</p>
    +                <p>Appends a new pattern state. A matching event has to 
directly succeed the previous matching event 
    +                (strict contiguity):</p>
     {% highlight scala %}
     val next = start.next("middle")
     {% endhighlight %}
                 </td>
             </tr>
             <tr>
    -            <td><strong>FollowedBy</strong></td>
    +            <td><strong>followedBy()</strong></td>
                 <td>
    -                <p>Appends a new pattern state. Other events can occur 
between a matching event and the previous matching event:</p>
    +                <p>Appends a new pattern state. Other events can occur 
between a matching event and the previous 
    +                matching event (relaxed contiguity) :</p>
     {% highlight scala %}
     val followedBy = start.followedBy("middle")
     {% endhighlight %}
                 </td>
             </tr>
             <tr>
    -            <td><strong>Where</strong></td>
    -            <td>
    -                <p>Defines a filter condition for the current pattern 
state. Only if an event passes the filter, it can match the state:</p>
    -{% highlight scala %}
    -patternState.where(event => ... /* some condition */)
    -{% endhighlight %}
    -            </td>
    -        </tr>
    -        <tr>
    -            <td><strong>Or</strong></td>
    -            <td>
    -                <p>Adds a new filter condition which is ORed with an 
existing filter condition. Only if an event passes the filter condition, it can 
match the state:</p>
    -{% highlight scala %}
    -patternState.where(event => ... /* some condition */)
    -    .or(event => ... /* alternative condition */)
    -{% endhighlight %}
    -                    </td>
    +                    <td><strong>followedByAny()</strong></td>
    +                    <td>
    +                        <p>Appends a new pattern state. Other events can 
occur between a matching event and the previous 
    +                        matching event and alternative matches will be 
presented for every alternative matching event 
    --- End diff --
    
    add a comma:
    
    ... matching event, and alternative matches will be ...


> Update the documentation of the CEP library to include all the new features.
> ----------------------------------------------------------------------------
>
>                 Key: FLINK-6198
>                 URL: https://issues.apache.org/jira/browse/FLINK-6198
>             Project: Flink
>          Issue Type: Sub-task
>          Components: CEP
>    Affects Versions: 1.3.0
>            Reporter: Kostas Kloudas
>            Assignee: Kostas Kloudas
>            Priority: Critical
>             Fix For: 1.3.0
>
>
> New features to include:
> * Iterative Functions
> * Quantifiers
> * Time handling
> * Migration from FilterFunction to IterativeCondition



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to