java.lang.Object
swim.db.PageRef
swim.db.STreePageRef
-
Constructor Summary
ConstructorsConstructorDescriptionSTreePageRef
(PageContext context, PageType pageType, int stem, int post, int zone, long base, long span, Value fold) STreePageRef
(PageContext context, PageType pageType, int stem, int post, int zone, long base, long span, Value fold, Object page) STreePageRef
(PageContext context, PageType pageType, int stem, int post, int zone, long base, long span, 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()
deltaCursor
(long sinceVersion) depthCursor
(int maxDepth) int
diffSize()
static STreePageRef
empty
(PageContext context, int stem, long version) evacuated
(int post, long version) fold()
static STreePageRef
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()
toString()
toValue()
long
treeSize()
uncommitted
(long version) void
void
void
writePageRef
(Output<?> output) int
zone()
Methods inherited from class swim.db.PageRef
settings, toDebugString
-
Constructor Details
-
STreePageRef
public STreePageRef(PageContext context, PageType pageType, int stem, int post, int zone, long base, long span, Value fold, Object page, int pageRefSize, int pageSize, int diffSize, long treeSize) -
STreePageRef
public STreePageRef(PageContext context, PageType pageType, int stem, int post, int zone, long base, long span, Value fold, Object page) -
STreePageRef
public STreePageRef(PageContext context, PageType pageType, int stem, int post, int zone, long base, long span, 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() -
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 STreePageRef 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
-
depthCursor
-
deltaCursor
-
toString
-
empty
-
fromValue
-