Are they any decent on-disk implementations of Java's Map?

前端 未结 6 1481
天涯浪人
天涯浪人 2020-12-03 08:27

I\'m looking for an on-disk implementation of java.util.Map. Nothing too fancy, just something that I can point at a directory or file and have it store its co

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-03 08:35

    If you are looking for key-object based structures to persist data then NoSQL databases are a very good choice. You'll find that some of them such MongoDB or Redis scale and perform for big datasets and apart from hash based look ups they provide interesting query and transactional features.

    In essence these types of systems are a Map implementation. And it shouldn't be too complicated to implement your own adapter that implements java.util.Map to bridge them.

提交回复
热议问题