java.lang.Object
org.apache.jena.tdb1.index.bplustree.BPTreePage
org.apache.jena.tdb1.index.bplustree.BPTreeRecords
- All Implemented Interfaces:
org.apache.jena.atlas.io.Printable,Page
B+Tree wrapper over a block of records in a RecordBufferPage.
This class adds no persistent state to a RecordBufferPage
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal voidfinal voidfinal voidfree()final BlockReturn the block associated with this pagefinal intgetCount()final RecordintgetId()final Recordfinal intfinal RecordbooleaninternalDelete(Record record) internalInsert(Record record) internalSearch(Record rec) booleanisFull()booleanfinal Recordmerge(BPTreePage right, Record splitKey) final Recordvoidoutput(org.apache.jena.atlas.io.IndentedWriter out) final voidpromote()final voidrelease()voidThe underlying block for this page has changed (e.g.final voidsetCount(int count) shiftLeft(BPTreePage other, Record splitKey) shiftRight(BPTreePage other, Record splitKey) final BPTreePagesplit()Split: place old high half in 'other'.toString()final voidwrite()Methods inherited from class org.apache.jena.tdb1.index.bplustree.BPTreePage
getBPlusTree, getParams
-
Method Details
-
getRecordBuffer
-
getBackingBlock
Description copied from interface:PageReturn the block associated with this page -
reset
Description copied from interface:PageThe underlying block for this page has changed (e.g. it's been promoted and the promotion may have caused something to change -
isFull
public boolean isFull() -
hasAnyKeys
public boolean hasAnyKeys() -
isMinSize
public boolean isMinSize() -
internalSearch
-
write
public final void write() -
promote
public final void promote() -
release
public final void release() -
free
public final void free() -
internalInsert
-
internalDelete
-
getSplitKey
-
split
Split: place old high half in 'other'. Return the new (upper) BPTreeRecords(BPTreePage). Split is the high end of the low page. -
shiftRight
-
shiftLeft
-
merge
-
minRecord
-
maxRecord
-
getLowRecord
-
getHighRecord
-
getMaxSize
public final int getMaxSize() -
getCount
public final int getCount() -
setCount
public final void setCount(int count) -
toString
-
checkNode
public final void checkNode() -
checkNodeDeep
public final void checkNodeDeep() -
getId
public int getId() -
output
public void output(org.apache.jena.atlas.io.IndentedWriter out)
-