[
https://issues.apache.org/jira/browse/FLINK-6198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16034931#comment-16034931
]
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_r119888143
--- Diff: docs/dev/libs/cep.md ---
@@ -341,153 +765,67 @@ Pattern<Event, ?> start =
Pattern.<Event>begin("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 java %}
-Pattern<Event, ?> next = start.next("next");
+Pattern<Event, ?> 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 java %}
-Pattern<Event, ?> followedBy = start.followedBy("next");
+Pattern<Event, ?> followedBy = start.followedBy("middle");
{% endhighlight %}
</td>
</tr>
<tr>
- <td><strong>Where</strong></td>
+ <td><strong>followedByAny()</strong></td>
<td>
- <p>Defines a condition for the current pattern state. Only
if an event satisifes the condition, it can match the state:</p>
+ <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 ...
> 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)