java.lang.Object
org.apache.jena.dboe.base.page.PageBlockMgr<BPTreeNode>
org.apache.jena.dboe.trans.bplustree.BPTreeNodeMgr
All Implemented Interfaces:
org.apache.jena.atlas.lib.Closeable

public final class BPTreeNodeMgr extends org.apache.jena.dboe.base.page.PageBlockMgr<BPTreeNode>
BPlusTreePageMgr = BPlusTreeNode manager
  • Constructor Summary

    Constructors
    Constructor
    Description
    BPTreeNodeMgr(BPlusTree bpTree, org.apache.jena.dboe.base.block.BlockMgr blockMgr)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    createNode(int parent)
    Allocate space for a fresh node.
    getRead(int id)
     
    getRead(int id, int parent)
    Fetch a block - fill in the parent id, which is not in the on-disk bytes
    getWrite(int id)
     
    getWrite(int id, int parent)
    Fetch a block - fill in the parent id, which is not in the on-disk bytes

    Methods inherited from class org.apache.jena.dboe.base.page.PageBlockMgr

    allocLimit, close, create, dump, finishRead, finishUpdate, free, getBlockMgr, promoteDuplicate, promoteInPlace, put, release, resetAlloc, startRead, startUpdate, valid, write

    Methods inherited from class java.lang.Object

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

    • BPTreeNodeMgr

      public BPTreeNodeMgr(BPlusTree bpTree, org.apache.jena.dboe.base.block.BlockMgr blockMgr)
  • Method Details

    • createNode

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

      public BPTreeNode getWrite(int id)
      Overrides:
      getWrite in class org.apache.jena.dboe.base.page.PageBlockMgr<BPTreeNode>
    • getRead

      public BPTreeNode getRead(int id)
      Overrides:
      getRead in class org.apache.jena.dboe.base.page.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
      Overrides:
      getRead in class org.apache.jena.dboe.base.page.PageBlockMgr<BPTreeNode>
    • getWrite

      public BPTreeNode getWrite(int id, int parent)
      Fetch a block - fill in the parent id, which is not in the on-disk bytes
      Overrides:
      getWrite in class org.apache.jena.dboe.base.page.PageBlockMgr<BPTreeNode>