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.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.request |
Riak request classes for the legacy HTTP REST client, 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 |
com.basho.riak.client.raw.http |
Classes for adapting the http.
RiakClient to the
RawClient interface |
Modifier and Type | Method and Description |
---|---|
static IRiakClient |
RiakFactory.httpClient(RiakClient delegate)
Wraps the given
RiakClient in a DefaultRiakClient |
Modifier and Type | Method and Description |
---|---|
RiakClient |
RiakObject.getRiakClient() |
Modifier and Type | Method and Description |
---|---|
RiakObject |
RiakObject.setRiakClient(RiakClient client) |
StoreResponse |
RiakObject.store(RiakClient riak,
RequestMeta meta) |
Constructor and Description |
---|
RiakObject(RiakClient riak,
String bucket,
String key) |
RiakObject(RiakClient riak,
String bucket,
String key,
byte[] value) |
RiakObject(RiakClient riak,
String bucket,
String key,
byte[] value,
String contentType) |
RiakObject(RiakClient riak,
String bucket,
String key,
byte[] value,
String contentType,
List<RiakLink> links) |
RiakObject(RiakClient riak,
String bucket,
String key,
byte[] value,
String contentType,
List<RiakLink> links,
Map<String,String> userMetaData) |
RiakObject(RiakClient riak,
String bucket,
String key,
byte[] value,
String contentType,
List<RiakLink> links,
Map<String,String> userMetaData,
String vclock,
String lastmod,
String vtag)
Create an empty object.
|
RiakObject(RiakClient riak,
String bucket,
String key,
byte[] value,
String contentType,
List<RiakLink> links,
Map<String,String> userMetaData,
String vclock,
String lastmod,
String vtag,
List<RiakIndex> indexes,
boolean isDeleted)
Create an object.
|
Constructor and Description |
---|
PlainClient(RiakClient riakClient)
The primary constructor.
|
Modifier and Type | Method and Description |
---|---|
RiakClient |
MapReduceBuilder.getRiakClient()
The
RiakClient to which this map reduce job will be submitted to
when MapReduceBuilder.submit() is called. |
Modifier and Type | Method and Description |
---|---|
MapReduceBuilder |
MapReduceBuilder.setRiakClient(RiakClient client) |
Constructor and Description |
---|
MapReduceBuilder(RiakClient riak) |
Constructor and Description |
---|
FetchResponse(HttpResponse r,
RiakClient riak)
On a 2xx response, parse the HTTP response from Riak into a
RiakObject . |
StreamedSiblingsCollection(RiakClient riak,
String bucket,
String key,
StreamedMultipart multipart) |
WalkResponse(HttpResponse r,
RiakClient riak)
On a 2xx response, parses the HTTP body into a list of steps.
|
Modifier and Type | Method and Description |
---|---|
static List<RiakObject> |
ClientUtils.parseMultipart(RiakClient riak,
String bucket,
String key,
Map<String,String> docHeaders,
byte[] docBody)
Convert a multipart/mixed document to a list of
RiakObject s. |
Constructor and Description |
---|
HTTPClientAdapter(RiakClient client)
Create an instance of the adapter that delegates all API calls to
client |
Copyright © 2013. All Rights Reserved.