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

public class StateRequest<K,N,IN,OUT> extends Object implements Serializable
A request encapsulates the necessary data to perform a state request.
See Also:
  • 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

      public StateRequestType getRequestType()
    • getPayload

      @Nullable public IN getPayload()
    • isSync

      public boolean isSync()
    • getState

      @Nullable public org.apache.flink.api.common.state.v2.State getState()
    • getFuture

      public org.apache.flink.core.state.InternalStateFuture<OUT> getFuture()
    • getRecordContext

      public RecordContext<K> getRecordContext()
    • getNamespace

      @Nullable public N getNamespace()