Class BPTreeRecords

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

public final class BPTreeRecords extends BPTreePage
B+Tree wrapper over a block of records in a RecordBufferPage. This class adds no persistent state to a RecordBufferPage
  • Method Details

    • getRecordBuffer

      public RecordBuffer getRecordBuffer()
    • getBackingBlock

      public final Block getBackingBlock()
      Description copied from interface: Page
      Return the block associated with this page
    • reset

      public void reset(Block block)
      Description copied from interface: Page
      The 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

      public Record internalSearch(Record rec)
    • write

      public final void write()
    • promote

      public final void promote()
    • release

      public final void release()
    • free

      public final void free()
    • internalInsert

      public Record internalInsert(Record record)
    • internalDelete

      public Record internalDelete(Record record)
    • getSplitKey

      public final Record getSplitKey()
    • split

      public final BPTreePage split()
      Split: place old high half in 'other'. Return the new (upper) BPTreeRecords(BPTreePage). Split is the high end of the low page.
    • shiftRight

      public Record shiftRight(BPTreePage other, Record splitKey)
    • shiftLeft

      public Record shiftLeft(BPTreePage other, Record splitKey)
    • merge

      public BPTreePage merge(BPTreePage right, Record splitKey)
    • minRecord

      public final Record minRecord()
    • maxRecord

      public final Record maxRecord()
    • getLowRecord

      public final Record getLowRecord()
    • getHighRecord

      public final Record getHighRecord()
    • getMaxSize

      public final int getMaxSize()
    • getCount

      public final int getCount()
    • setCount

      public final void setCount(int count)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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)