Create map remove by value relative to rank range operation.
Server removes map items nearest to value and greater by relative rank with a count limit.
Server returns removed data specified by returnType.
Examples for map [{4=2},{9=10},{5=15},{0=17}]:
- (value,rank,count) = [removed items]
- (11,1,1) = [{0=17}]
- (11,-1,1) = [{9=10}]
Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public static Operation RemoveByValueRelativeRankRange( string binName, Value value, int rank, int count, MapReturnType returnType, params CTX[] ctx )
Parameters
- binName
- Type: SystemString
- value
- Type: Aerospike.ClientValue
- rank
- Type: SystemInt32
- count
- Type: SystemInt32
- returnType
- Type: Aerospike.ClientMapReturnType
- ctx
- Type: Aerospike.ClientCTX
Return Value
Type: OperationSee Also