Click or drag to resize
UpdateMap Class
Command used to update a Map in Riak. As a convenience, a builder method is provided as well as an object with a fluent API for constructing the update. See UpdateMapMapOperation
var mapOp = new UpdateMap.MapOperation();
mapOp.IncrementCounter("counter_1", 50)
    .AddToSet("set_1", "set_value_1")
    .SetRegister("register_1", "register_value_1")
    .SetFlag("flag_1", true)
    .Map("inner_map")
        .IncrementCounter("counter_1", 50)
        .AddToSet("set_2", "set_value_2");
See UpdateMapBuilder
var update = new UpdateMap.Builder(mapOp)
          .WithBucketType("maps")
          .WithBucket("myBucket")
          .WithKey("map_1")
          .WithReturnBody(true)
          .Build();
Inheritance Hierarchy
SystemObject
  RiakClient.CommandsCommandMapResponse
    RiakClient.CommandsCommandUpdateCommandOptions, MapResponse
      RiakClient.Commands.CRDTUpdateCommandMapResponse
        RiakClient.Commands.CRDTUpdateMap

Namespace:  RiakClient.Commands.CRDT
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
public class UpdateMap : UpdateCommand<MapResponse>

The UpdateMap type exposes the following members.

Constructors
  NameDescription
Public methodUpdateMap
Initializes a new instance of the UpdateMap class.
Top
Properties
Methods
  NameDescription
Public methodConstructRequest (Inherited from UpdateCommandTResponse.)
Protected methodCreateResponse (Overrides UpdateCommandTResponseCreateResponse(DtUpdateResp).)
Public methodDecodeResponse (Inherited from CommandTResponse.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetKey (Inherited from CommandTOptions, TResponse.)
Protected methodGetRequestOp (Overrides UpdateCommandTResponseGetRequestOp.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnSuccess (Inherited from UpdateCommandTResponse.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
See Also