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 ?