java.lang.Object
swim.db.PageRef
swim.db.BTreePageRef
-
Constructor Summary
ConstructorsConstructorDescriptionBTreePageRef(PageContext context, PageType pageType, int stem, int post, int zone, long base, long span, Value fold) BTreePageRef(PageContext context, PageType pageType, int stem, int post, int zone, long base, long span, Value fold, Object page) BTreePageRef(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 TypeMethodDescriptionlongbase()voidcommitted(int zone, long base, long version) cursor()deltaCursor(long sinceVersion) depthCursor(int maxDepth) intdiffSize()static BTreePageRefempty(PageContext context, int stem, long version) evacuated(int post, long version) fold()static BTreePageReffromValue(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()toString()toValue()longtreeSize()uncommitted(long version) voidvoidvoidwritePageRef(Output<?> output) intzone()Methods inherited from class swim.db.PageRef
settings, toDebugString
-
Constructor Details
-
BTreePageRef
public BTreePageRef(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) -
BTreePageRef
public BTreePageRef(PageContext context, PageType pageType, int stem, int post, int zone, long base, long span, Value fold, Object page) -
BTreePageRef
public BTreePageRef(PageContext context, PageType pageType, int stem, int post, int zone, long base, long span, 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() -
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 BTreePageRef 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
-
depthCursor
-
deltaCursor
-
toString
-
empty
-
fromValue
-