java.lang.Object
swim.db.Page
swim.db.QTreePage
swim.db.QTreeNode
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedQTreeNode(QTreePageRef pageRef, long version, QTreePageRef[] childRefs, 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 QTreeNodecreate(PageContext context, int stem, long version, int post, int zone, long base, long span, long x, long y, Value fold, QTreePageRef[] childRefs, Slot[] slots) static QTreeNodecreate(PageContext context, int stem, long version, int zone, long base, long span, long x, long y, Value fold, QTreePageRef[] childRefs, Slot[] slots) static QTreeNodecreate(PageContext context, int stem, long version, long span, long x, long y, Value fold, QTreePageRef[] childRefs, Slot[] slots) static QTreeNodecreate(PageContext context, int stem, long version, long span, Value fold, QTreePageRef[] childRefs, Slot[] slots) cursor(long x, long y) deltaCursor(long x, long y, long sinceVersion) depthCursor(long x, long y, int maxDepth) evacuated(int post, long version) flattened(long newVersion) static QTreeNodefromValue(QTreePageRef pageRef, Value value) getChild(int index) getChildRef(int index) getSlot(int index) booleanisEmpty()booleanisNode()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, empty, 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, isLeaf, isSTreePage, isUTreePage, pageContext, pageSize, post, printTree, span, stem, toDebugString, treeSize, zone
-
Constructor Details
-
QTreeNode
-
-
Method Details
-
isNode
public boolean isNode() -
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
-
removed
-
flattened
-
balanced
-
toHeader
-
toValue
-
reduced
public QTreeNode 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 QTreeNode create(PageContext context, int stem, long version, int post, int zone, long base, long span, long x, long y, Value fold, QTreePageRef[] childRefs, Slot[] slots) -
create
public static QTreeNode create(PageContext context, int stem, long version, int zone, long base, long span, long x, long y, Value fold, QTreePageRef[] childRefs, Slot[] slots) -
create
public static QTreeNode create(PageContext context, int stem, long version, long span, long x, long y, Value fold, QTreePageRef[] childRefs, Slot[] slots) -
create
public static QTreeNode create(PageContext context, int stem, long version, long span, Value fold, QTreePageRef[] childRefs, Slot[] slots) -
fromValue
-