Module swim.db
Package swim.db

Class QTreePageRef

java.lang.Object
swim.db.PageRef
swim.db.QTreePageRef

public final class QTreePageRef extends PageRef
  • Constructor Details

    • QTreePageRef

      public QTreePageRef(PageContext context, PageType pageType, int stem, int post, int zone, long base, long span, long x, long y, swim.structure.Value fold, Object page, int pageRefSize, int pageSize, int diffSize, long treeSize)
    • QTreePageRef

      public QTreePageRef(PageContext context, PageType pageType, int stem, int post, int zone, long base, long span, long x, long y, swim.structure.Value fold, Object page)
    • QTreePageRef

      public QTreePageRef(PageContext context, PageType pageType, int stem, int post, int zone, long base, long span, long x, long y, swim.structure.Value fold)
  • Method Details

    • pageContext

      public PageContext pageContext()
      Specified by:
      pageContext in class PageRef
    • pageType

      public PageType pageType()
      Specified by:
      pageType in class PageRef
    • stem

      public int stem()
      Specified by:
      stem in class PageRef
    • post

      public int post()
      Specified by:
      post in class PageRef
    • zone

      public int zone()
      Specified by:
      zone in class PageRef
    • base

      public long base()
      Specified by:
      base in class PageRef
    • span

      public long span()
      Specified by:
      span in class PageRef
    • x

      public long x()
    • xRank

      public int xRank()
    • xBase

      public long xBase()
    • xMask

      public long xMask()
    • xSplit

      public long xSplit()
    • y

      public long y()
    • yRank

      public int yRank()
    • yBase

      public long yBase()
    • yMask

      public long yMask()
    • ySplit

      public long ySplit()
    • fold

      public swim.structure.Value fold()
      Specified by:
      fold in class PageRef
    • page

      public QTreePage page()
      Specified by:
      page in class PageRef
    • hardPage

      public QTreePage hardPage()
      Specified by:
      hardPage in class PageRef
    • softPage

      public QTreePage softPage()
      Specified by:
      softPage in class PageRef
    • softVersion

      public long softVersion()
      Specified by:
      softVersion in class PageRef
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in class PageRef
    • isCommitted

      public boolean isCommitted()
      Specified by:
      isCommitted in class PageRef
    • pageRefSize

      public int pageRefSize()
      Specified by:
      pageRefSize in class PageRef
    • pageSize

      public int pageSize()
      Specified by:
      pageSize in class PageRef
    • diffSize

      public int diffSize()
      Specified by:
      diffSize in class PageRef
    • treeSize

      public long treeSize()
      Specified by:
      treeSize in class PageRef
    • toValue

      public swim.structure.Value toValue()
      Specified by:
      toValue in class PageRef
    • reduced

      public QTreePageRef reduced(swim.structure.Value identity, swim.util.CombinerFunction<? super swim.structure.Value,swim.structure.Value> accumulator, swim.util.CombinerFunction<swim.structure.Value,swim.structure.Value> combiner, long newVersion)
    • evacuated

      public QTreePageRef evacuated(int post, long version)
      Specified by:
      evacuated in class PageRef
    • committed

      public QTreePageRef committed(int zone, long base, long version)
      Specified by:
      committed in class PageRef
    • uncommitted

      public QTreePageRef uncommitted(long version)
      Specified by:
      uncommitted in class PageRef
    • writePageRef

      public void writePageRef(swim.codec.Output<?> output)
      Specified by:
      writePageRef in class PageRef
    • writePage

      public void writePage(swim.codec.Output<?> output)
      Specified by:
      writePage in class PageRef
    • writeDiff

      public void writeDiff(swim.codec.Output<?> output)
      Specified by:
      writeDiff in class PageRef
    • buildDiff

      public void buildDiff(swim.util.Builder<Page,?> builder)
      Specified by:
      buildDiff in class PageRef
    • setPageValue

      public QTreePage setPageValue(swim.structure.Value value, boolean isResident)
      Specified by:
      setPageValue in class PageRef
    • loadPage

      public QTreePage loadPage(boolean isResident)
      Specified by:
      loadPage in class PageRef
    • loadPage

      public QTreePage loadPage(PageLoader pageLoader)
      Specified by:
      loadPage in class PageRef
    • loadTree

      public QTreePage loadTree(boolean isResident)
      Specified by:
      loadTree in class PageRef
    • loadTree

      public QTreePage loadTree(PageLoader pageLoader)
      Specified by:
      loadTree in class PageRef
    • soften

      public void soften(long version)
      Specified by:
      soften in class PageRef
    • cursor

      public swim.util.Cursor<swim.structure.Slot> cursor()
      Specified by:
      cursor in class PageRef
    • cursor

      public swim.util.Cursor<swim.structure.Slot> cursor(long x, long y)
    • depthCursor

      public swim.util.Cursor<swim.structure.Slot> depthCursor(long x, long y, int maxDepth)
    • depthCursor

      public swim.util.Cursor<swim.structure.Slot> depthCursor(int maxDepth)
    • deltaCursor

      public swim.util.Cursor<swim.structure.Slot> deltaCursor(long x, long y, long sinceVersion)
    • deltaCursor

      public swim.util.Cursor<swim.structure.Slot> deltaCursor(long sinceVersion)
    • tileCursor

      public swim.util.Cursor<swim.structure.Slot> tileCursor(long x, long y)
    • tileCursor

      public swim.util.Cursor<swim.structure.Slot> tileCursor()
    • toString

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

      public static QTreePageRef empty(PageContext context, int stem, long version)
    • fromValue

      public static QTreePageRef fromValue(PageContext context, int stem, swim.structure.Value value)