java.lang.Object
org.apache.jena.dboe.trans.bplustree.BPT
B+Tree assist functions
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanstatic booleanstatic booleanDump before and after top level update operationsstatic booleanEnable forces promotion of blocks; otherwise blocks are promoted as needed.static booleanstatic booleanWhether to duplicate a nodes block on a promotion call if forcePromoteModes=truestatic booleanWhether to duplicate a records block on a promotion call if forcePromoteModes=true -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 Details
-
Logging
public static boolean Logging -
forcePromoteModes
public static boolean forcePromoteModesEnable forces promotion of blocks; otherwise blocks are promoted as needed. -
promoteDuplicateRecords
public static boolean promoteDuplicateRecordsWhether to duplicate a records block on a promotion call if forcePromoteModes=true -
promoteDuplicateNodes
public static boolean promoteDuplicateNodesWhether 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 DumpTreeDump before and after top level update operations
-
-
Constructor Details
-
BPT
public BPT()
-
-
Method Details
-
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.
-