java.lang.Object
swim.db.Page
swim.db.UTreePage
swim.db.UTreeLeaf
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUTreeLeaf(UTreePageRef pageRef, long version, Value value) -
Method Summary
Modifier and TypeMethodDescriptionintarity()voidintcommitted(int zone, long base, long version) static UTreeLeafcreate(PageContext context, int stem, long version, int zone, long base, Value value) static UTreeLeafcreate(PageContext context, int stem, long version, Value value) cursor()intdiffSize()static UTreeLeafempty(PageContext context, int stem, long version) evacuated(int post, long version) static UTreeLeaffromValue(UTreePageRef pageRef, Value value) get()getChild(int index) getChildRef(int index) booleanisEmpty()booleanisLeaf()loadTree(PageLoader pageLoader) pageRef()intpageSize()pageType()voidsoften(long version) toHeader()toString()toValue()longtreeSize()uncommitted(long version) longversion()voidvoidMethods inherited from class swim.db.UTreePage
isUTreePageMethods inherited from class swim.db.Page
base, fold, isBTreePage, isNode, isQTreePage, isSTreePage, pageContext, post, printTree, span, stem, toDebugString, zone
-
Constructor Details
-
UTreeLeaf
-
-
Method Details
-
isLeaf
public boolean isLeaf() -
pageRef
-
pageType
-
version
public long version() -
isEmpty
public boolean isEmpty() -
arity
public int arity() -
childCount
public int childCount()- Specified by:
childCountin classPage
-
getChildRef
- Specified by:
getChildRefin classUTreePage
-
getChild
-
get
-
updated
-
pageSize
public int pageSize() -
diffSize
public int diffSize() -
treeSize
public long treeSize() -
toHeader
-
toValue
-
evacuated
-
committed
-
uncommitted
- Specified by:
uncommittedin classUTreePage
-
writePage
-
writeDiff
-
buildDiff
-
loadTree
-
soften
public void soften(long version) -
cursor
-
toString
-
create
public static UTreeLeaf create(PageContext context, int stem, long version, int zone, long base, Value value) -
create
-
empty
-
fromValue
-