public class BPlusTreeFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static BPlusTree |
addLogging(BPlusTree bpTree)
Debugging
|
static BPlusTree |
addTracking(BPlusTree bpTree)
Debugging
|
static BPlusTree |
create(ComponentId id,
BPlusTreeParams params,
org.apache.jena.dboe.base.file.BufferChannel chan,
org.apache.jena.dboe.base.block.BlockMgr blkMgrNodes,
org.apache.jena.dboe.base.block.BlockMgr blkMgrLeaves)
Create the java structures to correspond to
the supplied block managers for the persistent storage.
|
static BPlusTree |
createBPTree(ComponentId cid,
org.apache.jena.dboe.base.file.FileSet fileset,
int order,
int blockSize,
int readCacheSize,
int writeCacheSize,
org.apache.jena.dboe.base.record.RecordFactory factory)
Knowing all the parameters, create a B+Tree
|
static BPlusTree |
createBPTree(ComponentId cid,
org.apache.jena.dboe.base.file.FileSet fileset,
org.apache.jena.dboe.base.record.RecordFactory factory)
Create a B+Tree using defaults
|
static BPlusTree |
createBPTreeByBlockSize(ComponentId cid,
org.apache.jena.dboe.base.file.FileSet fileset,
int blockSize,
int readCacheSize,
int writeCacheSize,
org.apache.jena.dboe.base.record.RecordFactory factory)
Create a B+Tree by BlockSize
|
static BPlusTree |
createBPTreeByOrder(ComponentId cid,
org.apache.jena.dboe.base.file.FileSet fileset,
int order,
int readCacheSize,
int writeCacheSize,
org.apache.jena.dboe.base.record.RecordFactory factory)
Create a B+Tree by Order
|
static BPlusTree |
createBPTreeByOrder(ComponentId cid,
org.apache.jena.dboe.base.file.FileSet fileset,
int order,
org.apache.jena.dboe.base.record.RecordFactory factory)
Create a B+Tree by Order
|
static BPlusTree |
createNonTxn(BPlusTreeParams params,
org.apache.jena.dboe.base.file.BufferChannel chan,
org.apache.jena.dboe.base.block.BlockMgr blkMgrNodes,
org.apache.jena.dboe.base.block.BlockMgr blkMgrLeaves)
Create the java structures to correspond to
the supplied block managers for the persistent storage.
|
static RangeIndex |
makeBPlusTree(ComponentId cid,
org.apache.jena.dboe.base.file.FileSet fs,
int blkSize,
int readCacheSize,
int writeCacheSize,
int dftKeyLength,
int dftValueLength) |
static BPlusTree |
makeMem(int order,
int keyLength,
int valueLength)
(Testing mainly) Make an in-memory B+Tree, with copy-in, copy-out block managers
|
static BPlusTree |
makeMem(int order,
int minDataRecords,
int keyLength,
int valueLength)
(Testing mainly) Make an in-memory B+Tree, with copy-in, copy-out block managers
|
static BPlusTree |
makeMem(String name,
int order,
int keyLength,
int valueLength)
(Testing mainly) Make an in-memory B+Tree, with copy-in, copy-out block managers
|
static BPlusTree |
makeMem(String name,
int order,
int minDataRecords,
int keyLength,
int valueLength)
(Testing mainly) Make an in-memory B+Tree, with copy-in, copy-out block managers
|
static org.apache.jena.dboe.base.record.RecordFactory |
makeRecordFactory(int keyLen,
int valueLen) |
static BPlusTree |
rebuild(BPlusTree bpt,
org.apache.jena.dboe.base.file.BufferChannel chan,
org.apache.jena.dboe.base.block.BlockMgr blkMgrNodes,
org.apache.jena.dboe.base.block.BlockMgr blkMgrLeaves)
Reset an existing B+Tree with different storage units.
|
public static BPlusTree create(ComponentId id, BPlusTreeParams params, org.apache.jena.dboe.base.file.BufferChannel chan, org.apache.jena.dboe.base.block.BlockMgr blkMgrNodes, org.apache.jena.dboe.base.block.BlockMgr blkMgrLeaves)
public static BPlusTree createNonTxn(BPlusTreeParams params, org.apache.jena.dboe.base.file.BufferChannel chan, org.apache.jena.dboe.base.block.BlockMgr blkMgrNodes, org.apache.jena.dboe.base.block.BlockMgr blkMgrLeaves)
public static BPlusTree rebuild(BPlusTree bpt, org.apache.jena.dboe.base.file.BufferChannel chan, org.apache.jena.dboe.base.block.BlockMgr blkMgrNodes, org.apache.jena.dboe.base.block.BlockMgr blkMgrLeaves)
public static RangeIndex makeBPlusTree(ComponentId cid, org.apache.jena.dboe.base.file.FileSet fs, int blkSize, int readCacheSize, int writeCacheSize, int dftKeyLength, int dftValueLength)
public static org.apache.jena.dboe.base.record.RecordFactory makeRecordFactory(int keyLen, int valueLen)
public static BPlusTree createBPTree(ComponentId cid, org.apache.jena.dboe.base.file.FileSet fileset, org.apache.jena.dboe.base.record.RecordFactory factory)
public static BPlusTree createBPTreeByBlockSize(ComponentId cid, org.apache.jena.dboe.base.file.FileSet fileset, int blockSize, int readCacheSize, int writeCacheSize, org.apache.jena.dboe.base.record.RecordFactory factory)
public static BPlusTree createBPTreeByOrder(ComponentId cid, org.apache.jena.dboe.base.file.FileSet fileset, int order, int readCacheSize, int writeCacheSize, org.apache.jena.dboe.base.record.RecordFactory factory)
public static BPlusTree createBPTreeByOrder(ComponentId cid, org.apache.jena.dboe.base.file.FileSet fileset, int order, org.apache.jena.dboe.base.record.RecordFactory factory)
public static BPlusTree createBPTree(ComponentId cid, org.apache.jena.dboe.base.file.FileSet fileset, int order, int blockSize, int readCacheSize, int writeCacheSize, org.apache.jena.dboe.base.record.RecordFactory factory)
public static BPlusTree makeMem(int order, int keyLength, int valueLength)
public static BPlusTree makeMem(String name, int order, int keyLength, int valueLength)
public static BPlusTree makeMem(int order, int minDataRecords, int keyLength, int valueLength)
public static BPlusTree makeMem(String name, int order, int minDataRecords, int keyLength, int valueLength)
Licensed under the Apache License, Version 2.0