IN - Type of the input elementsOUT - Type of the output elementpublic abstract class RichPatternSelectFunction<IN,OUT> extends org.apache.flink.api.common.functions.AbstractRichFunction implements PatternSelectFunction<IN,OUT>
PatternSelectFunction. As a RichFunction, it gives access to
the RuntimeContext and provides setup and teardown
methods: RichFunction.open(org.apache.flink.configuration.Configuration) and RichFunction.close().| 构造器和说明 |
|---|
RichPatternSelectFunction() |
public abstract OUT select(Map<String,List<IN>> pattern) throws Exception
PatternSelectFunctionselect 在接口中 PatternSelectFunction<IN,OUT>pattern - Map containing the found pattern. Events are identified by their namesException - This method may throw exceptions. Throwing an exception will cause the
operation to fail and may trigger recovery.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.