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 the Queryable State Client to the Client Proxy requesting a given state.
  • Constructor Details

    • KvStateRequest

      public KvStateRequest(org.apache.flink.api.common.JobID jobId, String stateName, int keyHashCode, byte[] serializedKeyAndNamespace)
  • Method Details

    • 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: MessageBody
      Serializes the message into a byte array.
      Specified by:
      serialize in class MessageBody
      Returns:
      A byte array with the serialized content of the message.
    • toString

      public String toString()
      Overrides:
      toString in class Object