Class AbstractAsyncStateUdfStreamOperator<OUT,F extends org.apache.flink.api.common.functions.Function>

Type Parameters:
OUT - The output type of the operator
F - The type of the user function
All Implemented Interfaces:
Serializable, org.apache.flink.api.common.state.CheckpointListener, KeyContext, KeyContextHandler, org.apache.flink.streaming.api.operators.OutputTypeConfigurable<OUT>, StreamOperator<OUT>, StreamOperatorStateHandler.CheckpointedStreamOperator, UserFunctionProvider<F>, YieldingOperator<OUT>, AsyncStateProcessing, AsyncStateProcessingOperator
Direct Known Subclasses:
AsyncIntervalJoinOperator, AsyncKeyedProcessOperator, AsyncStreamFlatMap, AsyncWindowOperator, StreamGroupedReduceAsyncStateOperator

@Internal public abstract class AbstractAsyncStateUdfStreamOperator<OUT,F extends org.apache.flink.api.common.functions.Function> extends AbstractAsyncStateStreamOperator<OUT> implements org.apache.flink.streaming.api.operators.OutputTypeConfigurable<OUT>, UserFunctionProvider<F>
This is used as the base class for operators that have a user-defined function. This class handles the opening and closing of the user-defined functions, as part of the operator life cycle. This class is nearly identical with AbstractUdfStreamOperator, but extending from AbstractAsyncStateStreamOperator to integrate with asynchronous state access. Another difference is this class is internal.
See Also:
  • Field Details

    • userFunction

      protected final F extends org.apache.flink.api.common.functions.Function userFunction
      The user function.
    • declarationContext

      protected transient DeclarationContext declarationContext
  • Constructor Details

    • AbstractAsyncStateUdfStreamOperator

      public AbstractAsyncStateUdfStreamOperator(F userFunction)
  • Method Details