Class BPlusTreeRewriter
java.lang.Object
org.apache.jena.dboe.trans.bplustree.rewriter.BPlusTreeRewriter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BPlusTreepackIntoBPlusTree(Iterator<org.apache.jena.dboe.base.record.Record> iterRecords, BPlusTreeParams bptParams, org.apache.jena.dboe.base.record.RecordFactory recordFactory, org.apache.jena.dboe.base.file.BufferChannel bptState, org.apache.jena.dboe.base.block.BlockMgr blkMgrNodes, org.apache.jena.dboe.base.block.BlockMgr blkMgrRecords) Given a stream of records and details of the B+Tree to build, go and build it.
-
Field Details
-
rebalance
public static final boolean rebalanceRebalance final two blocks in a level otherwise last block may be too small.- See Also:
-
debug
public static final boolean debug- See Also:
-
-
Constructor Details
-
BPlusTreeRewriter
public BPlusTreeRewriter()
-
-
Method Details
-
packIntoBPlusTree
public static BPlusTree packIntoBPlusTree(Iterator<org.apache.jena.dboe.base.record.Record> iterRecords, BPlusTreeParams bptParams, org.apache.jena.dboe.base.record.RecordFactory recordFactory, org.apache.jena.dboe.base.file.BufferChannel bptState, org.apache.jena.dboe.base.block.BlockMgr blkMgrNodes, org.apache.jena.dboe.base.block.BlockMgr blkMgrRecords) Given a stream of records and details of the B+Tree to build, go and build it.- Returns:
- A newly built BPlusTree
-