ListExpRemoveByValueRelativeRankRange Method (Exp, Exp, Exp, Exp, CTX)

Aerospike
Create expression that removes list items nearest to value and greater by relative rank with a count limit.

Examples for ordered list [0,4,5,9,11,15]:

  • (value,rank,count) = [removed items]
  • (5,0,2) = [5,9]
  • (5,1,1) = [9]
  • (5,-1,2) = [4,5]
  • (3,0,1) = [4]
  • (3,3,7) = [11,15]
  • (3,-3,2) = []

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

C#
public static Exp RemoveByValueRelativeRankRange(
	Exp value,
	Exp rank,
	Exp count,
	Exp bin,
	params CTX[] ctx
)

Parameters

value
Type: Aerospike.ClientExp
rank
Type: Aerospike.ClientExp
count
Type: Aerospike.ClientExp
bin
Type: Aerospike.ClientExp
ctx
Type: Aerospike.ClientCTX

Return Value

Type: Exp
See Also

Reference