flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trohrm...@apache.org
Subject flink git commit: [hotfix] [docs] Update CEP documentation
Date Thu, 31 Mar 2016 14:38:23 GMT
Repository: flink
Updated Branches:
  refs/heads/master e3759a5e6 -> baf967836


[hotfix] [docs] Update CEP documentation


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

Branch: refs/heads/master
Commit: baf967836d8483c1a6af2a0f2bde5a638ab8a777
Parents: e3759a5
Author: Till Rohrmann <trohrmann@apache.org>
Authored: Thu Mar 31 16:37:56 2016 +0200
Committer: Till Rohrmann <trohrmann@apache.org>
Committed: Thu Mar 31 16:37:56 2016 +0200

----------------------------------------------------------------------
 docs/apis/streaming/libs/cep.md | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/baf96783/docs/apis/streaming/libs/cep.md
----------------------------------------------------------------------
diff --git a/docs/apis/streaming/libs/cep.md b/docs/apis/streaming/libs/cep.md
index fa4abb1..8a74f5f 100644
--- a/docs/apis/streaming/libs/cep.md
+++ b/docs/apis/streaming/libs/cep.md
@@ -124,6 +124,10 @@ Pattern<Event, ?> strictNext = start.next("middle");
 Non-strict contiguity means that other events are allowed to occur in-between two matching
events.
 A non-strict contiguity pattern state can be created via the `followedBy` method.
 
+{% highlight java %}
+Pattern<Event, ?> nonStrictNext = start.followedBy("middle");
+{% endhighlight %}
+
 It is also possible to define a temporal constraint for the pattern to be valid.
 For example, one can define that a pattern should occur within 10 seconds via the `within`
method.
 
@@ -131,10 +135,6 @@ For example, one can define that a pattern should occur within 10 seconds
via th
 next.within(Time.seconds(10));
 {% endhighlight %}
 
-{% highlight java %}
-Pattern<Event, ?> nonStrictNext = start.followedBy("middle");
-{% endhighlight %}
-
 <br />
 
 <table class="table table-bordered">


Mime
View raw message