Class 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:
    Serialized Form
    • Constructor Detail

      • 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 Detail

      • 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()
      • getNamespace

        @Nullable
        public N getNamespace()