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.
|
Modifier and Type | Method and Description |
---|---|
static <T> DomainBucketBuilder<T> |
DomainBucket.builder(Bucket b,
Class<T> clazz)
Factory method to create a new
DomainBucketBuilder for the given Bucket and Class. |
Modifier and Type | Method and Description |
---|---|
DomainBucketBuilder<T> |
DomainBucketBuilder.basicQuorum(boolean basicQuorum) |
DomainBucketBuilder<T> |
DomainBucketBuilder.dw(int dw)
The durable write quorum for store operations on the built
DomainBucket |
DomainBucketBuilder<T> |
DomainBucketBuilder.dw(Quora dw)
The durable write quorum for store operations on the built
DomainBucket |
DomainBucketBuilder<T> |
DomainBucketBuilder.ifNoneMatch(boolean ifNoneMatch) |
DomainBucketBuilder<T> |
DomainBucketBuilder.ifNotModified(boolean ifNotModified) |
DomainBucketBuilder<T> |
DomainBucketBuilder.mutationProducer(MutationProducer<T> mutationProducer)
A
MutationProducer to provide the Mutation to use in store operations. |
DomainBucketBuilder<T> |
DomainBucketBuilder.notFoundOK(boolean notFoundOK) |
DomainBucketBuilder<T> |
DomainBucketBuilder.pr(int pr) |
DomainBucketBuilder<T> |
DomainBucketBuilder.pr(Quora pr) |
DomainBucketBuilder<T> |
DomainBucketBuilder.pw(int pw) |
DomainBucketBuilder<T> |
DomainBucketBuilder.pw(Quora pw) |
DomainBucketBuilder<T> |
DomainBucketBuilder.r(int r)
The read quorum for fetch/store operations on the built
DomainBucket |
DomainBucketBuilder<T> |
DomainBucketBuilder.r(Quora r)
The read quorum for fetch/store operations on the built
DomainBucket |
DomainBucketBuilder<T> |
DomainBucketBuilder.retrier(Retrier retrier)
The
Retrier to use on operations on the built DomainBucket |
DomainBucketBuilder<T> |
DomainBucketBuilder.returnBody(boolean returnBody)
Should store operations on the built
DomainBucket return a body? |
DomainBucketBuilder<T> |
DomainBucketBuilder.returnDeletedVClock(boolean returnDeletedVClock) |
DomainBucketBuilder<T> |
DomainBucketBuilder.rw(int rw)
The read write quorum for delete operations on the built
DomainBucket |
DomainBucketBuilder<T> |
DomainBucketBuilder.rw(Quora rw)
The read write quorum for delete operations on the built
DomainBucket |
DomainBucketBuilder<T> |
DomainBucketBuilder.timeout(int timeout)
Set an operation timeout in milliseconds to be sent to Riak
As of 1.4 Riak allows a timeout to be sent for get, put, and delete operations.
|
DomainBucketBuilder<T> |
DomainBucketBuilder.w(int w)
The write quorum for store operations on the built
DomainBucket |
DomainBucketBuilder<T> |
DomainBucketBuilder.w(Quora w)
The write quorum for store operations on the built
DomainBucket |
DomainBucketBuilder<T> |
DomainBucketBuilder.withConverter(Converter<T> converter)
The
Converter to use on fetch and store operations on the built DomainBucket |
DomainBucketBuilder<T> |
DomainBucketBuilder.withoutFetch(boolean withoutFetch)
Sets whether a store operation should fetch existing value(s) from Riak
(and the vector clock) and perform conflict resolution if required.
|
DomainBucketBuilder<T> |
DomainBucketBuilder.withResolver(ConflictResolver<T> resolver)
the
ConflictResolver the DomainBucket will use. |
Copyright © 2014. All Rights Reserved.