MapExpRemoveByValueRelativeRankRange(Int32, Exp, Exp, Exp, Exp, CTX) Method

Create expression that removes map items nearest to value and greater by relative rank with a count limit. Valid returnType values are NONE or INVERTED

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}]

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public static Exp RemoveByValueRelativeRankRange(
	int returnType,
	Exp value,
	Exp rank,
	Exp count,
	Exp bin,
	params CTX[] ctx
)

Parameters

returnType  Int32
 
value  Exp
 
rank  Exp
 
count  Exp
 
bin  Exp
 
ctx  CTX
 

Return Value

Exp

See Also