MapOperationGetByValueRelativeRankRange Method (String, Value, Int32, MapReturnType, CTX)

Aerospike
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.Client
Assembly:  AerospikeClient (in AerospikeClient.dll) Version: 5.1.1.0 (5.1.1)
Syntax

C#
public static Operation GetByValueRelativeRankRange(
	string binName,
	Value value,
	int rank,
	MapReturnType returnType,
	params CTX[] ctx
)

Parameters

binName
Type: SystemString
value
Type: Aerospike.ClientValue
rank
Type: SystemInt32
returnType
Type: Aerospike.ClientMapReturnType
ctx
Type: Aerospike.ClientCTX

Return Value

Type: Operation
See Also

Reference