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