Package | Description |
---|---|
com.basho.riak.client |
Provides the top-level
IRiakClient
and IRiakObject classes required to store data
in Riak, start here. |
com.basho.riak.client.plain |
Deprecated please see com.basho.riak.http.client.plain
|
com.basho.riak.client.response |
Deprecated please see com.basho.riak.http.client.response
|
com.basho.riak.client.util |
General utility classes used by the API, mainly deprecated classes that have
been moved to com.basho.riak.client.http.util.
|
Modifier and Type | Method and Description |
---|---|
HttpResponse |
RiakObject.delete()
Deprecated.
|
HttpResponse |
RiakObject.delete(RequestMeta meta)
Deprecated.
Convenience method for calling
RiakClient.delete(String, String, RequestMeta) . |
HttpResponse |
RiakClient.delete(String bucket,
String key)
Deprecated.
|
HttpResponse |
RiakClient.delete(String bucket,
String key,
RequestMeta meta)
Deprecated.
Delete the object at
bucket and key . |
HttpResponse |
RiakClient.setBucketSchema(String bucket,
RiakBucketInfo bucketInfo)
Deprecated.
|
HttpResponse |
RiakClient.setBucketSchema(String bucket,
RiakBucketInfo bucketInfo,
RequestMeta meta)
Deprecated.
Set the properties for a Riak bucket.
|
Modifier and Type | Class and Description |
---|---|
class |
RiakResponseException
Deprecated.
with the addition of a protocol buffers client in 0.14 all the
existing REST client code should be in client.http.* this class
has therefore been moved. Please use
com.basho.riak.client.http.plain.RiakResponseException
instead.
WARNING: This class will be REMOVED in the next version. |
Modifier and Type | Interface and Description |
---|---|
interface |
WithBodyResponse
Deprecated.
with the addition of a protocol buffers client in 0.14 all the
existing REST client code should be in client.http.* this class
has therefore been moved. Please use
com.basho.riak.client.http.response.WithBodyResponse
instead.
WARNING: This class will be REMOVED in the next version. |
Modifier and Type | Class and Description |
---|---|
class |
BucketResponse
Deprecated.
with the addition of a protocol buffers client in 0.14 all the
existing REST client code should be in client.http.* this class
has therefore been moved. Please use
com.basho.riak.client.http.response.BucketResponse
instead.
WARNING: This class will be REMOVED in the next version. |
class |
DefaultHttpResponse
Deprecated.
with the addition of a protocol buffers client in 0.14 all the
existing REST client code should be in client.http.* this class
has therefore been moved. Please use
com.basho.riak.client.http.response.DefaultHttpResponse
instead.
WARNING: This class will be REMOVED in the next version. |
class |
FetchResponse
Deprecated.
with the addition of a protocol buffers client in 0.14 all the
existing REST client code should be in client.http.* this class
has therefore been moved. Please use
com.basho.riak.client.http.response.FetchResponse
instead.
WARNING: This class will be REMOVED in the next version. |
class |
HttpResponseDecorator
Deprecated.
with the addition of a protocol buffers client in 0.14 all the
existing REST client code should be in client.http.* this class
has therefore been moved. Please use
com.basho.riak.client.http.response.HttpResponseDecorator
instead.
WARNING: This class will be REMOVED in the next version. |
class |
MapReduceResponse
Deprecated.
with the addition of a protocol buffers client in 0.14 all the
existing REST client code should be in client.http.* this class
has therefore been moved. Please use
com.basho.riak.client.http.response.MapReduceResponse
instead.
WARNING: This class will be REMOVED in the next version. |
class |
RiakResponseRuntimeException
Deprecated.
with the addition of a protocol buffers client in 0.14 all the
existing REST client code should be in client.http.* this class
has therefore been moved. Please use
com.basho.riak.client.http.response.RiakResponseRuntimeException
instead.
WARNING: This class will be REMOVED in the next version. |
class |
StoreResponse
Deprecated.
with the addition of a protocol buffers client in 0.14 all the
existing REST client code should be in client.http.* this class
has therefore been moved. Please use
com.basho.riak.client.http.response.StoreResponse
instead.
WARNING: This class will be REMOVED in the next version. |
class |
WalkResponse
Deprecated.
with the addition of a protocol buffers client in 0.14 all the
existing REST client code should be in client.http.* this class
has therefore been moved. Please use
com.basho.riak.client.http.response.WalkResponse
instead.
WARNING: This class will be REMOVED in the next version. |
Modifier and Type | Field and Description |
---|---|
protected HttpResponse |
HttpResponseDecorator.impl
Deprecated.
|
Constructor and Description |
---|
BucketResponse(HttpResponse r)
Deprecated.
On a 2xx response, parses the JSON response into a
RiakBucketInfo |
FetchResponse(HttpResponse r)
Deprecated.
|
FetchResponse(HttpResponse r,
RiakClient riak)
Deprecated.
On a 2xx response, parse the HTTP response from Riak into a
RiakObject . |
HttpResponseDecorator(HttpResponse r)
Deprecated.
|
MapReduceResponse(HttpResponse r)
Deprecated.
On a 2xx response, parses the response into a
JSONArray |
RiakResponseRuntimeException(HttpResponse response)
Deprecated.
|
RiakResponseRuntimeException(HttpResponse response,
String message)
Deprecated.
|
RiakResponseRuntimeException(HttpResponse response,
String message,
Throwable cause)
Deprecated.
|
RiakResponseRuntimeException(HttpResponse response,
Throwable cause)
Deprecated.
|
WalkResponse(HttpResponse r)
Deprecated.
|
WalkResponse(HttpResponse r,
RiakClient riak)
Deprecated.
On a 2xx response, parses the HTTP body into a list of steps.
|
Modifier and Type | Method and Description |
---|---|
HttpResponse |
ClientHelper.delete(String bucket,
String key,
RequestMeta meta)
Deprecated.
Same as
RiakClient , except only returning the HTTP response |
HttpResponse |
ClientHelper.fetch(String bucket,
String key,
RequestMeta meta)
Deprecated.
|
HttpResponse |
ClientHelper.fetch(String bucket,
String key,
RequestMeta meta,
boolean streamResponse)
Deprecated.
Same as
RiakClient , except only returning the HTTP response and
allows the response to be streamed. |
HttpResponse |
ClientHelper.fetchMeta(String bucket,
String key,
RequestMeta meta)
Deprecated.
Same as
RiakClient , except only returning the HTTP response |
HttpResponse |
ClientHelper.getBucketSchema(String bucket,
RequestMeta meta)
Deprecated.
Same as
RiakClient.getBucketSchema(String, RequestMeta) , except
only returning the HTTP response. |
HttpResponse |
ClientHelper.listBucket(String bucket,
RequestMeta meta,
boolean streamResponse)
Deprecated.
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()
Deprecated.
List the buckets in Riak
|
HttpResponse |
ClientHelper.mapReduce(String job,
RequestMeta meta)
Deprecated.
Same as
RiakClient , except only returning the HTTP response |
HttpResponse |
ClientHelper.setBucketSchema(String bucket,
org.json.JSONObject schema,
RequestMeta meta)
Deprecated.
See
RiakClient#setBucketSchema(String, com.basho.riak.client.http.RiakBucketInfo, RequestMeta) |
HttpResponse |
ClientHelper.store(RiakObject object,
RequestMeta meta)
Deprecated.
Same as
RiakClient , except only returning the HTTP response |
HttpResponse |
ClientHelper.toss(RiakIORuntimeException e)
Deprecated.
Hands exception
e to installed exception handler if there is
one or throw it. |
HttpResponse |
ClientHelper.toss(RiakResponseRuntimeException e)
Deprecated.
|
HttpResponse |
ClientHelper.walk(String bucket,
String key,
String walkSpec,
RequestMeta meta)
Deprecated.
Same as
RiakClient , except only returning the HTTP response |
Copyright © 2014. All Rights Reserved.