Class BPTreeNodeMgr

java.lang.Object
org.apache.jena.tdb1.base.page.PageBlockMgr<T>
org.apache.jena.tdb1.index.bplustree.BPTreeNodeMgr

public final class BPTreeNodeMgr extends PageBlockMgr<T>
BPlusTreePageMgr = BPlusTreeNode manager
  • Constructor Details

  • Method Details

    • createEmptyBPT

      public int createEmptyBPT()
      Allocate root node space. The root is a node with a Records block.
    • createNode

      public BPTreeNode createNode(int parent)
      Allocate space for a fresh node.
    • getRoot

      public BPTreeNode getRoot(int id)
      Fetch a block for the root.
    • getWrite

      public BPTreeNode getWrite(int id)
      Overrides:
      getWrite in class PageBlockMgr<BPTreeNode>
    • getRead

      public BPTreeNode getRead(int id)
      Overrides:
      getRead in class PageBlockMgr<BPTreeNode>
    • getRead

      public BPTreeNode getRead(int id, int parent)
      Fetch a block - fill in the parent id, which is not in the on-disk bytes
    • getWrite

      public BPTreeNode getWrite(int id, int parent)
      Fetch a block - fill in the parent id, which is not in the on-disk bytes