public class QueryResponse extends Response
Constructor and Description |
---|
QueryResponse(String queryResponse)
Create a new query response from the specified JSON encoded string.
|
Modifier and Type | Method and Description |
---|---|
int |
getPageSize()
Get the page size of the results
|
JsonArray |
getResults()
Get the results of the query
|
int |
getStart()
Get the start index of the results
|
int |
getTotalResultCount()
Get the total number of objects that matched the query
|
getErrors, getWarnings, wasSuccessful
public QueryResponse(String queryResponse)
queryResponse
- the JSON encoded stringpublic int getTotalResultCount()
public JsonArray getResults()
Depending on the limit of the original request this may include one or more pages.
public int getPageSize()
public int getStart()