java.lang.Object
swim.db.Page
swim.db.BTreePage
swim.db.BTreeLeaf
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBTreeLeaf(BTreePageRef pageRef, long version, Slot[] slots) -
Method Summary
Modifier and TypeMethodDescriptionintarity()balanced(long newVersion) voidintcommitted(int zone, long base, long version) booleancontainsKey(Value key) booleancontainsValue(Value value) static BTreeLeafcreate(PageContext context, int stem, long version, int zone, long base, Value fold, Slot[] slots) static BTreeLeafcreate(PageContext context, int stem, long version, Value fold, Slot[] slots) cursor()deltaCursor(long sinceVersion) depthCursor(int maxDepth) intdiffSize()drop(long lower, long newVersion) static BTreeLeafempty(PageContext context, int stem, long version) evacuated(int post, long version) firstEntry(Value key) static BTreeLeaffromValue(BTreePageRef pageRef, Value value) getChild(int index) getChildRef(int index) getIndex(long index) getKey(int x) getSlot(int x) longbooleanisEmpty()booleanisLeaf()loadTree(PageLoader pageLoader) maxKey()minKey()pageRef()intpageSize()pageType()previousEntry(Value key) reduced(Value identity, CombinerFunction<? super Value, Value> accumulator, CombinerFunction<Value, Value> combiner, 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.BTreePage
isBTreePageMethods inherited from class swim.db.Page
base, fold, isNode, isQTreePage, isSTreePage, isUTreePage, pageContext, post, printTree, span, stem, toDebugString, zone
-
Constructor Details
-
BTreeLeaf
-
-
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 classBTreePage
-
getChild
-
getSlot
-
getKey
-
minKey
-
maxKey
-
indexOf
-
containsKey
- Specified by:
containsKeyin classBTreePage
-
containsValue
- Specified by:
containsValuein classBTreePage
-
get
-
getEntry
-
getIndex
-
firstEntry
- Specified by:
firstEntryin classBTreePage
-
firstEntry
- Specified by:
firstEntryin classBTreePage
-
lastEntry
-
nextEntry
-
previousEntry
- Specified by:
previousEntryin classBTreePage
-
updated
-
removed
-
drop
-
take
-
balanced
-
split
-
splitLeft
-
splitRight
- Specified by:
splitRightin classBTreePage
-
pageSize
public int pageSize() -
diffSize
public int diffSize() -
treeSize
public long treeSize() -
toHeader
-
toValue
-
reduced
public BTreeLeaf reduced(Value identity, CombinerFunction<? super Value, Value> accumulator, CombinerFunction<Value, Value> combiner, long newVersion) -
evacuated
-
committed
-
uncommitted
- Specified by:
uncommittedin classBTreePage
-
writePage
-
writeDiff
-
buildDiff
-
loadTree
-
soften
public void soften(long version) -
cursor
-
depthCursor
- Specified by:
depthCursorin classBTreePage
-
deltaCursor
- Specified by:
deltaCursorin classBTreePage
-
toString
-
create
public static BTreeLeaf create(PageContext context, int stem, long version, int zone, long base, Value fold, Slot[] slots) -
create
public static BTreeLeaf create(PageContext context, int stem, long version, Value fold, Slot[] slots) -
empty
-
fromValue
-