I need an ordered key-value database (pretty much like LevelDB) for Java. Additionally to the set of features provided by Level DB, I also need the following :

  • Being able to get a keys position in the database.
  • Being able to supply a custom comparator.

Is there any (free, ideally open source) software which matches my needs ?


For my purpose, Redis' sorted sets seem to be fitting (suggestion by someone on Discord) : https://redis.io/topics/data-types

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.