Class FunctionDelegationHelper

java.lang.Object
org.apache.flink.state.changelog.restore.FunctionDelegationHelper

@Internal public class FunctionDelegationHelper extends Object
Delegating functions are used to create metadata on recovery when the actual function code is not known yet. Once the actual function is known, backend updates the delegate which starts receiving the calls.
  • Constructor Details

    • FunctionDelegationHelper

      public FunctionDelegationHelper()
  • Method Details

    • delegateReduceFunction

      public static <T> org.apache.flink.api.common.functions.ReduceFunction<T> delegateReduceFunction()
    • delegateAggregateFunction

      public static <IN, ACC, OUT> org.apache.flink.api.common.functions.AggregateFunction<IN,ACC,OUT> delegateAggregateFunction()
    • addOrUpdate

      public <T, S extends org.apache.flink.api.common.state.State, F> void addOrUpdate(org.apache.flink.api.common.state.StateDescriptor<S,T> stateDescriptor)