MapOperation GetByKeyRelativeIndexRange Method (String, Value, Int32, MapReturnType,  CTX )Aerospike
Create map get by key relative to index range operation. Server selects map items nearest to key and greater by index. Server returns selected data specified by returnType.

Examples for ordered map [{0=17},{4=2},{5=15},{9=10}]:

  • (value,index) = [selected items]
  • (5,0) = [{5=15},{9=10}]
  • (5,1) = [{9=10}]
  • (5,-1) = [{4=2},{5=15},{9=10}]
  • (3,2) = [{9=10}]
  • (3,-2) = [{0=17},{4=2},{5=15},{9=10}]

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 3.9.13.0 (3.9.13)
Syntax

Parameters

binName
Type: System String
key
Type: Aerospike.Client Value
index
Type: System Int32
returnType
Type: Aerospike.Client MapReturnType
ctx
Type:  Aerospike.Client CTX 
See Also