IRiakClient
and IRiakObject
classes required to store data
in Riak, start here.See: Description
Interface | Description |
---|---|
IRiakClient |
Primary high-level interface for accessing Riak.
|
IRiakObject |
Represents the data and meta data stored in Riak at a bucket/key.
|
Class | Description |
---|---|
DefaultRiakClient |
The default implementation of IRiakClient.
|
DefaultRiakObject |
The default implementation of
IRiakObject |
IndexEntry | |
RiakBucketInfo | 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.
|
RiakClient | 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.
|
RiakConfig | 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.
|
RiakFactory |
A factory for getting an IRiakClient implementation wrapping the
RawClient of your choice. |
RiakLink |
Models a link from one object to another in Riak.
|
RiakObject | 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.
|
Exception | Description |
---|---|
NoFactoryForConfigException |
RuntimeException thrown by RiakFactory if it is unable to
find a RiakClientFactory to create a client for the given
configuration. |
RiakException | |
RiakRetryFailedException |
IRiakClient
and IRiakObject
classes required to store data
in Riak, start here.
Riak is a Dynamo-style, distributed key-value store that can be queried via Map/Reduce. Riak exposes both an HTTP REST interface and a Protocol Buffers interface. This library provides an abstract, high-level, transport agnostic interface to Riak.
In order to use the client you first need an instance of one of the two
legacy, transport specific clients http.
RiakClient
or pbc.
RiakClient
which is then wrapped as an
IRiakClient
.
RiakFactory
provides convenient methods for
this:
If you are running Riak locally using the default ports simply call
IRiakClient client = RiakFactory.pbcClient(yourPBClient);
Or
IRiakClient client = RiakFactory.httpClient()
Configuration of the low-level clients is coming soon to the API.
IRiakClient client = RiakFactory.pbcClient()
Copyright © 2014. All Rights Reserved.