Class BPTreeRecords

  • All Implemented Interfaces:
    org.apache.jena.atlas.io.Printable, org.apache.jena.dboe.base.page.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 Detail

      • get

        public final org.apache.jena.dboe.base.record.Record get​(int idx)
      • getBackingBlock

        public final org.apache.jena.dboe.base.block.Block getBackingBlock()
      • getBlockMgr

        public org.apache.jena.dboe.base.block.BlockMgr getBlockMgr()
      • reset

        public void reset​(org.apache.jena.dboe.base.block.Block block)
      • isFull

        public boolean isFull()
      • hasAnyKeys

        public boolean hasAnyKeys()
      • isMinSize

        public boolean isMinSize()
      • write

        public final void write()
      • release

        public final void release()
      • free

        public final void free()
      • getSplitKey

        public org.apache.jena.dboe.base.record.Record getSplitKey()
      • split

        public 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 org.apache.jena.dboe.base.record.Record shiftRight​(BPTreePage other,
                                                                  org.apache.jena.dboe.base.record.Record splitKey)
      • shiftLeft

        public org.apache.jena.dboe.base.record.Record shiftLeft​(BPTreePage other,
                                                                 org.apache.jena.dboe.base.record.Record splitKey)
      • internalMinRecord

        public final org.apache.jena.dboe.base.record.Record internalMinRecord​(AccessPath path)
      • internalMaxRecord

        public final org.apache.jena.dboe.base.record.Record internalMaxRecord​(AccessPath path)
      • getLowRecord

        public final org.apache.jena.dboe.base.record.Record getLowRecord()
      • getHighRecord

        public final org.apache.jena.dboe.base.record.Record getHighRecord()
      • getMaxSize

        public final int getMaxSize()
      • getCount

        public final int getCount()
      • setCount

        public final void setCount​(int count)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • checkNode

        public final void checkNode()
      • checkNodeDeep

        public final void checkNodeDeep()
      • getId

        public int getId()
      • getRefStr

        public java.lang.String getRefStr()
      • output

        public void output​(org.apache.jena.atlas.io.IndentedWriter out)