Class KvStateRequest
- java.lang.Object
-
- org.apache.flink.queryablestate.network.messages.MessageBody
-
- org.apache.flink.queryablestate.messages.KvStateRequest
-
@Internal public class KvStateRequest extends MessageBody
The request to be sent by theQueryable State Clientto the Client Proxy requesting a given state.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKvStateRequest.KvStateRequestDeserializerAdeserializerforKvStateRequest.
-
Constructor Summary
Constructors Constructor Description KvStateRequest(org.apache.flink.api.common.JobID jobId, String stateName, int keyHashCode, byte[] serializedKeyAndNamespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.api.common.JobIDgetJobId()intgetKeyHashCode()byte[]getSerializedKeyAndNamespace()StringgetStateName()byte[]serialize()Serializes the message into a byte array.StringtoString()
-
-
-
Constructor Detail
-
KvStateRequest
public KvStateRequest(org.apache.flink.api.common.JobID jobId, String stateName, int keyHashCode, byte[] serializedKeyAndNamespace)
-
-
Method Detail
-
getJobId
public org.apache.flink.api.common.JobID getJobId()
-
getStateName
public String getStateName()
-
getKeyHashCode
public int getKeyHashCode()
-
getSerializedKeyAndNamespace
public byte[] getSerializedKeyAndNamespace()
-
serialize
public byte[] serialize()
Description copied from class:MessageBodySerializes the message into a byte array.- Specified by:
serializein classMessageBody- Returns:
- A byte array with the serialized content of the message.
-
-