MapOperation.GetByValueRelativeRankRange(String, Value, Int32, MapReturnType, CTX[]) Method
Create map get by value relative to rank range operation.
Server selects map items nearest to value and greater by relative rank.
Server returns selected data specified by returnType.
Examples for map [{4=2},{9=10},{5=15},{0=17}]:
- (value,rank) = [selected items]
- (11,1) = [{0=17}]
- (11,-1) = [{9=10},{5=15},{0=17}]
Namespace: Aerospike.ClientAssembly: AerospikeClient (in AerospikeClient.dll) Version: 8.0.1+e35566e493546c0887ebb841c8e2a2c6a7cbde18
public static Operation GetByValueRelativeRankRange(
string binName,
Value value,
int rank,
MapReturnType returnType,
params CTX[] ctx
)
- binName String
-
- value Value
-
- rank Int32
-
- returnType MapReturnType
-
- ctx CTX[]
-
Operation