Class ClientResponseWithPartitionKey

java.lang.Object
org.voltdb.client.ClientResponseWithPartitionKey

public class ClientResponseWithPartitionKey extends Object
Packages up the data to be sent back to the client as a stored procedure response for a partition
  • Field Details

    • partitionKey

      public final Object partitionKey
      The partition key for this response
    • response

      public final ClientResponse response
      The response object
    • partitionId

      public final int partitionId
      The partition id for this response
  • Constructor Details

    • ClientResponseWithPartitionKey

      public ClientResponseWithPartitionKey(Object partitionKey, ClientResponse response, int partitionId)
      Constructs client response
      Parameters:
      partitionKey - A partition key to reach the partition
      response - The ClientResponse instance from the procedure execution
      partitionId - The partitionId of response.