java.lang.Object
swim.db.Page
swim.db.UTreePage
swim.db.UTreeLeaf
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUTreeLeaf(UTreePageRef pageRef, long version, swim.structure.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, swim.structure.Value value) static UTreeLeafcreate(PageContext context, int stem, long version, swim.structure.Value value) swim.util.Cursor<swim.structure.Value>cursor()intdiffSize()static UTreeLeafempty(PageContext context, int stem, long version) evacuated(int post, long version) static UTreeLeaffromValue(UTreePageRef pageRef, swim.structure.Value value) swim.structure.Valueget()getChild(int index) getChildRef(int index) booleanisEmpty()booleanisLeaf()loadTree(PageLoader pageLoader) pageRef()intpageSize()pageType()voidsoften(long version) swim.structure.ValuetoHeader()toString()swim.structure.ValuetoValue()longtreeSize()uncommitted(long version) updated(swim.structure.Value newValue, long newVersion) longversion()voidwriteDiff(swim.codec.Output<?> output) voidwritePage(swim.codec.Output<?> output) Methods 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
public swim.structure.Value get() -
updated
-
pageSize
public int pageSize() -
diffSize
public int diffSize() -
treeSize
public long treeSize() -
toHeader
public swim.structure.Value toHeader() -
toValue
public swim.structure.Value toValue() -
evacuated
-
committed
-
uncommitted
- Specified by:
uncommittedin classUTreePage
-
writePage
public void writePage(swim.codec.Output<?> output) -
writeDiff
public void writeDiff(swim.codec.Output<?> output) -
buildDiff
-
loadTree
-
soften
public void soften(long version) -
cursor
public swim.util.Cursor<swim.structure.Value> cursor() -
toString
-
create
public static UTreeLeaf create(PageContext context, int stem, long version, int zone, long base, swim.structure.Value value) -
create
public static UTreeLeaf create(PageContext context, int stem, long version, swim.structure.Value value) -
empty
-
fromValue
-