K - Type of partitioned key.IN - Type of input of this request.OUT - Type of value that request will return.public class StateRequest<K,IN,OUT> extends Object implements Serializable
| Constructor and Description |
|---|
StateRequest(org.apache.flink.api.common.state.v2.State state,
StateRequestType type,
IN payload,
org.apache.flink.core.state.InternalStateFuture<OUT> stateFuture,
RecordContext<K> context) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.core.state.InternalStateFuture<OUT> |
getFuture() |
IN |
getPayload() |
RecordContext<K> |
getRecordContext() |
StateRequestType |
getRequestType() |
org.apache.flink.api.common.state.v2.State |
getState() |
public StateRequest(@Nullable org.apache.flink.api.common.state.v2.State state, StateRequestType type, @Nullable IN payload, org.apache.flink.core.state.InternalStateFuture<OUT> stateFuture, RecordContext<K> context)
public StateRequestType getRequestType()
@Nullable public org.apache.flink.api.common.state.v2.State getState()
public org.apache.flink.core.state.InternalStateFuture<OUT> getFuture()
public RecordContext<K> getRecordContext()
Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.