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.operations |
The interfaces/classes that model the set of operations for talking to Riak.
|
Modifier and Type | Method and Description |
---|---|
FetchObject<IRiakObject> |
DefaultBucket.fetch(String key)
|
FetchObject<IRiakObject> |
Bucket.fetch(String key)
|
<T> FetchObject<T> |
DefaultBucket.fetch(String key,
Class<T> type)
|
<T> FetchObject<T> |
Bucket.fetch(String key,
Class<T> type)
|
<T> FetchObject<T> |
DefaultBucket.fetch(T o)
Creates a
FetchObject operation that returns the data at
o 's annotated RiakKey field as an instance of type
T on execute() . |
<T> FetchObject<T> |
Bucket.fetch(T o)
Creates a
FetchObject operation that returns the data at
o 's annotated RiakKey field as an instance of type
T on execute() . |
Modifier and Type | Method and Description |
---|---|
FetchObject<T> |
FetchObject.basicQuorum(boolean basicQuorum) |
FetchObject<T> |
FetchObject.headOnly()
Causes the client to retrieve only the metadata and not the value
of this object.
|
FetchObject<T> |
FetchObject.ifModified(VClock vclock)
*NOTE* PB Only.
|
FetchObject<T> |
FetchObject.modifiedSince(Date modifiedSince)
*NOTE* HTTP Only.
|
FetchObject<T> |
FetchObject.notFoundOK(boolean notFoundOK) |
FetchObject<T> |
FetchObject.pr(int pr) |
FetchObject<T> |
FetchObject.pr(Quora pr) |
FetchObject<T> |
FetchObject.pr(Quorum pr) |
FetchObject<T> |
FetchObject.r(int r)
The read quorum for this fetch operation
|
FetchObject<T> |
FetchObject.r(Quora r)
The read quorum for this fetch operation
|
FetchObject<T> |
FetchObject.r(Quorum r)
The read quorum for this fetch operation
|
FetchObject<T> |
FetchObject.returnDeletedVClock(boolean returnDeletedVClock) |
FetchObject<T> |
FetchObject.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.
|
FetchObject<T> |
FetchObject.withConverter(Converter<T> converter)
A
Converter to use to convert the data fetched to some other type |
FetchObject<T> |
FetchObject.withResolver(ConflictResolver<T> resolver) |
FetchObject<T> |
FetchObject.withRetrier(Retrier retrier)
A
Retrier to use |
Copyright © 2014. All Rights Reserved.