public interface BucketProperties
Depending on what the underlying transport exposes some of these values will be null. I'm working on (a) updating the low-level clients to return all available values and (b) updating Riak's protocol buffers interface to return all the bucket properties.
Modifier and Type | Method and Description |
---|---|
Boolean |
getAllowSiblings()
The allow_mult value for the bucket.
|
String |
getBackend()
The backend used by this bucket.
|
Boolean |
getBasicQuorum()
Should a read request return early in some failure cases?
E.g.
|
Integer |
getBigVClock()
the big_vclock property for this bucket.
|
NamedErlangFunction |
getChashKeyFunction()
The chash_keyfun for this bucket.
|
Quorum |
getDW()
The default
dw quorum for this bucket. |
Boolean |
getLastWriteWins()
The last_write_wins value for the bucket.
|
NamedErlangFunction |
getLinkWalkFunction()
The linkwalk_fun for this bucket.
|
Boolean |
getNotFoundOK()
True if a vnode returning notfound for a key increments the r tally.
|
Integer |
getNVal()
This bucket's n_val.
|
Long |
getOldVClock()
the old_vclock property for this bucket.
|
Collection<NamedErlangFunction> |
getPostcommitHooks()
The set of postcommit hooks for this bucket.
|
Quorum |
getPR()
The default
pr quorum for this bucket. |
Collection<NamedFunction> |
getPrecommitHooks()
The set of precommit_hooks for this bucket.
|
Quorum |
getPW()
The default
pw quorum for this bucket. |
Quorum |
getR()
The default
r quorum for this bucket. |
Quorum |
getRW()
The default
rw quorum for this bucket. |
Boolean |
getSearch()
The search property
|
Integer |
getSmallVClock()
the small_vclock property for this bucket.
|
Quorum |
getW()
The default
w quorum for this bucket. |
Long |
getYoungVClock()
The young_vclcok property for this bucket.
|
boolean |
isSearchEnabled()
Is search enabled on this bucket
|
Boolean getAllowSiblings()
Boolean getLastWriteWins()
Integer getNVal()
String getBackend()
Integer getSmallVClock()
Integer getBigVClock()
Long getYoungVClock()
Long getOldVClock()
Collection<NamedFunction> getPrecommitHooks()
Collection<NamedErlangFunction> getPostcommitHooks()
Quorum getR()
r
quorum for this bucket.Quorum getW()
w
quorum for this bucket.Quorum getRW()
rw
quorum for this bucket.Quorum getDW()
dw
quorum for this bucket.Quorum getPR()
pr
quorum for this bucket.Quorum getPW()
pw
quorum for this bucket.Boolean getBasicQuorum()
Boolean getNotFoundOK()
NamedErlangFunction getChashKeyFunction()
NamedErlangFunction getLinkWalkFunction()
Boolean getSearch()
boolean isSearchEnabled()
Copyright © 2013. All Rights Reserved.