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) |
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 |
---|---|
StoreMeta |
StoreMeta.Builder.build() |
static StoreMeta |
StoreMeta.empty() |
StoreMeta |
StoreMeta.etags(String[] etags)
Optional supporting data for ifNoneMatch for the HTTP API
|
static StoreMeta |
StoreMeta.headOnly() |
StoreMeta |
StoreMeta.lastModified(Date lastModified)
Optional supporting parameter for ifNotModified for the HTTP API
|
Modifier and Type | Method and Description |
---|---|
Long |
RawClient.incrementCounter(String bucket,
String counter,
long increment,
StoreMeta meta)
Increments a counter by the specified increment
|
Long |
ClusterClient.incrementCounter(String bucket,
String counter,
long increment,
StoreMeta meta) |
RiakResponse |
RawClient.store(IRiakObject object,
StoreMeta storeMeta)
Store the given
IRiakObject in Riak at the location
bucket/key |
RiakResponse |
ClusterClient.store(IRiakObject object,
StoreMeta storeMeta) |
Modifier and Type | Method and Description |
---|---|
Long |
HTTPClientAdapter.incrementCounter(String bucket,
String counter,
long increment,
StoreMeta meta) |
RiakResponse |
HTTPClientAdapter.store(IRiakObject object,
StoreMeta storeMeta) |
Modifier and Type | Method and Description |
---|---|
Long |
PBClientAdapter.incrementCounter(String bucket,
String counter,
long increment,
StoreMeta meta) |
RiakResponse |
PBClientAdapter.store(IRiakObject riakObject,
StoreMeta storeMeta) |
Copyright © 2014. All Rights Reserved.