RiakClientDtUpdateMapT Method (String, String, String, 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.")]
public RiakDtMapResult DtUpdateMap<T>(
string bucketType,
string bucket,
string key,
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 :
bucketType : string *
bucket : string *
key : string *
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
[<ObsoleteAttribute("RiakDt is deprecated. Please use Commands/CRDT namespace.")>]
override DtUpdateMap :
bucketType : string *
bucket : string *
key : string *
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
- bucketType
- Type: SystemString
The name of the bucket type containing the bucket. - bucket
- Type: SystemString
The name of the bucket containing the key. - key
- Type: SystemString
The key of the data type object. - 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.
Implements
IRiakBatchClientDtUpdateMapT(String, String, String, SerializeObjectToByteArrayT, Byte, ListRiakDtMapField, ListMapUpdate, RiakDtUpdateOptions)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