|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.basho.riak.client.RiakBucketInfo
WARNING: This class will be REMOVED in the next version.
@Deprecated public class RiakBucketInfo
Represents the metadata stored in a bucket including its schema and the list of keys contained in the bucket.
RiakBucketInfo
Constructor Summary | |
---|---|
RiakBucketInfo()
Deprecated. Construct a bucket info to populate for a writeSchema request. |
|
RiakBucketInfo(JSONObject schema,
Collection<String> keys)
Deprecated. Construct a bucket info using the JSON data from a listBucket() response. |
Method Summary | |
---|---|
Boolean |
getAllowMult()
Deprecated. |
String |
getCHashFun()
Deprecated. The chash_keyfun property as <module>:<function> |
Collection<String> |
getKeys()
Deprecated. The object keys in this bucket. |
String |
getLinkFun()
Deprecated. The linkfun property as <module>:<function> |
Integer |
getNVal()
Deprecated. |
JSONObject |
getSchema()
Deprecated. Returns the bucket's properties. |
void |
setAllowMult(boolean allowMult)
Deprecated. Allow siblings to be returned for an object. |
void |
setCHashFun(String mod,
String fun)
Deprecated. Erlang module and name of the function to use to hash object keys. |
void |
setLinkFun(String mod,
String fun)
Deprecated. Erlang module and name of the function to use to walk object links. |
void |
setNVal(int n)
Deprecated. Number of replicas per object in this bucket. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RiakBucketInfo()
public RiakBucketInfo(JSONObject schema, Collection<String> keys)
schema
- The JSON object containing the bucket's schemakeys
- The keys in the bucketMethod Detail |
---|
public JSONObject getSchema()
public Collection<String> getKeys()
public void setAllowMult(boolean allowMult)
public Boolean getAllowMult()
public void setNVal(int n)
public Integer getNVal()
public void setCHashFun(String mod, String fun)
public String getCHashFun()
public void setLinkFun(String mod, String fun)
public String getLinkFun()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |