IRiakBatchClientDtUpdateMapT Method (RiakObjectId, SerializeObjectToByteArrayT, Byte, ListRiakDtMapField, ListMapUpdate, RiakDtUpdateOptions) |
Note: This API is now obsolete.
Update a Map Data Type object at the provided address.
Namespace:
RiakClient
Assembly:
RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax [ObsoleteAttribute("RiakDt is deprecated. Please use Commands/CRDT namespace.")]
RiakDtMapResult DtUpdateMap<T>(
RiakObjectId objectId,
SerializeObjectToByteArray<T> serialize,
byte[] context,
List<RiakDtMapField> removes = null,
List<MapUpdate> updates = null,
RiakDtUpdateOptions options = null
)
[<ObsoleteAttribute("RiakDt is deprecated. Please use Commands/CRDT namespace.")>]
abstract DtUpdateMap :
objectId : RiakObjectId *
serialize : SerializeObjectToByteArray<'T> *
context : byte[] *
?removes : List<RiakDtMapField> *
?updates : List<MapUpdate> *
?options : RiakDtUpdateOptions
(* Defaults:
let _removes = defaultArg removes null
let _updates = defaultArg updates null
let _options = defaultArg options null
*)
-> RiakDtMapResult
Parameters
- objectId
- Type: RiakClient.ModelsRiakObjectId
The RiakObjectId of the map to update. - serialize
- Type: RiakClient.ModelsSerializeObjectToByteArrayT
A delegate to serialize the updates and removes operation lists from objects of type T to a byte[]. - context
- Type: SystemByte
The most recent known byte[] data type context for this object, to base this operation off of for causality merging. - removes (Optional)
- Type: System.Collections.GenericListRiakDtMapField
A ListT of RiakDtMapField to specify which fields to remove. - updates (Optional)
- Type: System.Collections.GenericListMapUpdate
A ListT of MapUpdate to specify what updates to perform on the map. - options (Optional)
- Type: RiakClient.ModelsRiakDtUpdateOptions
The RiakDtUpdateOptions responsible for configuring the semantics of this data type update request.
Type Parameters
- T
- The type of the objects being stored in the map.
Return Value
Type:
RiakDtMapResultA
RiakDtMapResult detailing the operation result, current context, and map values.
Exceptions Exception | Condition |
---|
ArgumentNullException | context cannot be null if removing any field from the map, nested maps, or removing any item from nested sets. |
See Also