Package | Description |
---|---|
org.apache.flink.cep | |
org.apache.flink.cep.operator |
Modifier and Type | Method and Description |
---|---|
EventComparator<T> |
PatternStream.getComparator() |
Modifier and Type | Method and Description |
---|---|
static <T> PatternStream<T> |
CEP.pattern(DataStream<T> input,
Pattern<T,?> pattern,
EventComparator<T> comparator)
Creates a
PatternStream from an input data stream and a pattern. |
Modifier and Type | Method and Description |
---|---|
static <IN,OUT> SingleOutputStreamOperator<OUT> |
CEPOperatorUtils.createPatternStream(DataStream<IN> inputStream,
Pattern<IN,?> pattern,
EventComparator<IN> comparator,
PatternFlatSelectFunction<IN,OUT> selectFunction,
TypeInformation<OUT> outTypeInfo)
Creates a data stream containing results of
PatternFlatSelectFunction to fully matching event patterns. |
static <IN,OUT> SingleOutputStreamOperator<OUT> |
CEPOperatorUtils.createPatternStream(DataStream<IN> inputStream,
Pattern<IN,?> pattern,
EventComparator<IN> comparator,
PatternSelectFunction<IN,OUT> selectFunction,
TypeInformation<OUT> outTypeInfo)
Creates a data stream containing results of
PatternSelectFunction to fully matching event patterns. |
static <IN,OUT1,OUT2> |
CEPOperatorUtils.createTimeoutPatternStream(DataStream<IN> inputStream,
Pattern<IN,?> pattern,
EventComparator<IN> comparator,
PatternFlatSelectFunction<IN,OUT1> selectFunction,
TypeInformation<OUT1> outTypeInfo,
OutputTag<OUT2> outputTag,
PatternFlatTimeoutFunction<IN,OUT2> timeoutFunction)
Creates a data stream containing results of
PatternFlatSelectFunction to fully matching event patterns and
also timed out partially matched with applied PatternFlatTimeoutFunction as a sideoutput. |
static <IN,OUT1,OUT2> |
CEPOperatorUtils.createTimeoutPatternStream(DataStream<IN> inputStream,
Pattern<IN,?> pattern,
EventComparator<IN> comparator,
PatternSelectFunction<IN,OUT1> selectFunction,
TypeInformation<OUT1> outTypeInfo,
OutputTag<OUT2> outputTag,
PatternTimeoutFunction<IN,OUT2> timeoutFunction)
Creates a data stream containing results of
PatternSelectFunction to fully matching event patterns and
also timed out partially matched with applied PatternTimeoutFunction as a sideoutput. |
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.