flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alpinegizmo <...@git.apache.org>
Subject [GitHub] flink pull request #4041: [FLINK-6198] [cep] Update CEP documentation.
Date Fri, 02 Jun 2017 15:57:42 GMT
Github user alpinegizmo commented on a diff in the pull request:

    --- Diff: docs/dev/libs/cep.md ---
    @@ -246,63 +334,399 @@ pattern.where(event => ... /* some condition */).or(event =>
... /* or condition
    -Next, we can append further states to detect complex patterns.
    -We can control the contiguity of two succeeding events to be accepted by the pattern.
    +##### Conditions on Contiguity
    -Strict contiguity means that two matching events have to be directly the one after the
    -This means that no other events can occur in between. 
    -A strict contiguity pattern state can be created via the `next` method.
    +FlinkCEP supports the following forms of contiguity between events:
    + 1. Strict Contiguity: which expects all matching events to appear strictly the one after
the other,
    + without any non-matching events in-between.
    + 2. Relaxed Contiguity: which simply ignores non-matching events appearing in-between
the matching ones.
    + 3. Non-Deterministic Relaxed Contiguity: which further relaxes contiguity by also creating
    + matches which ignore also matching events.
    --- End diff --
    Non-Deterministic Relaxed Contiguity is hard to understand. Maybe this is clearer:
    ... which further relaxes contiguity, allowing additional matches that ignore some matching

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message