Class FunctionDelegationHelper
java.lang.Object
org.apache.flink.state.changelog.restore.FunctionDelegationHelper
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<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> static <T> org.apache.flink.api.common.functions.ReduceFunction<T>
-
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, org.apache.flink.api.common.functions.AggregateFunction<IN,OUT> ACC, delegateAggregateFunction()OUT> -
addOrUpdate
public <T,S extends org.apache.flink.api.common.state.State, void addOrUpdateF> (org.apache.flink.api.common.state.StateDescriptor<S, T> stateDescriptor)
-