java.lang.Object
org.apache.jena.dboe.trans.bplustree.rewriter.BPlusTreeRewriter

public class BPlusTreeRewriter extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final boolean
     
    static final boolean
    Rebalance final two blocks in a level otherwise last block may be too small.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • rebalance

      public static final boolean rebalance
      Rebalance 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