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.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 |
---|---|
RiakObject |
RiakObject.addLink(RiakLink link)
Deprecated.
Add link to this RiakObject's links.
|
RiakObject |
RiakObject.addUsermetaItem(String key,
String value)
Deprecated.
Adds the key, value to the collection of user meta for this object.
|
RiakObject |
RiakObject.removeLink(RiakLink link)
Deprecated.
Remove a
RiakLink from this RiakObject. |
RiakObject |
RiakObject.setRiakClient(RiakClient client)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
RiakObject.copyData(RiakObject object)
Deprecated.
Copy the metadata and value from
object . |
StoreResponse |
RiakClient.store(RiakObject object)
Deprecated.
|
StoreResponse |
RiakClient.store(RiakObject object,
RequestMeta meta)
Deprecated.
Store a
RiakObject . |
Modifier and Type | Method and Description |
---|---|
RiakObject |
PlainClient.fetch(String bucket,
String key)
Deprecated.
|
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. |
RiakObject |
PlainClient.fetchMeta(String bucket,
String key)
Deprecated.
|
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. |
Modifier and Type | Method and Description |
---|---|
Collection<? extends RiakObject> |
PlainClient.fetchAll(String bucket,
String key)
Deprecated.
|
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. |
List<? extends List<? extends RiakObject>> |
PlainClient.walk(String bucket,
String key,
RiakWalkSpec walkSpec)
Deprecated.
|
List<? extends List<? extends RiakObject>> |
PlainClient.walk(String bucket,
String key,
String walkSpec)
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 |
---|---|
void |
PlainClient.store(RiakObject object)
Deprecated.
|
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. |
Modifier and Type | Method and Description |
---|---|
MapReduceBuilder |
MapReduceBuilder.setRiakObjects(Collection<RiakObject> objects)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
RiakObject |
WithBodyResponse.getObject()
Deprecated.
|
RiakObject |
StoreResponse.getObject()
Deprecated.
|
RiakObject |
FetchResponse.getObject()
Deprecated.
Returns the first Riak object contained in the response.
|
Modifier and Type | Method and Description |
---|---|
Collection<RiakObject> |
WithBodyResponse.getSiblings()
Deprecated.
|
Collection<RiakObject> |
StoreResponse.getSiblings()
Deprecated.
|
Collection<RiakObject> |
FetchResponse.getSiblings()
Deprecated.
Returns a collection of the Riak objects contained in the response.
|
List<? extends List<RiakObject>> |
WalkResponse.getSteps()
Deprecated.
Steps accumulated from link walking.
|
Modifier and Type | Method and Description |
---|---|
void |
FetchResponse.setObject(RiakObject object)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static List<RiakObject> |
ClientUtils.parseMultipart(RiakClient riak,
String bucket,
String key,
Map<String,String> docHeaders,
byte[] docBody)
Deprecated.
Convert a multipart/mixed document to a list of
RiakObject s. |
Modifier and Type | Method and Description |
---|---|
HttpResponse |
ClientHelper.store(RiakObject object,
RequestMeta meta)
Deprecated.
Same as
RiakClient , except only returning the HTTP response |
Copyright © 2014. All Rights Reserved.