MapExpRemoveByKeyRelativeIndexRange Method (Exp, Exp, Exp, Exp, CTX)

Aerospike
Create expression that removes map items nearest to key and greater by index with a count limit.

Examples for map [{0=17},{4=2},{5=15},{9=10}]:

  • (value,index,count) = [removed items]
  • (5,0,1) = [{5=15}]
  • (5,1,2) = [{9=10}]
  • (5,-1,1) = [{4=2}]
  • (3,2,1) = [{9=10}]
  • (3,-2,2) = [{0=17}]

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

C#
public static Exp RemoveByKeyRelativeIndexRange(
	Exp key,
	Exp index,
	Exp count,
	Exp bin,
	params CTX[] ctx
)

Parameters

key
Type: Aerospike.ClientExp
index
Type: Aerospike.ClientExp
count
Type: Aerospike.ClientExp
bin
Type: Aerospike.ClientExp
ctx
Type: Aerospike.ClientCTX

Return Value

Type: Exp
See Also

Reference