Dongoo
Dongoo

Reputation: 39

Does Aerospike support rank functions?

I am evaluating Aerospike and one of the requirements that i have is the support for rank function (RowNumber , Rank , DenseRank , Ntile). I tried to find it but couldnt succeed.

Can you help me out whether the rank function support is there in Aerospike? if not, How do I implement rank function in Aerospike? Any reference docs will also help.

Upvotes: 0

Views: 67

Answers (2)

Ronen Botzer
Ronen Botzer

Reputation: 7117

The Map data type was extended to support KV_ORDERED operations, aka SortedMap. This was initially added in release 3.8.4 (June 17 2016) and announced GA in release 3.10.0.3 (October 21 2016).

There's a rich map operations API that includes rank functions. The various language clients support map operations.

Upvotes: 0

Ben Bates
Ben Bates

Reputation: 707

no, there is no rank function in the product as of now. You could initiate a scan and do the sorting on the client side perhaps.

Upvotes: 1

Related Questions