Package org.voltdb.client
Class ClientResponseWithPartitionKey
java.lang.Object
org.voltdb.client.ClientResponseWithPartitionKey
Packages up the data to be sent back to the client as a stored
procedure response for a partition
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal int
The partition id for this responsefinal Object
The partition key for this responsefinal ClientResponse
The response object -
Constructor Summary
ConstructorsConstructorDescriptionClientResponseWithPartitionKey
(Object partitionKey, ClientResponse response, int partitionId) Constructs client response -
Method Summary
-
Field Details
-
partitionKey
The partition key for this response -
response
The response object -
partitionId
public final int partitionIdThe 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 partitionresponse
- The ClientResponse instance from the procedure executionpartitionId
- The partitionId of response.
-