MapOperationIncrement Method

Aerospike
Create map increment operation. Server increments values by incr for all items identified by key and returns final result. Valid only for numbers.

The required map policy dictates the type of map to create when it does not exist. The map policy also specifies the mode used when writing items to the map. See policy MapPolicy and write mode MapWriteMode.

Namespace:  Aerospike.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
public static Operation Increment(
	MapPolicy policy,
	string binName,
	Value key,
	Value incr,
	params CTX[] ctx
)

Parameters

policy
Type: Aerospike.ClientMapPolicy
binName
Type: SystemString
key
Type: Aerospike.ClientValue
incr
Type: Aerospike.ClientValue
ctx
Type: Aerospike.ClientCTX

Return Value

Type: Operation
See Also

Reference