Class BPT
- java.lang.Object
-
- org.apache.jena.dboe.trans.bplustree.BPT
-
public final class BPT extends java.lang.ObjectB+Tree assist functions
-
-
Field Summary
Fields Modifier and Type Field Description static booleanCheckingConcurrencystatic booleanCheckingNodestatic booleanDumpTreeDump before and after top level update operationsstatic booleanforcePromoteModesEnable forces promotion of blocks; otherwise blocks are promoted as needed.static booleanLoggingstatic booleanpromoteDuplicateNodesWhether to duplicate a nodes block on a promotion call if forcePromoteModes=truestatic booleanpromoteDuplicateRecordsWhether to duplicate a records block on a promotion call if forcePromoteModes=true
-
Constructor Summary
Constructors Constructor Description BPT()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidchecking(boolean onOrOff)Enable detailed internal consistency checkingstatic BPlusTreecreateRootOnlyBPTree(BPlusTreeParams bptParams, org.apache.jena.dboe.base.file.BufferChannel bptState, org.apache.jena.dboe.base.block.BlockMgr blkMgrNodes, org.apache.jena.dboe.base.block.BlockMgr blkMgrRecords)The initial tree is a single root node with no records block below it.static voidinfoAll(boolean onOrOff)Output a lot of detailed information.
-
-
-
Field Detail
-
Logging
public static boolean Logging
-
forcePromoteModes
public static boolean forcePromoteModes
Enable forces promotion of blocks; otherwise blocks are promoted as needed.
-
promoteDuplicateRecords
public static boolean promoteDuplicateRecords
Whether to duplicate a records block on a promotion call if forcePromoteModes=true
-
promoteDuplicateNodes
public static boolean promoteDuplicateNodes
Whether to duplicate a nodes block on a promotion call if forcePromoteModes=true
-
CheckingNode
public static boolean CheckingNode
-
CheckingConcurrency
public static boolean CheckingConcurrency
-
DumpTree
public static boolean DumpTree
Dump before and after top level update operations
-
-
Method Detail
-
checking
public static void checking(boolean onOrOff)
Enable detailed internal consistency checking
-
infoAll
public static void infoAll(boolean onOrOff)
Output a lot of detailed information.
-
createRootOnlyBPTree
public static BPlusTree createRootOnlyBPTree(BPlusTreeParams bptParams, org.apache.jena.dboe.base.file.BufferChannel bptState, org.apache.jena.dboe.base.block.BlockMgr blkMgrNodes, org.apache.jena.dboe.base.block.BlockMgr blkMgrRecords)
The initial tree is a single root node with no records block below it. It is an illegal tree. We make it by creating a real tree, deleting and freeing the records block from the root, then resetting the records block manager. This is to avoid having specialized creating code in BPlusTreeFactory solely for the rewriter.
-
-