Package | Description |
---|---|
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 |
Modifier and Type | Method and Description |
---|---|
void |
PlainClient.delete(String bucket,
String key) |
void |
PlainClient.delete(String bucket,
String key,
RequestMeta meta)
Like
RiakClient.delete(String, String, RequestMeta) , except
throws on a non-200 or 404 response. |
RiakObject |
PlainClient.fetch(String bucket,
String key) |
RiakObject |
PlainClient.fetch(String bucket,
String key,
RequestMeta meta)
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) |
Collection<? extends RiakObject> |
PlainClient.fetchAll(String bucket,
String key,
RequestMeta meta)
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) |
RiakObject |
PlainClient.fetchMeta(String bucket,
String key,
RequestMeta meta)
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) |
RiakBucketInfo |
PlainClient.listBucket(String bucket,
RequestMeta meta)
Like
RiakClient.listBucket(String, RequestMeta) , except throws on
a non-200 response |
void |
PlainClient.setBucketSchema(String bucket,
RiakBucketInfo bucketInfo) |
void |
PlainClient.setBucketSchema(String bucket,
RiakBucketInfo bucketInfo,
RequestMeta meta)
Like
RiakClient.setBucketSchema(String, RiakBucketInfo, RequestMeta) ,
except throws on a non-204 response. |
void |
PlainClient.store(RiakObject object) |
void |
PlainClient.store(RiakObject object,
RequestMeta meta)
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. |
List<? extends List<? extends RiakObject>> |
PlainClient.walk(String bucket,
String key,
RiakWalkSpec walkSpec) |
List<? extends List<? extends RiakObject>> |
PlainClient.walk(String bucket,
String key,
String walkSpec) |
List<? extends List<? extends RiakObject>> |
PlainClient.walk(String bucket,
String key,
String walkSpec,
RequestMeta meta)
Like
RiakClient.walk(String, String, String, RequestMeta) , except
throws on a non-200 or 404 response. |
Copyright © 2014. All Rights Reserved.