Create expression that selects map items nearest to value and greater by relative rank with a count limit.
Expression returns selected data specified by returnType.
Namespace: Aerospike.ClientExamples for map [{4=2},{9=10},{5=15},{0=17}]:
- (value,rank,count) = [selected items]
- (11,1,1) = [{0=17}]
- (11,-1,1) = [{9=10}]
Assembly: AerospikeClient (in AerospikeClient.dll) Version: 4.1.1.0 (4.1.1)
Syntax
Parameters
- returnType
- Type: Aerospike.Client MapReturnType
- value
- Type: Aerospike.Client Exp
- rank
- Type: Aerospike.Client Exp
- count
- Type: Aerospike.Client Exp
- bin
- Type: Aerospike.Client Exp
- ctx
- Type: Aerospike.Client CTX
See Also