[#109] Exploratory work for providing map interface on top of datalevin #200
+604
−5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is exploratory work.
So far it can live outside datalevin.
Once it's fully implemented, I think it should be part of datalevin because it can be plugged in into existing API's that support Map.
It can also provide a way for users to use datalevin with an API that is familiar with them - java.util.Map (opinion).
Will see how it evolves over time, planning to use it in some private code.
It can also serve as an example on how to implement some functionality on top of datalevin.
For example, I don't know yet how to implement clear, size, values methods on top of LMDB/datalevin.
Fixes #109