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.request |
Deprecated please see com.basho.riak.http.client.request
|
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(RequestMeta meta)
Deprecated.
Convenience method for calling
RiakClient.delete(String, String, RequestMeta) . |
HttpResponse |
RiakClient.delete(String bucket,
String key,
RequestMeta meta)
Deprecated.
Delete the object at
bucket and key . |
FetchResponse |
RiakObject.fetch(RequestMeta meta)
Deprecated.
Convenience method for calling
RiakClient.fetch(String, String)
followed by RiakObject.copyData(RiakObject) |
FetchResponse |
RiakClient.fetch(String bucket,
String key,
RequestMeta meta)
Deprecated.
|
FetchResponse |
RiakObject.fetchMeta(RequestMeta meta)
Deprecated.
Convenience method for calling
RiakClient.fetchMeta(String, String, RequestMeta) followed by
RiakObject.updateMeta(FetchResponse) |
FetchResponse |
RiakClient.fetchMeta(String bucket,
String key,
RequestMeta meta)
Deprecated.
Fetch metadata (e.g.
|
BucketResponse |
RiakClient.getBucketSchema(String bucket,
RequestMeta meta)
Deprecated.
Return the properties for a Riak bucket without listing the keys in it.
|
BucketResponse |
RiakClient.listBucket(String bucket,
RequestMeta meta)
Deprecated.
Return the properties and keys for a Riak bucket.
|
MapReduceResponse |
RiakClient.mapReduce(String job,
RequestMeta meta)
Deprecated.
Execute a map reduce job on the Riak server.
|
WalkResponse |
RiakObject.LinkBuilder.run(RequestMeta meta)
Execute the link walking query by calling
RiakClient.walk(String, String, String, RequestMeta) . |
HttpResponse |
RiakClient.setBucketSchema(String bucket,
RiakBucketInfo bucketInfo,
RequestMeta meta)
Deprecated.
Set the properties for a Riak bucket.
|
StoreResponse |
RiakObject.store(RequestMeta meta)
Deprecated.
Convenience method for calling
RiakClient.store(RiakObject, RequestMeta) followed by
RiakObject.updateMeta(StoreResponse) |
StoreResponse |
RiakObject.store(RiakClient riak,
RequestMeta meta)
Deprecated.
Store this object to a different Riak instance.
|
StoreResponse |
RiakClient.store(RiakObject object,
RequestMeta meta)
Deprecated.
Store a
RiakObject . |
FetchResponse |
RiakClient.stream(String bucket,
String key,
RequestMeta meta)
Deprecated.
Similar to fetch(), except the HTTP connection is left open for
successful responses, and the Riak response is provided as a stream.
|
boolean |
RiakClient.stream(String bucket,
String key,
StreamHandler handler,
RequestMeta meta)
Deprecated.
Fetch and process the object stored at
bucket and
key as a stream. |
BucketResponse |
RiakClient.streamBucket(String bucket,
RequestMeta meta)
Deprecated.
Same as
RiakClient.listBucket(String, RequestMeta) , except
streams the response, so the user must remember to call
HttpResponseDecorator.close() on the return value. |
WalkResponse |
RiakClient.walk(String bucket,
String key,
String walkSpec,
RequestMeta meta)
Deprecated.
Perform a map/reduce link walking operation and return the objects for
which the "accumulate" flag is true.
|
Modifier and Type | Method and Description |
---|---|
void |
PlainClient.delete(String bucket,
String key,
RequestMeta meta)
Deprecated.
Like
RiakClient.delete(String, String, RequestMeta) , except
throws on a non-200 or 404 response. |
RiakObject |
PlainClient.fetch(String bucket,
String key,
RequestMeta meta)
Deprecated.
Like
RiakClient.fetch(String, String, RequestMeta) , except it
returns the fetched object directly or throws if the response is not a
200, 304 or 404. |
Collection<? extends RiakObject> |
PlainClient.fetchAll(String bucket,
String key,
RequestMeta meta)
Deprecated.
Like
RiakClient.fetch(String, String, RequestMeta) , except it
returns the all the fetched objects directly or throws if the response is
not a 200, 304 or 404. |
RiakObject |
PlainClient.fetchMeta(String bucket,
String key,
RequestMeta meta)
Deprecated.
Like
RiakClient.fetchMeta(String, String, RequestMeta) , except it
returns the fetched object metadata directly or throws if the response is
not a 200, 304 or 404. |
RiakBucketInfo |
PlainClient.listBucket(String bucket,
RequestMeta meta)
Deprecated.
Like
RiakClient.listBucket(String, RequestMeta) , except throws on
a non-200 response |
void |
PlainClient.setBucketSchema(String bucket,
RiakBucketInfo bucketInfo,
RequestMeta meta)
Deprecated.
Like
RiakClient.setBucketSchema(String, RiakBucketInfo, RequestMeta) ,
except throws on a non-204 response. |
void |
PlainClient.store(RiakObject object,
RequestMeta meta)
Deprecated.
Like
RiakClient.store(RiakObject, RequestMeta) , except throws on
a non-200 or 204 response and updates the passed in RiakObject
with new metadata from Riak. |
boolean |
PlainClient.stream(String bucket,
String key,
StreamHandler handler,
RequestMeta meta)
Deprecated.
|
List<? extends List<? extends RiakObject>> |
PlainClient.walk(String bucket,
String key,
String walkSpec,
RequestMeta meta)
Deprecated.
Like
RiakClient.walk(String, String, String, RequestMeta) , except
throws on a non-200 or 404 response. |
Modifier and Type | Method and Description |
---|---|
static RequestMeta |
RequestMeta.deleteParams(int rw)
Deprecated.
Use the given rw parameter for delete operations
|
static RequestMeta |
RequestMeta.readParams(int r)
Deprecated.
Use the given r parameter for fetchMeta, fetch, or stream operations
|
RequestMeta |
RequestMeta.setAccept(String contentTypes)
Deprecated.
|
RequestMeta |
RequestMeta.setClientId(String clientId)
Deprecated.
|
RequestMeta |
RequestMeta.setHeader(String key,
String value)
Deprecated.
Add the specified HTTP header
|
RequestMeta |
RequestMeta.setIfMatch(String etags)
Deprecated.
|
RequestMeta |
RequestMeta.setIfMatch(String[] etags)
Deprecated.
|
RequestMeta |
RequestMeta.setIfModifiedSince(Date lastmod)
Deprecated.
|
RequestMeta |
RequestMeta.setIfModifiedSince(String lastmod)
Deprecated.
|
RequestMeta |
RequestMeta.setIfNoneMatch(String etags)
Deprecated.
|
RequestMeta |
RequestMeta.setIfNoneMatch(String[] etags)
Deprecated.
|
RequestMeta |
RequestMeta.setIfUnmodifiedSince(Date lastmod)
Deprecated.
|
RequestMeta |
RequestMeta.setIfUnmodifiedSince(String lastmod)
Deprecated.
|
RequestMeta |
RequestMeta.setQueryParam(String param,
String value)
Deprecated.
Add the given query parameter to the request
|
static RequestMeta |
RequestMeta.writeParams(Integer w,
Integer dw)
Deprecated.
Use the given w and dw params for store or delete operations.
|
Modifier and Type | Method and Description |
---|---|
MapReduceResponse |
MapReduceBuilder.submit(RequestMeta meta)
Deprecated.
Submits the job to the Riak server
|
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.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 |
boolean |
ClientHelper.stream(String bucket,
String key,
StreamHandler handler,
RequestMeta meta)
Deprecated.
Same as
RiakClient , except only returning the HTTP response |
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.