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 TypeMethodDescriptionlong
base()
void
committed
(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) int
diffSize()
static QTreePageRef
empty
(PageContext context, int stem, long version) evacuated
(int post, long version) fold()
static QTreePageRef
fromValue
(PageContext context, int stem, Value value) hardPage()
boolean
boolean
isEmpty()
loadPage
(boolean isResident) loadPage
(PageLoader pageLoader) loadTree
(boolean isResident) loadTree
(PageLoader pageLoader) page()
int
int
pageSize()
pageType()
int
post()
reduced
(Value identity, CombinerFunction<? super Value, Value> accumulator, CombinerFunction<Value, Value> combiner, long newVersion) setPageValue
(Value value, boolean isResident) void
soften
(long version) softPage()
long
long
span()
int
stem()
tileCursor
(long x, long y) toString()
toValue()
long
treeSize()
uncommitted
(long version) void
void
void
writePageRef
(Output<?> output) long
x()
long
xBase()
long
xMask()
int
xRank()
long
xSplit()
long
y()
long
yBase()
long
yMask()
int
yRank()
long
ySplit()
int
zone()
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:
pageContext
in 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:
softVersion
in classPageRef
-
isEmpty
public boolean isEmpty() -
isCommitted
public boolean isCommitted()- Specified by:
isCommitted
in classPageRef
-
pageRefSize
public int pageRefSize()- Specified by:
pageRefSize
in 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:
uncommitted
in classPageRef
-
writePageRef
- Specified by:
writePageRef
in classPageRef
-
writePage
-
writeDiff
-
buildDiff
-
setPageValue
- Specified by:
setPageValue
in classPageRef
-
loadPage
-
loadPage
-
loadTree
-
loadTree
-
soften
public void soften(long version) -
cursor
-
cursor
-
depthCursor
-
depthCursor
-
deltaCursor
-
deltaCursor
-
tileCursor
-
tileCursor
-
toString
-
empty
-
fromValue
-