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.
|
com.basho.riak.client.query.functions |
Functions that can be used in Map/Reduce and also for bucket properties (things like chash_key, pre/post-commit etc.)
|
Modifier and Type | Method and Description |
---|---|
Collection<NamedFunction> |
LazyBucketProperties.getPrecommitHooks() |
Collection<NamedFunction> |
DefaultBucketProperties.getPrecommitHooks() |
Collection<NamedFunction> |
DefaultBucket.getPrecommitHooks() |
Collection<NamedFunction> |
BucketProperties.getPrecommitHooks()
The set of precommit_hooks for this bucket.
|
Modifier and Type | Method and Description |
---|---|
WriteBucket |
WriteBucket.addPrecommitHook(NamedFunction preCommitHook)
Add a precommit hook to the Collection of hooks to be written.
|
Modifier and Type | Method and Description |
---|---|
WriteBucket |
WriteBucket.precommitHooks(Collection<NamedFunction> precommitHooks)
A Collection of precommit hooks for this bucket
|
Constructor and Description |
---|
DefaultBucketProperties(Boolean allowSiblings,
Boolean lastWriteWins,
Integer nVal,
String backend,
VClockPruneProps vclockProps,
Collection<NamedFunction> precommitHooks,
Collection<NamedErlangFunction> postcommitHooks,
TunableCAPProps capProps,
NamedErlangFunction chashKeyFunction,
NamedErlangFunction linkWalkFunction,
Boolean search)
Use the Builder
BucketPropertiesBuilder instead of calling this constructor directly |
Modifier and Type | Method and Description |
---|---|
BucketPropertiesBuilder |
BucketPropertiesBuilder.addPrecommitHook(NamedFunction preCommitHook) |
Modifier and Type | Method and Description |
---|---|
BucketPropertiesBuilder |
BucketPropertiesBuilder.precommitHooks(Collection<NamedFunction> precommitHooks) |
Modifier and Type | Class and Description |
---|---|
class |
NamedErlangFunction
Models a named erlang function.
|
class |
NamedJSFunction
A named function that is a JS built in function.
|
Copyright © 2014. All Rights Reserved.