com.basho.riak.client.http.response
Class IndexResponse

java.lang.Object
  extended by com.basho.riak.client.http.response.HttpResponseDecorator
      extended by com.basho.riak.client.http.response.IndexResponse
All Implemented Interfaces:
HttpResponse

public class IndexResponse
extends HttpResponseDecorator
implements HttpResponse

The response from an index query

Author:
russell

Field Summary
 
Fields inherited from class com.basho.riak.client.http.response.HttpResponseDecorator
impl
 
Constructor Summary
IndexResponse(HttpResponse r)
           
 
Method Summary
 List<String> getKeys()
          The list of keys returned by an index query
 
Methods inherited from class com.basho.riak.client.http.response.HttpResponseDecorator
close, getBody, getBodyAsString, getBucket, getHttpHeaders, getHttpMethod, getHttpResponse, getKey, getStatusCode, getStream, isError, isStreamed, isSuccess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.basho.riak.client.http.response.HttpResponse
close, getBody, getBodyAsString, getBucket, getHttpHeaders, getHttpMethod, getHttpResponse, getKey, getStatusCode, getStream, isError, isStreamed, isSuccess
 

Constructor Detail

IndexResponse

public IndexResponse(HttpResponse r)
              throws JSONException
Parameters:
r -
Throws:
JSONException
Method Detail

getKeys

public List<String> getKeys()
The list of keys returned by an index query

Returns:
the keys (maybe empty, never null)


Copyright © 2012. All Rights Reserved.