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.bucket |
A bucket is a namespace abstraction provided by Riak, the API uses
Bucket as the primary way to interact
with data stored in Riak. |
com.basho.riak.client.builders |
These builders provide a fluid API for creating instances of some immutable
(or mainly immutable classes) that have a large number of
constructor parameters.
|
com.basho.riak.client.cap |
Classes that are relevant in the face of eventually consistent, fault
tolerant databases (like Riak).
|
com.basho.riak.client.convert |
Classes for converting Riak data into domain specific classes and back.
|
com.basho.riak.client.convert.reflect | |
com.basho.riak.client.operations |
The interfaces/classes that model the set of operations for talking to Riak.
|
com.basho.riak.client.raw |
The raw interfaces/classes exist to provide unified access to any underlying transport clients for Riak
|
com.basho.riak.pbc |
The legacy, low-level Protocol Buffers RiakClient and associated classes, consider using the high-level
IRiakClient |
Modifier and Type | Method and Description |
---|---|
VClock |
IRiakObject.getVClock()
This objects Vector Clock.
|
VClock |
DefaultRiakObject.getVClock() |
Constructor and Description |
---|
DefaultRiakObject(String bucket,
String key,
VClock vclock,
String vtag,
Date lastModified,
String contentType,
byte[] value,
Collection<RiakLink> links,
Map<String,String> userMeta,
RiakIndexes indexes,
boolean isDeleted)
Large number of arguments due to largely immutable nature.
|
Modifier and Type | Method and Description |
---|---|
void |
DomainBucket.delete(String key,
VClock vclock)
Delete the key/value stored at the
key |
Modifier and Type | Method and Description |
---|---|
RiakObjectBuilder |
RiakObjectBuilder.withVClock(VClock vclock)
The new Riak objects vector clock.
|
Modifier and Type | Class and Description |
---|---|
class |
BasicVClock
An implementation of
VClock that wraps a byte[] |
Modifier and Type | Method and Description |
---|---|
static <T> VClock |
VClockUtil.getVClock(T domainObject)
Attempts to get a vector clock from
domainObject by looking for a
RiakVClock annotated field. |
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 |
VClockUtil.setVClock(T domainObject,
VClock vclock)
|
Modifier and Type | Method and Description |
---|---|
<T> VClock |
AnnotationInfo.getRiakVClock(T obj) |
<T> VClock |
AnnotationHelper.getRiakVClock(T obj) |
Modifier and Type | Method and Description |
---|---|
<T> void |
AnnotationInfo.setRiakVClock(T obj,
VClock vclock) |
<T> T |
AnnotationHelper.setRiakVClock(T obj,
VClock vclock) |
Modifier and Type | Method and Description |
---|---|
VClock |
FetchObject.getVClock() |
Modifier and Type | Method and Description |
---|---|
FetchObject<T> |
FetchObject.ifModified(VClock vclock)
*NOTE* PB Only.
|
DeleteObject |
DeleteObject.vclock(VClock vclock)
Provide a vclock to riak for the delete operation.
|
Modifier and Type | Method and Description |
---|---|
VClock |
FetchMeta.getIfModifiedVClock()
The
VClock to use in a conditional fetch with the PB API. |
VClock |
RiakResponse.getVclock()
Get the vector clock as a
VClock |
VClock |
DeleteMeta.getVclock() |
Modifier and Type | Method and Description |
---|---|
FetchMeta.Builder |
FetchMeta.Builder.vclock(VClock vclock) |
DeleteMeta.Builder |
DeleteMeta.Builder.vclock(VClock vclock) |
Constructor and Description |
---|
DeleteMeta(Integer r,
Integer pr,
Integer w,
Integer dw,
Integer pw,
Integer rw,
VClock vclock,
Integer timeout)
Any of the parameters may be null.
|
DeleteMeta(Quorum r,
Quorum pr,
Quorum w,
Quorum dw,
Quorum pw,
Quorum rw,
VClock vclock,
Integer timeout)
Any of the parameters may be null.
|
FetchMeta(Integer r,
Integer pr,
Boolean notFoundOK,
Boolean basicQuorum,
Boolean headOnly,
Boolean returnDeletedVClock,
Date ifModifiedSince,
VClock ifModifiedVClock,
Integer timeout)
Create a fetch meta with the specified parameters for a conditional fetch
with the either API
|
FetchMeta(Quorum r,
Quorum pr,
Boolean notFoundOK,
Boolean basicQuorum,
Boolean headOnly,
Boolean returnDeletedVClock,
Date ifModifiedSince,
VClock ifModifiedVClock,
Integer timeout)
Create a fetch meta with the specified parameters for a conditional fetch
with the either API
|
Constructor and Description |
---|
FetchMeta(Integer r,
Integer pr,
Boolean notFoundOK,
Boolean basicQuorum,
Boolean headOnly,
Boolean returnDeletedVClock,
VClock ifModifiedVClock,
Integer timeout) |
Copyright © 2014. All Rights Reserved.