public class QueryResponse extends Object
| Constructor and Description |
|---|
QueryResponse() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPartitionResponse(List<PartitionResponse> result) |
void |
addPartitionResponse(PartitionResponse partitionResponse) |
List<PartitionResponse> |
get() |
List<EntityResponse> |
getAll()
Iterates over the Partition Response
PartitionResponse list and retrieves the actual data EntityResponse into a single list |
Status |
getStatus(String host) |
boolean |
hasError()
Iterates over the Partition Responses
PartitionResponse list and calls the hasError() on each PartitionResponse. |
boolean |
isAllError()
Iterates over the Partition Responses
PartitionResponse list and calls the hasError() on each PartitionResponse. |
public List<PartitionResponse> get()
PartitionResponsepublic List<EntityResponse> getAll()
PartitionResponse list and retrieves the actual data EntityResponse into a single listEntityResponse. A unified list of all the results of all Partition Responses PartitionResponsepublic boolean hasError()
PartitionResponse list and calls the hasError() on each PartitionResponse.public boolean isAllError()
PartitionResponse list and calls the hasError() on each PartitionResponse.public void addPartitionResponse(PartitionResponse partitionResponse)
public void addPartitionResponse(List<PartitionResponse> result)
Copyright © 2020. All rights reserved.