Class RecordBufferPageBase
- java.lang.Object
-
- org.apache.jena.dboe.base.page.PageBase
-
- org.apache.jena.dboe.base.recordbuffer.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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static intcalcBlockSize(RecordFactory factory, int maxRec, int headerOffset)static intcalcRecordSize(RecordFactory factory, int blkSize, int headerOffset)intgetCount()intgetMaxSize()RecordBuffergetRecordBuffer()voidoutput(org.apache.jena.atlas.io.IndentedWriter out)voidsetCount(int count)java.lang.StringtoString()-
Methods inherited from class org.apache.jena.dboe.base.page.PageBase
getBackingBlock, getId, reset
-
-
-
-
Field Detail
-
COUNT
public static final int COUNT
- See Also:
- Constant Field Values
-
-
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:
toStringin classjava.lang.Object
-
output
public void output(org.apache.jena.atlas.io.IndentedWriter out)
-
-