Github user dianfu commented on a diff in the pull request:

    https://github.com/apache/flink/pull/4418#discussion_r130895782
  
    --- Diff: 
flink-libraries/flink-cep/src/main/java/org/apache/flink/cep/CEP.java ---
    @@ -38,4 +40,17 @@
        public static <T> PatternStream<T> pattern(DataStream<T> input, 
Pattern<T, ?> pattern) {
                return new PatternStream<>(input, pattern);
        }
    +
    +   /**
    +    * Creates a {@link PatternStream} from an input data stream and a 
pattern.
    +    *
    +    * @param input DataStream containing the input events
    +    * @param pattern Pattern specification which shall be detected
    +    * @param comparator Comparator to sort events
    --- End diff --
    
    Updated the doc.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to