You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by dw...@apache.org on 2018/06/15 15:32:24 UTC

[3/3] flink git commit: [FLINK-9551][DOCS]FlinkCEP Scala Combining Patterns table has a missing pattern

[FLINK-9551][DOCS]FlinkCEP Scala Combining Patterns table has a missing pattern

This closes #6139


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/4a0dc827
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/4a0dc827
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/4a0dc827

Branch: refs/heads/master
Commit: 4a0dc8273f422dbf28e105760b52bdcc3cffb8e7
Parents: 2fdc768
Author: Yadan.JS <y_...@yahoo.com>
Authored: Thu Jun 7 18:07:57 2018 -0400
Committer: Dawid Wysakowicz <dw...@apache.org>
Committed: Fri Jun 15 15:26:37 2018 +0200

----------------------------------------------------------------------
 docs/dev/libs/cep.md | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/4a0dc827/docs/dev/libs/cep.md
----------------------------------------------------------------------
diff --git a/docs/dev/libs/cep.md b/docs/dev/libs/cep.md
index 976be34..cdcebdc 100644
--- a/docs/dev/libs/cep.md
+++ b/docs/dev/libs/cep.md
@@ -1117,7 +1117,7 @@ pattern.within(Time.seconds(10));
     </thead>
     <tbody>
         <tr>
-            <td><strong>begin()</strong></td>
+            <td><strong>begin(#name)</strong></td>
             <td>
             <p>Defines a starting pattern:</p>
 {% highlight scala %}
@@ -1125,6 +1125,17 @@ val start = Pattern.begin[Event]("start")
 {% endhighlight %}
             </td>
         </tr>
+       <tr>
+            <td><strong>begin(#pattern_sequence)</strong></td>
+            <td>
+            <p>Defines a starting pattern:</p>
+{% highlight scala %}
+val start = Pattern.begin(
+    Pattern.begin[Event]("start").where(...).followedBy("middle").where(...)
+)
+{% endhighlight %}
+            </td>
+        </tr>
         <tr>
             <td><strong>next(#name)</strong></td>
             <td>