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.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.convert |
Classes for converting Riak data into domain specific classes and back.
|
com.basho.riak.client.convert.reflect | |
com.basho.riak.client.query.indexes |
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 |
---|---|
RiakObjectBuilder |
RiakObjectBuilder.withIndexes(RiakIndexes indexes)
A Collection of
RiakIndex es for the new riak object |
Modifier and Type | Method and Description |
---|---|
RiakIndexes |
RiakIndexConverter.getIndexes(T domainObject) |
Modifier and Type | Method and Description |
---|---|
T |
RiakIndexConverter.populateIndexes(RiakIndexes indexes,
T domainObject) |
Modifier and Type | Method and Description |
---|---|
<T> RiakIndexes |
AnnotationInfo.getIndexes(T obj) |
<T> RiakIndexes |
AnnotationHelper.getIndexes(T obj) |
Modifier and Type | Method and Description |
---|---|
<T> void |
AnnotationInfo.setIndexes(RiakIndexes indexes,
T obj) |
<T> T |
AnnotationHelper.setIndexes(RiakIndexes indexes,
T obj) |
Modifier and Type | Method and Description |
---|---|
RiakIndexes |
RiakIndexes.add(String index,
long value)
Add a new
IntIndex value to the set |
RiakIndexes |
RiakIndexes.add(String index,
String value)
Add a new
BinIndex value to the set |
RiakIndexes |
RiakIndexes.addBinSet(String index,
Set<String> newValues)
Add a new
BinIndex set of values to the set |
RiakIndexes |
RiakIndexes.addIntSet(String index,
Set<? extends Number> newValues)
Add a new set of
IntIndex values to the set |
static RiakIndexes |
RiakIndexes.from(RiakIndexes indexes)
Copy a RiakIndexes to a new instance
|
RiakIndexes |
RiakIndexes.removeAll(BinIndex index)
Remove a
BinIndex |
RiakIndexes |
RiakIndexes.removeAll(IntIndex index)
Remove the IntIndex
|
Modifier and Type | Method and Description |
---|---|
static RiakIndexes |
RiakIndexes.from(RiakIndexes indexes)
Copy a RiakIndexes to a new instance
|
Copyright © 2014. All Rights Reserved.