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.raw |
The raw interfaces/classes exist to provide unified access to any underlying transport clients for Riak
|
com.basho.riak.client.raw.http |
Classes for adapting the http.
RiakClient to the
RawClient interface |
com.basho.riak.client.raw.pbc |
Classes for adapting the pbc.
RiakClient to the
RawClient interface |
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)
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 |
---|---|
FetchMeta |
FetchMeta.Builder.build() |
static FetchMeta |
FetchMeta.head() |
static FetchMeta |
FetchMeta.withR(int readQuorum)
Convenient way to create a fetch meta with just an r value
|
Modifier and Type | Method and Description |
---|---|
RiakResponse |
RawClient.fetch(String bucket,
String key,
FetchMeta fetchMeta)
Fetch data from the given
bucket/key with
fetchMeta |
RiakResponse |
ClusterClient.fetch(String bucket,
String key,
FetchMeta fetchMeta) |
static FetchMeta.Builder |
FetchMeta.Builder.from(FetchMeta fm) |
RiakResponse |
RawClient.head(String bucket,
String key,
FetchMeta fetchMeta)
Fetch only the meta-data from
bucket/key |
RiakResponse |
ClusterClient.head(String bucket,
String key,
FetchMeta fetchMeta) |
Modifier and Type | Method and Description |
---|---|
RiakResponse |
HTTPClientAdapter.fetch(String bucket,
String key,
FetchMeta fetchMeta) |
RiakResponse |
HTTPClientAdapter.head(String bucket,
String key,
FetchMeta fetchMeta)
NOTE: returns the values *if* siblings are present
|
Modifier and Type | Method and Description |
---|---|
RiakResponse |
PBClientAdapter.fetch(String bucket,
String key,
FetchMeta fetchMeta) |
RiakResponse |
PBClientAdapter.head(String bucket,
String key,
FetchMeta fm) |
Copyright © 2012. All Rights Reserved.