MapExpGetByKeyRelativeIndexRange(MapReturnType, Exp, Exp, Exp, CTX) Method

Create expression that selects map items nearest to key and greater by index. Expression 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}]

Definition

Namespace: Aerospike.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 7.0.1
C#
public static Exp GetByKeyRelativeIndexRange(
	MapReturnType returnType,
	Exp key,
	Exp index,
	Exp bin,
	params CTX[] ctx
)

Parameters

returnType  MapReturnType
 
key  Exp
 
index  Exp
 
bin  Exp
 
ctx  CTX
 

Return Value

Exp

See Also