B+Tree on-disk implementation in Java

2019-04-08 00:51发布

Does anyone know where to find a B+Tree on-disk implementation? I went through google forward and backward and unfortunately I couldn't find anything sensible. Other threads have suggested to maybe take the tree from sqlite, sqljet or bdb but these trees are nested in the whole database and you can't really "just" filter out the B+Tree. I'm really looking for only a on-disk B+Tree... without any fancy things around.

3条回答
叛逆
2楼-- · 2019-04-08 01:24

If you need it for real usage rather than for educational purposes (studying B+Tree data structure, etc.), LMDBJava is probably the best solution, available in Java now. It's not B+Tree exactly, but also a sorted key-value store, so practically the same as B+Tree.

查看更多
戒情不戒烟
4楼-- · 2019-04-08 01:38

There is a GDBM-inspired Java persistence engine: MapDB

查看更多
登录 后发表回答