Class RecordBufferPageBase

java.lang.Object
org.apache.jena.tdb1.base.page.PageBase
org.apache.jena.tdb1.base.recordbuffer.RecordBufferPageBase
All Implemented Interfaces:
org.apache.jena.atlas.io.Printable, Page
Direct Known Subclasses:
HashBucket, RecordBufferPage

public abstract class RecordBufferPageBase extends PageBase
The on-disk form of a block of a single RecordBuffer (i.e. this is not part of a BTree/BPlusTree branch node). This must be compatible with B+Tree records nodes and hashbuckets.
  • Field Details

  • Method Details

    • calcRecordSize

      public static int calcRecordSize(RecordFactory factory, int blkSize, int headerOffset)
    • calcBlockSize

      public static int calcBlockSize(RecordFactory factory, int maxRec, int headerOffset)
    • getRecordBuffer

      public final RecordBuffer getRecordBuffer()
    • getCount

      public final int getCount()
    • getMaxSize

      public final int getMaxSize()
    • setCount

      public void setCount(int count)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • output

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