java.lang.Object
swim.db.PageRef
swim.db.QTreePageRef
-
Constructor Summary
ConstructorsConstructorDescriptionQTreePageRef(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
Modifier and TypeMethodDescriptionlongbase()voidcommitted(int zone, long base, long version) cursor()cursor(long x, long y) deltaCursor(long sinceVersion) deltaCursor(long x, long y, long sinceVersion) depthCursor(int maxDepth) depthCursor(long x, long y, int maxDepth) intdiffSize()static QTreePageRefempty(PageContext context, int stem, long version) evacuated(int post, long version) fold()static QTreePageReffromValue(PageContext context, int stem, Value value) hardPage()booleanbooleanisEmpty()loadPage(boolean isResident) loadPage(PageLoader pageLoader) loadTree(boolean isResident) loadTree(PageLoader pageLoader) page()intintpageSize()pageType()intpost()reduced(Value identity, CombinerFunction<? super Value, Value> accumulator, CombinerFunction<Value, Value> combiner, long newVersion) setPageValue(Value value, boolean isResident) voidsoften(long version) softPage()longlongspan()intstem()tileCursor(long x, long y) toString()toValue()longtreeSize()uncommitted(long version) voidvoidvoidwritePageRef(Output<?> output) longx()longxBase()longxMask()intxRank()longxSplit()longy()longyBase()longyMask()intyRank()longySplit()intzone()Methods inherited from class swim.db.PageRef
settings, toDebugString
-
Constructor Details
-
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 Details
-
pageContext
- Specified by:
pageContextin classPageRef
-
pageType
-
stem
public int stem() -
post
public int post() -
zone
public int zone() -
base
public long base() -
span
public long span() -
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
-
page
-
hardPage
-
softPage
-
softVersion
public long softVersion()- Specified by:
softVersionin classPageRef
-
isEmpty
public boolean isEmpty() -
isCommitted
public boolean isCommitted()- Specified by:
isCommittedin classPageRef
-
pageRefSize
public int pageRefSize()- Specified by:
pageRefSizein classPageRef
-
pageSize
public int pageSize() -
diffSize
public int diffSize() -
treeSize
public long treeSize() -
toValue
-
reduced
public QTreePageRef reduced(Value identity, CombinerFunction<? super Value, Value> accumulator, CombinerFunction<Value, Value> combiner, long newVersion) -
evacuated
-
committed
-
uncommitted
- Specified by:
uncommittedin classPageRef
-
writePageRef
- Specified by:
writePageRefin classPageRef
-
writePage
-
writeDiff
-
buildDiff
-
setPageValue
- Specified by:
setPageValuein classPageRef
-
loadPage
-
loadPage
-
loadTree
-
loadTree
-
soften
public void soften(long version) -
cursor
-
cursor
-
depthCursor
-
depthCursor
-
deltaCursor
-
deltaCursor
-
tileCursor
-
tileCursor
-
toString
-
empty
-
fromValue
-