|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RiakObjectBuilder | |
---|---|
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. |
Uses of RiakObjectBuilder in com.basho.riak.client.builders |
---|
Methods in com.basho.riak.client.builders that return RiakObjectBuilder | |
---|---|
RiakObjectBuilder |
RiakObjectBuilder.addIndex(String index,
int value)
Add a RiakIndex to the new riak object's collection. |
RiakObjectBuilder |
RiakObjectBuilder.addIndex(String index,
String value)
Add a RiakIndex to the new riak object's collection. |
RiakObjectBuilder |
RiakObjectBuilder.addLink(String bucket,
String key,
String tag)
Add a RiakLink to the new riak object's collection. |
RiakObjectBuilder |
RiakObjectBuilder.addUsermeta(String key,
String value)
Add an item of user meta data to the collection for the new Riak object. |
static RiakObjectBuilder |
RiakObjectBuilder.from(IRiakObject o)
Creates a builder prepopulated from the give IRiakObject . |
static RiakObjectBuilder |
RiakObjectBuilder.newBuilder(String bucket,
String key)
Static factory method |
RiakObjectBuilder |
RiakObjectBuilder.withContentType(String contentType)
The content-type of the data payload of the new Riak object. |
RiakObjectBuilder |
RiakObjectBuilder.withIndexes(RiakIndexes indexes)
A Collection of RiakIndex es for the new riak object |
RiakObjectBuilder |
RiakObjectBuilder.withLastModified(long lastModified)
A long timestamp of milliseconds since the epoch to set as
the last modified date on this Riak object |
RiakObjectBuilder |
RiakObjectBuilder.withLinks(Collection<RiakLink> links)
A Collection of RiakLink s for the new riak object |
RiakObjectBuilder |
RiakObjectBuilder.withUsermeta(Map<String,String> usermeta)
A map of user meta data to set on the new riak object. |
RiakObjectBuilder |
RiakObjectBuilder.withValue(byte[] value)
The value to give the constructed riak object |
RiakObjectBuilder |
RiakObjectBuilder.withValue(String value)
Convenience method assumes a UTF-8 encoded string |
RiakObjectBuilder |
RiakObjectBuilder.withVClock(byte[] vclock)
The vector clock value for the constructed riak object |
RiakObjectBuilder |
RiakObjectBuilder.withVClock(VClock vclock)
The new Riak objects vector clock. |
RiakObjectBuilder |
RiakObjectBuilder.withVtag(String vtag)
The version tag for this riak object |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |