java.lang.Object
swim.db.Page
swim.db.UTreePage
swim.db.UTreeLeaf
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
UTreeLeaf
(UTreePageRef pageRef, long version, Value value) -
Method Summary
Modifier and TypeMethodDescriptionint
arity()
void
int
committed
(int zone, long base, long version) static UTreeLeaf
create
(PageContext context, int stem, long version, int zone, long base, Value value) static UTreeLeaf
create
(PageContext context, int stem, long version, Value value) cursor()
int
diffSize()
static UTreeLeaf
empty
(PageContext context, int stem, long version) evacuated
(int post, long version) static UTreeLeaf
fromValue
(UTreePageRef pageRef, Value value) get()
getChild
(int index) getChildRef
(int index) boolean
isEmpty()
boolean
isLeaf()
loadTree
(PageLoader pageLoader) pageRef()
int
pageSize()
pageType()
void
soften
(long version) toHeader()
toString()
toValue()
long
treeSize()
uncommitted
(long version) long
version()
void
void
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 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:
childCount
in classPage
-
getChildRef
- Specified by:
getChildRef
in classUTreePage
-
getChild
-
get
-
updated
-
pageSize
public int pageSize() -
diffSize
public int diffSize() -
treeSize
public long treeSize() -
toHeader
-
toValue
-
evacuated
-
committed
-
uncommitted
- Specified by:
uncommitted
in 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
-