Class FunctionDelegationHelper
- java.lang.Object
-
- org.apache.flink.state.changelog.restore.FunctionDelegationHelper
-
@Internal public class FunctionDelegationHelper extends Object
Delegating functionsare 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 Summary
Constructors Constructor Description FunctionDelegationHelper()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T,S extends org.apache.flink.api.common.state.State,F>
voidaddOrUpdate(org.apache.flink.api.common.state.StateDescriptor<S,T> stateDescriptor)static <IN,ACC,OUT>
org.apache.flink.api.common.functions.AggregateFunction<IN,ACC,OUT>delegateAggregateFunction()static <T> org.apache.flink.api.common.functions.ReduceFunction<T>delegateReduceFunction()
-
-
-
Method Detail
-
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)
-
-