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 Client
to the Client Proxy requesting a given state.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KvStateRequest.KvStateRequestDeserializer
Adeserializer
forKvStateRequest
.
-
Constructor Summary
Constructors Constructor Description KvStateRequest(JobID jobId, String stateName, int keyHashCode, byte[] serializedKeyAndNamespace)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobID
getJobId()
int
getKeyHashCode()
byte[]
getSerializedKeyAndNamespace()
String
getStateName()
byte[]
serialize()
Serializes the message into a byte array.String
toString()
-
-
-
Method Detail
-
getJobId
public JobID getJobId()
-
getStateName
public String getStateName()
-
getKeyHashCode
public int getKeyHashCode()
-
getSerializedKeyAndNamespace
public byte[] getSerializedKeyAndNamespace()
-
serialize
public byte[] serialize()
Description copied from class:MessageBody
Serializes the message into a byte array.- Specified by:
serialize
in classMessageBody
- Returns:
- A byte array with the serialized content of the message.
-
-