Package | Description |
---|---|
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.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.
|
Constructor and Description |
---|
DomainBucket(Bucket bucket,
ConflictResolver<T> resolver,
Converter<T> converter,
MutationProducer<T> mutationProducer,
StoreMeta storeMeta,
FetchMeta fetchMeta,
DeleteMeta deleteMeta,
Class<T> clazz,
Retrier retrier) |
DomainBucket(Bucket bucket,
ConflictResolver<T> resolver,
Converter<T> converter,
MutationProducer<T> mutationProducer,
StoreMeta storeMeta,
FetchMeta fetchMeta,
DeleteMeta deleteMeta,
Class<T> clazz,
Retrier retrier,
boolean withoutFetch)
Create a new
DomainBucket for clazz Class objects
wrapped around bucket
It is recommended to use the DomainBucketBuilder rather than this
constructor. |
Modifier and Type | Method and Description |
---|---|
DomainBucketBuilder<T> |
DomainBucketBuilder.withConverter(Converter<T> converter)
The
Converter to use on fetch and store operations on the built DomainBucket |
Modifier and Type | Class and Description |
---|---|
class |
JSONConverter<T>
Converts a RiakObject's value to an instance of T.
|
class |
PassThroughConverter
For working with
IRiakObject rather than domain types. |
Modifier and Type | Method and Description |
---|---|
StoreObject<T> |
StoreObject.withConverter(Converter<T> converter)
The
Converter to use |
MultiFetchObject<T> |
MultiFetchObject.withConverter(Converter<T> converter)
A
Converter to use to convert the data fetched to some other type |
FetchObject<T> |
FetchObject.withConverter(Converter<T> converter)
A
Converter to use to convert the data fetched to some other type |
Copyright © 2014. All Rights Reserved.