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.)
|
com.basho.riak.client.query.serialize |
Classes for serializing query functions to JSON, used internally.
|
com.basho.riak.client.raw.http |
Classes for adapting the http.
RiakClient to the
RawClient interface |
Modifier and Type | Method and Description |
---|---|
NamedErlangFunction |
LazyBucketProperties.getChashKeyFunction() |
NamedErlangFunction |
DefaultBucketProperties.getChashKeyFunction() |
NamedErlangFunction |
DefaultBucket.getChashKeyFunction() |
NamedErlangFunction |
BucketProperties.getChashKeyFunction()
The chash_keyfun for this bucket.
|
NamedErlangFunction |
LazyBucketProperties.getLinkWalkFunction() |
NamedErlangFunction |
DefaultBucketProperties.getLinkWalkFunction() |
NamedErlangFunction |
DefaultBucket.getLinkWalkFunction() |
NamedErlangFunction |
BucketProperties.getLinkWalkFunction()
The linkwalk_fun for this bucket.
|
Modifier and Type | Method and Description |
---|---|
Collection<NamedErlangFunction> |
LazyBucketProperties.getPostcommitHooks() |
Collection<NamedErlangFunction> |
DefaultBucketProperties.getPostcommitHooks() |
Collection<NamedErlangFunction> |
DefaultBucket.getPostcommitHooks() |
Collection<NamedErlangFunction> |
BucketProperties.getPostcommitHooks()
The set of postcommit hooks for this bucket.
|
Modifier and Type | Method and Description |
---|---|
WriteBucket |
WriteBucket.addPostcommitHook(NamedErlangFunction postcommitHook)
Add a postcommit hook to the Collection of post commit hooks for the bucket to written.
|
WriteBucket |
WriteBucket.chashKeyFunction(NamedErlangFunction chashKeyFunction)
Set the chash_key_fun on the bucket to be written
|
WriteBucket |
WriteBucket.linkWalkFunction(NamedErlangFunction linkWalkFunction)
Set the link_walk_fun used by Riak on the bucket to be written.
|
Modifier and Type | Method and Description |
---|---|
WriteBucket |
WriteBucket.postcommitHooks(Collection<NamedErlangFunction> postCommitHooks)
Add a collection of postcommit hooks to the bucket to be written.
|
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 |
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.addPostcommitHook(NamedErlangFunction postcommitHook) |
BucketPropertiesBuilder |
BucketPropertiesBuilder.chashKeyFunction(NamedErlangFunction chashKeyFunction) |
BucketPropertiesBuilder |
BucketPropertiesBuilder.linkWalkFunction(NamedErlangFunction linkWalkFunction) |
Modifier and Type | Method and Description |
---|---|
BucketPropertiesBuilder |
BucketPropertiesBuilder.postcommitHooks(Collection<NamedErlangFunction> postCommitHooks) |
Modifier and Type | Field and Description |
---|---|
static NamedErlangFunction |
NamedErlangFunction.SEARCH_PRECOMMIT_HOOK
The riak_search precommit hook
|
static NamedErlangFunction |
NamedErlangFunction.STD_CHASH_FUN
The default chash_keyfun
|
static NamedErlangFunction |
NamedErlangFunction.STD_LINK_FUN
The default link fun
|
Constructor and Description |
---|
NamedErlangFunctionWriter(NamedErlangFunction function,
com.fasterxml.jackson.core.JsonGenerator jsonGenerator) |
Modifier and Type | Method and Description |
---|---|
NamedErlangFunction |
NamedErlangFunctionDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.databind.DeserializationContext ctxt) |
Copyright © 2014. All Rights Reserved.