Class PageBase

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

public abstract class PageBase extends Object implements Page
A page with a byte buffer
  • Field Summary

    Fields inherited from interface org.apache.jena.dboe.base.page.Page

    NO_ID
  • Method Summary

    Modifier and Type
    Method
    Description
    final Block
    Return the block associated with this page
    final int
    Pages are addressed ints (a page ref does in on-disk blocks) although block are address in longs
    final void
    reset(Block block2)
    The underlying block for this page has changed (e.g.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.jena.dboe.base.page.Page

    getRefStr

    Methods inherited from interface org.apache.jena.atlas.io.Printable

    output
  • Method Details

    • reset

      public final void reset(Block block2)
      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 the block to change).
      Specified by:
      reset in interface Page
    • getBackingBlock

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

      public final int getId()
      Description copied from interface: Page
      Pages are addressed ints (a page ref does in on-disk blocks) although block are address in longs
      Specified by:
      getId in interface Page