java.lang.Object
swim.db.Page
swim.db.QTreePage
swim.db.QTreeNode
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
QTreeNode
(QTreePageRef pageRef, long version, QTreePageRef[] childRefs, Slot[] slots) -
Method Summary
Modifier and TypeMethodDescriptionint
arity()
balanced
(long newVersion) void
int
committed
(int zone, long base, long version) boolean
containsKey
(Value key, long xk, long yk) 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) 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) static QTreeNode
create
(PageContext context, int stem, long version, long span, long x, long y, Value fold, QTreePageRef[] childRefs, Slot[] slots) static QTreeNode
create
(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 QTreeNode
fromValue
(QTreePageRef pageRef, Value value) getChild
(int index) getChildRef
(int index) getSlot
(int index) boolean
isEmpty()
boolean
isNode()
loadTree
(PageLoader pageLoader) pageRef()
pageType()
reduced
(Value identity, CombinerFunction<? super Value, Value> accumulator, CombinerFunction<Value, Value> combiner, long newVersion) int
void
soften
(long version) tileCursor
(long x, long y) toHeader()
toString()
toValue()
uncommitted
(long version) long
version()
void
void
Methods 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, ySplit
Methods 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:
childCount
in classPage
-
getChildRef
- Specified by:
getChildRef
in classQTreePage
-
getChild
-
slotCount
public int slotCount() -
getSlot
-
containsKey
- Specified by:
containsKey
in 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:
uncommitted
in classQTreePage
-
writePage
-
writeDiff
-
buildDiff
-
loadTree
-
soften
public void soften(long version) -
cursor
-
depthCursor
- Specified by:
depthCursor
in classQTreePage
-
deltaCursor
- Specified by:
deltaCursor
in classQTreePage
-
tileCursor
- Specified by:
tileCursor
in 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
-