You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2018/06/11 12:41:14 UTC

flink git commit: [FLINK-9549][cep][docs] Fix broken links and missing quotes

Repository: flink
Updated Branches:
  refs/heads/master 0f6c4eb45 -> bc684bb7a


[FLINK-9549][cep][docs] Fix broken links and missing quotes

This closes #6137.


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

Branch: refs/heads/master
Commit: bc684bb7a5397eb80e6e9c82d803fdfb83d3b9fe
Parents: 0f6c4eb
Author: Yadan.JS <y_...@yahoo.com>
Authored: Thu Jun 7 17:33:49 2018 -0400
Committer: zentol <ch...@apache.org>
Committed: Mon Jun 11 14:40:45 2018 +0200

----------------------------------------------------------------------
 docs/dev/libs/cep.md | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/bc684bb7/docs/dev/libs/cep.md
----------------------------------------------------------------------
diff --git a/docs/dev/libs/cep.md b/docs/dev/libs/cep.md
index 6557549..976be34 100644
--- a/docs/dev/libs/cep.md
+++ b/docs/dev/libs/cep.md
@@ -31,7 +31,7 @@ This page describes the API calls available in Flink CEP. We start by presenting
 which allows you to specify the patterns that you want to detect in your stream, before presenting how you can
 [detect and act upon matching event sequences](#detecting-patterns). We then present the assumptions the CEP
 library makes when [dealing with lateness](#handling-lateness-in-event-time) in event time and how you can
-[migrate your job](#migrating-from-an-older-flink-version) from an older Flink version to Flink-1.3.
+[migrate your job](#migrating-from-an-older-flink-versionpre-13) from an older Flink version to Flink-1.3.
 
 * This will be replaced by the TOC
 {:toc}
@@ -408,7 +408,7 @@ input `"a1", "c", "a2", "b"` will have the following results:
 
  1. **Strict Contiguity**: `{a2 b}` -- the `"c"` after `"a1"` causes `"a1"` to be discarded.
 
- 2. **Relaxed Contiguity**: `{a1 b}` and `{a1 a2 b}` -- `c` is ignored.
+ 2. **Relaxed Contiguity**: `{a1 b}` and `{a1 a2 b}` -- `"c"` is ignored.
 
  3. **Non-Deterministic Relaxed Contiguity**: `{a1 b}`, `{a2 b}`, and `{a1 a2 b}`.
 
@@ -834,7 +834,7 @@ them between consecutive patterns, you can use:
 or
 
 1. `notNext()`, if you do not want an event type to directly follow another
-2. `notFollowedBy()`, if you do not want an event type to be anywhere between two other event types
+2. `notFollowedBy()`, if you do not want an event type to be anywhere between two other event types.
 
 {% warn Attention %} A pattern sequence cannot end in `notFollowedBy()`.
 
@@ -886,14 +886,14 @@ val relaxedNot: Pattern[Event, _] = start.notFollowedBy("not").where(...)
 
 Relaxed contiguity means that only the first succeeding matching event will be matched, while
 with non-deterministic relaxed contiguity, multiple matches will be emitted for the same beginning. As an example,
-a pattern `a b`, given the event sequence `"a", "c", "b1", "b2"`, will give the following results:
+a pattern `"a b"`, given the event sequence `"a", "c", "b1", "b2"`, will give the following results:
 
-1. Strict Contiguity between `a` and `b`: `{}` (no match), the `"c"` after `"a"` causes `"a"` to be discarded.
+1. Strict Contiguity between `"a"` and `"b"`: `{}` (no match), the `"c"` after `"a"` causes `"a"` to be discarded.
 
-2. Relaxed Contiguity between `a` and `b`: `{a b1}`, as relaxed continuity is viewed as "skip non-matching events
+2. Relaxed Contiguity between `"a"` and `"b"`: `{a b1}`, as relaxed continuity is viewed as "skip non-matching events
 till the next matching one".
 
-3. Non-Deterministic Relaxed Contiguity between `a` and `b`: `{a b1}`, `{a b2}`, as this is the most general form.
+3. Non-Deterministic Relaxed Contiguity between `"a"` and `"b"`: `{a b1}`, `{a b2}`, as this is the most general form.
 
 It's also possible to define a temporal constraint for the pattern to be valid.
 For example, you can define that a pattern should occur within 10 seconds via the `pattern.within()` method.
@@ -1532,7 +1532,7 @@ seen watermark. Late elements are not further processed. Also, you can specify a
 {% highlight java %}
 PatternStream<Event> patternStream = CEP.pattern(input, pattern);
 
-OutputTag<String> lateDataOutputTag = new OutputTag<String>("late-data""){};
+OutputTag<String> lateDataOutputTag = new OutputTag<String>("late-data"){};
 
 SingleOutputStreamOperator<ComplexEvent> result = patternStream
     .sideOutputLateData(lateDataOutputTag)