Module swim.db
Package swim.db

Class QTreePageRef


  • public final class QTreePageRef
    extends PageRef
    • Constructor Detail

      • 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 Detail

      • 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
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty 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)
      • 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
      • 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()
      • fromValue

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