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.
|
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) |
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. |
Constructor and Description |
---|
FetchObject(RawClient client,
String bucket,
String key,
Retrier retrier,
FetchMeta fetchMeta)
Create a new FetchOperation that delegates to the given
client to fetch the data from bucket at
key using retrier |
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) |
Long |
RawClient.fetchCounter(String bucket,
String counter,
FetchMeta meta)
Fetch the value for this counter
|
Long |
ClusterClient.fetchCounter(String bucket,
String counter,
FetchMeta meta) |
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) |
Long |
HTTPClientAdapter.fetchCounter(String Bucket,
String counter,
FetchMeta meta) |
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) |
Long |
PBClientAdapter.fetchCounter(String Bucket,
String counter,
FetchMeta meta) |
RiakResponse |
PBClientAdapter.head(String bucket,
String key,
FetchMeta fm) |
Copyright © 2014. All Rights Reserved.