Class StateRequest<K,N,IN,OUT>
java.lang.Object
org.apache.flink.runtime.asyncprocessing.StateRequest<K,N,IN,OUT>
- Type Parameters:
K- Type of partitioned key.IN- Type of input of this request.N- Type of namespace.OUT- Type of value that request will return.
- All Implemented Interfaces:
Serializable
A request encapsulates the necessary data to perform a state request.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStateRequest(org.apache.flink.api.common.state.v2.State state, StateRequestType type, boolean sync, IN payload, org.apache.flink.core.state.InternalStateFuture<OUT> stateFuture, RecordContext<K> context) -
Method Summary
-
Constructor Details
-
StateRequest
public StateRequest(@Nullable org.apache.flink.api.common.state.v2.State state, StateRequestType type, boolean sync, @Nullable IN payload, org.apache.flink.core.state.InternalStateFuture<OUT> stateFuture, RecordContext<K> context)
-
-
Method Details
-
getRequestType
-
getPayload
-
isSync
public boolean isSync() -
getState
@Nullable public org.apache.flink.api.common.state.v2.State getState() -
getFuture
-
getRecordContext
-
getNamespace
-