ListOperation.GetByValueRelativeRankRange(String, Value, Int32, ListReturnType, CTX[]) Method
Create list get by value relative to rank range operation.
Server selects list items nearest to value and greater by relative rank.
Server 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: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
public static Operation GetByValueRelativeRankRange(
string binName,
Value value,
int rank,
ListReturnType returnType,
params CTX[] ctx
)
- binName String
-
- value Value
-
- rank Int32
-
- returnType ListReturnType
-
- ctx CTX[]
-
Operation