java.lang.Object
swim.db.Page
swim.db.STreePage
swim.db.STreeLeaf
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSTreeLeaf(STreePageRef pageRef, long version, Slot[] slots) -
Method Summary
Modifier and TypeMethodDescriptionintarity()balanced(long newVersion) voidintcommitted(int zone, long base, long version) booleanvoidcopyToArray(Object[] array, int offset) static STreeLeafcreate(PageContext context, int stem, long version, int zone, long base, Value fold, Slot[] slots) static STreeLeafcreate(PageContext context, int stem, long version, Value fold, Slot[] slots) cursor()deltaCursor(long sinceVersion) depthCursor(int maxDepth) intdiffSize()drop(long lower, long newVersion) static STreeLeafempty(PageContext context, int stem, long version) evacuated(int post, long version) static STreeLeaffromValue(STreePageRef pageRef, Value value) get(long index) getChild(int index) getChildRef(int index) getEntry(long index) getSlot(int x) longbooleanisEmpty()booleanisLeaf()longlastIndexOf(Object object) loadTree(PageLoader pageLoader) pageRef()intpageSize()pageType()reduced(Value identity, CombinerFunction<? super Value, Value> accumulator, CombinerFunction<Value, Value> combiner, long newVersion) removed(long index, long newVersion) voidsoften(long version) split(int x, long newVersion) splitLeft(int x, long newVersion) splitRight(int x, long newVersion) take(long upper, long newVersion) toHeader()toString()toValue()longtreeSize()uncommitted(long version) longversion()voidvoidMethods inherited from class swim.db.STreePage
appended, isSTreePage, prependedMethods inherited from class swim.db.Page
base, fold, isBTreePage, isNode, isQTreePage, isUTreePage, pageContext, post, printTree, span, stem, toDebugString, zone
-
Constructor Details
-
STreeLeaf
-
-
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 classSTreePage
-
getChild
-
contains
-
getSlot
-
get
-
getEntry
-
updated
-
inserted
-
removed
-
removed
-
drop
-
take
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOfin classSTreePage
-
copyToArray
- Specified by:
copyToArrayin classSTreePage
-
balanced
-
split
-
splitLeft
-
splitRight
- Specified by:
splitRightin classSTreePage
-
pageSize
public int pageSize() -
diffSize
public int diffSize() -
treeSize
public long treeSize() -
toHeader
-
toValue
-
reduced
public STreeLeaf reduced(Value identity, CombinerFunction<? super Value, Value> accumulator, CombinerFunction<Value, Value> combiner, long newVersion) -
evacuated
-
committed
-
uncommitted
- Specified by:
uncommittedin classSTreePage
-
writePage
-
writeDiff
-
buildDiff
-
loadTree
-
soften
public void soften(long version) -
cursor
-
depthCursor
- Specified by:
depthCursorin classSTreePage
-
deltaCursor
- Specified by:
deltaCursorin classSTreePage
-
toString
-
create
public static STreeLeaf create(PageContext context, int stem, long version, int zone, long base, Value fold, Slot[] slots) -
create
public static STreeLeaf create(PageContext context, int stem, long version, Value fold, Slot[] slots) -
empty
-
fromValue
-