public static class UpdateSet.Builder extends UpdateDatatype.Builder<UpdateSet.Builder>
| Constructor and Description |
|---|
UpdateSet.Builder(Location location,
SetUpdate update)
Construct a Builder for an UpdateSet command.
|
UpdateSet.Builder(Namespace namespace,
SetUpdate update)
Constructs a builder for an UpdateSet command with only a Namespace.
|
| Modifier and Type | Method and Description |
|---|---|
UpdateSet |
build()
Construct a new UpdateSet command.
|
protected UpdateSet.Builder |
self() |
withContext, withOption, withReturnDatatype, withTimeoutpublic UpdateSet.Builder(Location location, SetUpdate update)
location - the location of the set in Riak.update - the update to apply to the set.public UpdateSet.Builder(Namespace namespace, SetUpdate update)
By providing only a Namespace with the update, Riak will create the set, generate the key, and return it in the response.
namespace - the namespace to create the datatype.update - the update to applyUpdateDatatype.Response.getGeneratedKey()public UpdateSet build()
build in class UpdateDatatype.Builder<UpdateSet.Builder>protected UpdateSet.Builder self()
self in class UpdateDatatype.Builder<UpdateSet.Builder>Copyright © 2016. All rights reserved.