flink-issues mailing list archives

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

    --- Diff: docs/dev/libs/cep.md ---
    @@ -98,48 +128,105 @@ val result: DataStream[Alert] = patternStream.select(createAlert(_))
    -Note that we use Java 8 lambdas in our Java code examples to make them more succinct.
     ## The Pattern API
    -The pattern API allows you to quickly define complex event patterns.
    -Each pattern consists of multiple stages or what we call states.
    -In order to go from one state to the next, the user can specify conditions.
    -These conditions can be the contiguity of events or a filter condition on an event.
    -Each pattern has to start with an initial state:
    +The pattern API allows you to quickly define complex pattern sequences that you want
to extract 
    +from your input stream.
    +Each such complex pattern sequence consists of multiple simple patterns, i.e. patterns
looking for 
    +individual events with the same properties. These simple patterns are called **states**.
A complex pattern 
    --- End diff --
    I changed it, so now we have `Pattern` and `Pattern Sequence`.

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