- java.lang.Object
-
- swim.db.PageRef
-
- swim.db.STreePageRef
-
public final class STreePageRef extends PageRef
-
-
Constructor Summary
Constructors Constructor Description STreePageRef(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
-
Methods inherited from class swim.db.PageRef
settings, toDebugString
-
-
-
-
Constructor Detail
-
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 Detail
-
pageContext
public PageContext pageContext()
- Specified by:
pageContext
in classPageRef
-
softVersion
public long softVersion()
- Specified by:
softVersion
in classPageRef
-
isCommitted
public boolean isCommitted()
- Specified by:
isCommitted
in classPageRef
-
pageRefSize
public int pageRefSize()
- Specified by:
pageRefSize
in classPageRef
-
reduced
public STreePageRef reduced(Value identity, CombinerFunction<? super Value,Value> accumulator, CombinerFunction<Value,Value> combiner, long newVersion)
-
evacuated
public STreePageRef evacuated(int post, long version)
-
committed
public STreePageRef committed(int zone, long base, long version)
-
uncommitted
public STreePageRef uncommitted(long version)
- Specified by:
uncommitted
in classPageRef
-
writePageRef
public void writePageRef(Output<?> output)
- Specified by:
writePageRef
in classPageRef
-
setPageValue
public STreePage setPageValue(Value value, boolean isResident)
- Specified by:
setPageValue
in classPageRef
-
loadPage
public STreePage loadPage(PageLoader pageLoader)
-
loadTree
public STreePage loadTree(PageLoader pageLoader)
-
empty
public static STreePageRef empty(PageContext context, int stem, long version)
-
fromValue
public static STreePageRef fromValue(PageContext context, int stem, Value value)
-
-