Hi, I'm building a Java application and I want to use BTree indices for it. Can someone quickly point out which classes of Berkeley DB JE implementing the index part? I have read though the code, but it takes long time to find out about it.
I'm not sure if the source code is really what you want. The BDB JE public API lets you store key-value data using a Btree internally.
When you say you want to "use BTree indices", I'm not sure what you mean. The internal Btree source code is not implemented or packaged as a reusable component, that could be used separately from the BDB JE product. But if you want it anyway, it's in this directory: src/com/sleepycat/je/tree.
The high level architecture is described in this document:
White paper: Berkeley DB Java Edition Architecture (PDF)