Class SimpleUdfStreamOperatorFactory<OUT>
java.lang.Object
org.apache.flink.streaming.api.operators.AbstractStreamOperatorFactory<OUT>
org.apache.flink.streaming.api.operators.SimpleOperatorFactory<OUT>
org.apache.flink.streaming.api.operators.SimpleUdfStreamOperatorFactory<OUT>
- Type Parameters:
OUT- The output type of the operator
- All Implemented Interfaces:
Serializable,StreamOperatorFactory<OUT>,UdfStreamOperatorFactory<OUT>,ProcessingTimeServiceAware
- Direct Known Subclasses:
CollectSinkOperatorFactory
@Internal
public class SimpleUdfStreamOperatorFactory<OUT>
extends SimpleOperatorFactory<OUT>
implements UdfStreamOperatorFactory<OUT>
Udf stream operator factory which just wrap existed
AbstractUdfStreamOperator.- See Also:
-
Field Summary
Fields inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperatorFactory
chainingStrategy, processingTimeService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.api.common.functions.FunctionMethods inherited from class org.apache.flink.streaming.api.operators.SimpleOperatorFactory
createStreamOperator, getOperator, getOperatorAttributes, getStreamOperatorClass, isInputTypeConfigurable, isLegacySource, isOutputTypeConfigurable, isStreamSource, of, setInputType, setOutputTypeMethods inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperatorFactory
getChainingStrategy, getMailboxExecutor, setChainingStrategy, setMailboxExecutor, setProcessingTimeServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.streaming.api.operators.StreamOperatorFactory
createStreamOperator, getChainingStrategy, getOperatorAttributes, getStreamOperatorClass, isInputTypeConfigurable, isLegacySource, isOutputTypeConfigurable, isStreamSource, setChainingStrategy, setInputType, setOutputType
-
Constructor Details
-
SimpleUdfStreamOperatorFactory
-
-
Method Details
-
getUserFunction
public org.apache.flink.api.common.functions.Function getUserFunction()- Specified by:
getUserFunctionin interfaceUdfStreamOperatorFactory<OUT>- Returns:
- user define function.
-
getUserFunctionClassName
- Specified by:
getUserFunctionClassNamein interfaceUdfStreamOperatorFactory<OUT>- Returns:
- user define function class name.
-