Package | Description |
---|---|
com.basho.riak.client.convert |
Classes for converting Riak data into domain specific classes and back.
|
com.basho.riak.client.operations |
The interfaces/classes that model the set of operations for talking to Riak.
|
com.basho.riak.client.query |
Classes and interfaces for running map/reduce and link walk operations on
Riak.
|
com.basho.riak.client.raw.pbc |
Classes for adapting the pbc.
RiakClient to the
RawClient interface |
Modifier and Type | Method and Description |
---|---|
IRiakObject |
PassThroughConverter.fromDomain(IRiakObject domainObject,
VClock vclock) |
IRiakObject |
JSONConverter.fromDomain(T domainObject,
VClock vclock)
Converts
domainObject to a JSON string and sets that as the
payload of a IRiakObject . |
IRiakObject |
Converter.fromDomain(T domainObject,
VClock vclock)
Convert from domain specific type to RiakObject
|
static <T> T |
KeyUtil.setKey(T domainObject,
String key)
|
static <T> T |
TombstoneUtil.setTombstone(T domainObject,
boolean isTombstone)
|
static <T> T |
VClockUtil.setVClock(T domainObject,
VClock vclock)
|
IRiakObject |
PassThroughConverter.toDomain(IRiakObject riakObject) |
T |
JSONConverter.toDomain(IRiakObject riakObject)
Converts the
value of riakObject to an instance
of T . |
T |
Converter.toDomain(IRiakObject riakObject)
Convert from a riakObject to a domain specific instance
|
Modifier and Type | Method and Description |
---|---|
T |
StoreObject.execute()
Fetches data from
bucket/key , if item exists it is converted
with Converter and any siblings resolved with
ConflictResolver . |
T |
FetchObject.execute()
Attempts to fetch the data at
bucket/key , convert it with
Converter and resolve any siblings with ConflictResolver |
Modifier and Type | Method and Description |
---|---|
<T> Collection<T> |
MapReduceResult.getResult(Class<T> resultType)
Mapped results to a simple java type, can be a Collection type (Map, List
etc) or a Java Bean style class.
|
Modifier and Type | Method and Description |
---|---|
<T> Collection<T> |
PBMapReduceResult.getResult(Class<T> resultType) |
Copyright © 2014. All Rights Reserved.