Class BPTreeNodeMgr
- 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BPTreeNodecreateNode(int parent)Allocate space for a fresh node.BPTreeNodegetRead(int id)BPTreeNodegetRead(int id, int parent)Fetch a block - fill in the parent id, which is not in the on-disk bytesBPTreeNodegetWrite(int id)BPTreeNodegetWrite(int id, int parent)Fetch a block - fill in the parent id, which is not in the on-disk bytes
-
-
-
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:
getWritein classorg.apache.jena.dboe.base.page.PageBlockMgr<BPTreeNode>
-
getRead
public BPTreeNode getRead(int id)
- Overrides:
getReadin classorg.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:
getReadin classorg.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:
getWritein classorg.apache.jena.dboe.base.page.PageBlockMgr<BPTreeNode>
-
-