- java.lang.Object
-
- swim.db.PageRef
-
- swim.db.QTreePageRef
-
public final class QTreePageRef extends PageRef
-
-
Constructor Summary
Constructors Constructor Description QTreePageRef(PageContext context, PageType pageType, int stem, int post, int zone, long base, long span, long x, long y, Value fold)QTreePageRef(PageContext context, PageType pageType, int stem, int post, int zone, long base, long span, long x, long y, Value fold, Object page)QTreePageRef(PageContext context, PageType pageType, int stem, int post, int zone, long base, long span, long x, long y, Value fold, Object page, int pageRefSize, int pageSize, int diffSize, long treeSize)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description longbase()QTreePageRefcommitted(int zone, long base, long version)Cursor<Slot>cursor()Cursor<Slot>cursor(long x, long y)Cursor<Slot>deltaCursor(long sinceVersion)Cursor<Slot>deltaCursor(long x, long y, long sinceVersion)Cursor<Slot>depthCursor(int maxDepth)Cursor<Slot>depthCursor(long x, long y, int maxDepth)intdiffSize()static QTreePageRefempty(PageContext context, int stem, long version)QTreePageRefevacuated(int post, long version)Valuefold()static QTreePageReffromValue(PageContext context, int stem, Value value)QTreePagehardPage()booleanisCommitted()booleanisEmpty()voidloadPageAsync(boolean isResident, Cont<Page> cont)voidloadTreeAsync(boolean isResident, Cont<Page> cont)voidloadTreeAsync(PageLoader pageLoader, Cont<Page> cont)QTreePagepage()PageContextpageContext()intpageRefSize()intpageSize()PageTypepageType()intpost()QTreePageRefreduced(Value identity, CombinerFunction<? super Value,Value> accumulator, CombinerFunction<Value,Value> combiner, long newVersion)QTreePagesetPageValue(Value value, boolean isResident)voidsoften(long version)QTreePagesoftPage()longsoftVersion()longspan()intstem()Cursor<Slot>tileCursor()Cursor<Slot>tileCursor(long x, long y)StringtoString()ValuetoValue()longtreeSize()QTreePageRefuncommitted(long version)voidwriteDiff(Output<?> output)voidwritePage(Output<?> output)voidwritePageRef(Output<?> output)longx()longxBase()longxMask()intxRank()longxSplit()longy()longyBase()longyMask()intyRank()longySplit()intzone()-
Methods inherited from class swim.db.PageRef
settings, toDebugString
-
-
-
-
Constructor Detail
-
QTreePageRef
public QTreePageRef(PageContext context, PageType pageType, int stem, int post, int zone, long base, long span, long x, long y, 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, 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, Value fold)
-
-
Method Detail
-
pageContext
public PageContext pageContext()
- Specified by:
pageContextin classPageRef
-
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()
-
softVersion
public long softVersion()
- Specified by:
softVersionin classPageRef
-
isCommitted
public boolean isCommitted()
- Specified by:
isCommittedin classPageRef
-
pageRefSize
public int pageRefSize()
- Specified by:
pageRefSizein classPageRef
-
reduced
public QTreePageRef reduced(Value identity, CombinerFunction<? super Value,Value> accumulator, CombinerFunction<Value,Value> combiner, long newVersion)
-
evacuated
public QTreePageRef evacuated(int post, long version)
-
committed
public QTreePageRef committed(int zone, long base, long version)
-
uncommitted
public QTreePageRef uncommitted(long version)
- Specified by:
uncommittedin classPageRef
-
writePageRef
public void writePageRef(Output<?> output)
- Specified by:
writePageRefin classPageRef
-
setPageValue
public QTreePage setPageValue(Value value, boolean isResident)
- Specified by:
setPageValuein classPageRef
-
loadPageAsync
public void loadPageAsync(boolean isResident, Cont<Page> cont)- Specified by:
loadPageAsyncin classPageRef
-
loadTreeAsync
public void loadTreeAsync(boolean isResident, Cont<Page> cont)- Specified by:
loadTreeAsyncin classPageRef
-
loadTreeAsync
public void loadTreeAsync(PageLoader pageLoader, Cont<Page> cont)
- Specified by:
loadTreeAsyncin classPageRef
-
empty
public static QTreePageRef empty(PageContext context, int stem, long version)
-
fromValue
public static QTreePageRef fromValue(PageContext context, int stem, Value value)
-
-