java.lang.Object
swim.db.Page
swim.db.QTreePage
swim.db.QTreeLeaf
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
QTreeLeaf
(QTreePageRef pageRef, long version, 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 QTreeLeaf
create
(PageContext context, int stem, long version, int zone, long base, long x, long y, Value fold, Slot[] slots) static QTreeLeaf
create
(PageContext context, int stem, long version, long x, long y, Value fold, Slot[] slots) static QTreeLeaf
create
(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 QTreeLeaf
empty
(PageContext context, int stem, long version) evacuated
(int post, long version) flattened
(long newVersion) static QTreeLeaf
fromValue
(QTreePageRef pageRef, Value value) getChild
(int index) getChildRef
(int index) getSlot
(int index) boolean
isEmpty()
boolean
isLeaf()
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, 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, 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:
childCount
in classPage
-
getChildRef
- Specified by:
getChildRef
in classQTreePage
-
getChild
-
slotCount
public int slotCount() -
getSlot
-
containsKey
- Specified by:
containsKey
in 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:
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 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
-