Class RecordBufferPageBase

  • All Implemented Interfaces:
    org.apache.jena.atlas.io.Printable, Page
    Direct Known Subclasses:
    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.
    • Method Detail

      • 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 java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • output

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