- java.lang.Object
-
- swim.db.Page
-
- swim.db.UTreePage
-
- swim.db.UTreeLeaf
-
public final class UTreeLeaf extends UTreePage
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedUTreeLeaf(UTreePageRef pageRef, long version, Value value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intarity()voidbuildDiff(Builder<Page,?> builder)intchildCount()UTreeLeafcommitted(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<Value>cursor()intdiffSize()static UTreeLeafempty(PageContext context, int stem, long version)UTreeLeafevacuated(int post, long version)static UTreeLeaffromValue(UTreePageRef pageRef, Value value)Valueget()UTreePagegetChild(int index)UTreePageRefgetChildRef(int index)booleanisEmpty()booleanisLeaf()UTreePageloadTree(PageLoader pageLoader)UTreePageRefpageRef()intpageSize()PageTypepageType()voidsoften(long version)ValuetoHeader()StringtoString()ValuetoValue()longtreeSize()UTreeLeafuncommitted(long version)UTreePageupdated(Value newValue, long newVersion)longversion()voidwriteDiff(Output<?> output)voidwritePage(Output<?> output)-
Methods inherited from class swim.db.UTreePage
isUTreePage
-
Methods inherited from class swim.db.Page
base, fold, isBTreePage, isNode, isQTreePage, isSTreePage, pageContext, post, printTree, span, stem, toDebugString, zone
-
-
-
-
Constructor Detail
-
UTreeLeaf
protected UTreeLeaf(UTreePageRef pageRef, long version, Value value)
-
-
Method Detail
-
pageRef
public UTreePageRef pageRef()
-
childCount
public int childCount()
- Specified by:
childCountin classPage
-
getChildRef
public UTreePageRef getChildRef(int index)
- Specified by:
getChildRefin classUTreePage
-
evacuated
public UTreeLeaf evacuated(int post, long version)
-
committed
public UTreeLeaf committed(int zone, long base, long version)
-
uncommitted
public UTreeLeaf uncommitted(long version)
- Specified by:
uncommittedin classUTreePage
-
loadTree
public UTreePage loadTree(PageLoader pageLoader)
-
create
public static UTreeLeaf create(PageContext context, int stem, long version, int zone, long base, Value value)
-
create
public static UTreeLeaf create(PageContext context, int stem, long version, Value value)
-
empty
public static UTreeLeaf empty(PageContext context, int stem, long version)
-
fromValue
public static UTreeLeaf fromValue(UTreePageRef pageRef, Value value)
-
-