java.lang.Object
swim.db.Page
swim.db.QTreePage
swim.db.QTreeLeaf
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedQTreeLeaf(QTreePageRef pageRef, long version, Slot[] slots) -
Method Summary
Modifier and TypeMethodDescriptionintarity()balanced(long newVersion) voidintcommitted(int zone, long base, long version) booleancontainsKey(Value key, long xk, long yk) static QTreeLeafcreate(PageContext context, int stem, long version, int zone, long base, long x, long y, Value fold, Slot[] slots) static QTreeLeafcreate(PageContext context, int stem, long version, long x, long y, Value fold, Slot[] slots) static QTreeLeafcreate(PageContext context, int stem, long version, Value fold, Slot[] slots) cursor(long x, long y) deltaCursor(long x, long y, long sinceVersion) depthCursor(long x, long y, int maxDepth) static QTreeLeafempty(PageContext context, int stem, long version) evacuated(int post, long version) flattened(long newVersion) static QTreeLeaffromValue(QTreePageRef pageRef, Value value) getChild(int index) getChildRef(int index) getSlot(int index) booleanisEmpty()booleanisLeaf()loadTree(PageLoader pageLoader) pageRef()pageType()reduced(Value identity, CombinerFunction<? super Value, Value> accumulator, CombinerFunction<Value, Value> combiner, long newVersion) intvoidsoften(long version) tileCursor(long x, long y) toHeader()toString()toValue()uncommitted(long version) longversion()voidvoidMethods inherited from class swim.db.QTreePage
containsKey, cursor, deltaCursor, depthCursor, get, getAll, getAll, isQTreePage, removed, tileCursor, updated, updated, x, xBase, xMask, xRank, xSplit, y, yBase, yMask, yRank, ySplitMethods inherited from class swim.db.Page
base, diffSize, fold, isBTreePage, isNode, isSTreePage, isUTreePage, pageContext, pageSize, post, printTree, span, stem, toDebugString, treeSize, zone
-
Constructor Details
-
QTreeLeaf
-
-
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 classQTreePage
-
getChild
-
slotCount
public int slotCount() -
getSlot
-
containsKey
- Specified by:
containsKeyin classQTreePage
-
get
-
updated
-
removed
-
flattened
-
balanced
-
toHeader
-
toValue
-
reduced
public QTreeLeaf reduced(Value identity, CombinerFunction<? super Value, Value> accumulator, CombinerFunction<Value, Value> combiner, long newVersion) -
evacuated
-
committed
-
uncommitted
- Specified by:
uncommittedin classQTreePage
-
writePage
-
writeDiff
-
buildDiff
-
loadTree
-
soften
public void soften(long version) -
cursor
-
depthCursor
- Specified by:
depthCursorin classQTreePage
-
deltaCursor
- Specified by:
deltaCursorin classQTreePage
-
tileCursor
- Specified by:
tileCursorin classQTreePage
-
toString
-
create
public static QTreeLeaf create(PageContext context, int stem, long version, int zone, long base, long x, long y, Value fold, Slot[] slots) -
create
public static QTreeLeaf create(PageContext context, int stem, long version, long x, long y, Value fold, Slot[] slots) -
create
public static QTreeLeaf create(PageContext context, int stem, long version, Value fold, Slot[] slots) -
empty
-
fromValue
-