Class 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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BPTreeNode createNode​(int parent)
      Allocate space for a fresh node.
      BPTreeNode getRead​(int id)  
      BPTreeNode getRead​(int id, int parent)
      Fetch a block - fill in the parent id, which is not in the on-disk bytes
      BPTreeNode getWrite​(int id)  
      BPTreeNode 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 Detail

      • BPTreeNodeMgr

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

      • 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>