ListExpGetByValueRelativeRankRange(ListReturnType, Exp, Exp, Exp, CTX) Method
Create expression that selects list items nearest to value and greater by relative rank
and returns selected data specified by returnType.
Examples for ordered list [0,4,5,9,11,15]:
- (value,rank) = [selected 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]
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
public static Exp GetByValueRelativeRankRange(
ListReturnType returnType,
Exp value,
Exp rank,
Exp bin,
params CTX[] ctx
)
- returnType ListReturnType
-
- value Exp
-
- rank Exp
-
- bin Exp
-
- ctx CTX
-
Exp