Search in sources :

Example 1 with BLinkKeyToPageIndex

use of herddb.index.blink.BLinkKeyToPageIndex in project herddb by diennea.

the class BLinkKeyToPageIndexTest method createIndex.

@Override
KeyToPageIndex createIndex() {
    MemoryManager mem = new MemoryManager(5 * (1L << 20), 0, 10 * (128L << 10), (128L << 10));
    MemoryDataStorageManager ds = new MemoryDataStorageManager();
    BLinkKeyToPageIndex idx = new BLinkKeyToPageIndex("tblspc", "tbl", mem, ds);
    return new ResourceCloseKeyToPageIndex(idx, ds);
}
Also used : MemoryDataStorageManager(herddb.mem.MemoryDataStorageManager) MemoryManager(herddb.core.MemoryManager) BLinkKeyToPageIndex(herddb.index.blink.BLinkKeyToPageIndex)

Aggregations

MemoryManager (herddb.core.MemoryManager)1 BLinkKeyToPageIndex (herddb.index.blink.BLinkKeyToPageIndex)1 MemoryDataStorageManager (herddb.mem.MemoryDataStorageManager)1