Package | Description |
---|---|
com.basho.riak.client.http |
The legacy, low-level HTTP REST RiakClient and associated classes, consider using the high-level
IRiakClient |
com.basho.riak.client.http.plain |
A more OO wrapper to the legacy, low-level HTTP REST client map reduce key filters, consider using the high-level
IRiakClient |
com.basho.riak.client.http.response |
HTTP response handling/wrapping classes for the legacy HTTP REST client, consider using the high-level
IRiakClient |
com.basho.riak.client.http.util |
Supporting utility classes for the legacy HTTP REST client, consider using the high-level
IRiakClient |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
RiakObject.delete() |
HttpResponse |
RiakObject.delete(RequestMeta meta) |
HttpResponse |
RiakClient.delete(String bucket,
String key) |
HttpResponse |
RiakClient.delete(String bucket,
String key,
RequestMeta meta) |
HttpResponse |
RiakClient.ping()
GET Riak's ping resource.
|
HttpResponse |
RiakClient.resetBucketSchema(String bucket) |
HttpResponse |
RiakClient.setBucketSchema(String bucket,
RiakBucketInfo bucketInfo) |
HttpResponse |
RiakClient.setBucketSchema(String bucket,
RiakBucketInfo bucketInfo,
RequestMeta meta) |
HttpResponse |
RiakClient.stats()
GET Riak's
/stats (status) resource. |
Modifier and Type | Class and Description |
---|---|
class |
RiakResponseException
A checked decorator for
RiakResponseRuntimeException |
Modifier and Type | Interface and Description |
---|---|
interface |
WithBodyResponse
A unified interface for responses that may return one, or more RiakObjects
|
Modifier and Type | Class and Description |
---|---|
class |
BucketResponse
Response from a GET request at a bucket's URL.
|
class |
DefaultHttpResponse
Simple implementation of HttpResponse interface.
|
class |
FetchResponse
Response from a HEAD or GET request for an object.
|
class |
HttpResponseDecorator
A default decorator implementation for HttpResponse
|
class |
IndexResponse
The response from an index query
|
class |
ListBucketsResponse |
class |
MapReduceResponse
Response from a map-reduce query (POST to /mapred).
|
class |
RiakResponseRuntimeException
Thrown when the Riak server returns a malformed response.
|
class |
StoreResponse
Response from a PUT request for an object.
|
class |
WalkResponse
Response from a GET request for an object with link walking.
|
Modifier and Type | Field and Description |
---|---|
protected HttpResponse |
HttpResponseDecorator.impl |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
ClientHelper.delete(String bucket,
String key,
RequestMeta meta)
Same as
RiakClient , except only returning the HTTP response |
HttpResponse |
ClientHelper.fetch(String bucket,
String key,
RequestMeta meta) |
HttpResponse |
ClientHelper.fetch(String bucket,
String key,
RequestMeta meta,
boolean streamResponse)
Same as
RiakClient , except only returning the HTTP response and
allows the response to be streamed. |
HttpResponse |
ClientHelper.fetchCounter(String bucket,
String counter,
RequestMeta meta) |
HttpResponse |
ClientHelper.fetchIndex(IndexRequest request) |
HttpResponse |
ClientHelper.fetchIndex(String bucket,
String indexName,
long[] values)
Perform the fetch/query on an index
|
HttpResponse |
ClientHelper.fetchIndex(String bucket,
String indexName,
String[] values)
Perform the fetch/query on an index
|
HttpResponse |
ClientHelper.fetchMeta(String bucket,
String key,
RequestMeta meta)
Same as
RiakClient , except only returning the HTTP response |
HttpResponse |
ClientHelper.getBucketSchema(String bucket,
RequestMeta meta)
Same as
RiakClient.getBucketSchema(String, RequestMeta) , except
only returning the HTTP response. |
HttpResponse |
ClientHelper.incrementCounter(String bucket,
String counter,
long increment,
RequestMeta meta) |
HttpResponse |
ClientHelper.listBucket(String bucket,
RequestMeta meta,
boolean streamResponse)
Same as
RiakClient , except only returning the HTTP response, and
if streamResponse==true, the response will be streamed back, so the user
is responsible for calling HttpResponseDecorator.close() |
HttpResponse |
ClientHelper.listBuckets(boolean streamResponse)
List the buckets in Riak
|
HttpResponse |
ClientHelper.mapReduce(String job,
RequestMeta meta)
Same as
RiakClient , except only returning the HTTP response |
HttpResponse |
ClientHelper.ping()
Same as
RiakClient.ping() |
HttpResponse |
ClientHelper.resetBucketSchema(String bucket) |
HttpResponse |
ClientHelper.setBucketSchema(String bucket,
org.json.JSONObject schema,
RequestMeta meta)
|
HttpResponse |
ClientHelper.stats()
Same as
RiakClient.stats() |
HttpResponse |
ClientHelper.store(RiakObject object,
RequestMeta meta)
Same as
RiakClient , except only returning the HTTP response |
HttpResponse |
ClientHelper.toss(RiakIORuntimeException e)
Hands exception
e to installed exception handler if there is
one or throw it. |
HttpResponse |
ClientHelper.toss(RiakResponseRuntimeException e) |
HttpResponse |
ClientHelper.walk(String bucket,
String key,
String walkSpec,
RequestMeta meta)
Same as
RiakClient , except only returning the HTTP response |
Copyright © 2014. All Rights Reserved.