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

Create expression that removes list items nearest to value and greater by relative rank. Valid returnType values are NONE or INVERTED

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

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

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 bin,
	params CTX[] ctx
)

Parameters

returnType  Int32
 
value  Exp
 
rank  Exp
 
bin  Exp
 
ctx  CTX
 

Return Value

Exp

See Also