Create expression that selects map items nearest to value and greater by relative rank.
Expression 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.Client
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax
C#
public static Exp GetByValueRelativeRankRange( MapReturnType returnType, Exp value, Exp rank, Exp bin, params CTX[] ctx )
Parameters
- returnType
- Type: Aerospike.ClientMapReturnType
- value
- Type: Aerospike.ClientExp
- rank
- Type: Aerospike.ClientExp
- bin
- Type: Aerospike.ClientExp
- ctx
- Type: Aerospike.ClientCTX
Return Value
Type: ExpSee Also