public class MapReduceResponse extends HttpResponseDecorator implements HttpResponse
impl| Constructor and Description |
|---|
MapReduceResponse(HttpResponse r)
On a 2xx response, parses the response into a
JSONArray |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONArray |
getResults()
The result of the map-reduce query as a JSON array
|
close, getBody, getBodyAsString, getBucket, getHttpHeaders, getHttpMethod, getHttpResponse, getKey, getStatusCode, getStream, isError, isStreamed, isSuccessclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getBody, getBodyAsString, getBucket, getHttpHeaders, getHttpMethod, getHttpResponse, getKey, getStatusCode, getStream, isError, isStreamed, isSuccesspublic MapReduceResponse(HttpResponse r) throws org.json.JSONException
JSONArrayr - The HTTP response query POST'd to the map-reduce resourceorg.json.JSONException - Response is a 2xx but doesn't contain a valid JSON arrayCopyright © 2014. All Rights Reserved.