java.lang.Object
swim.db.Page
swim.db.QTreePage
-
Method Summary
Modifier and TypeMethodDescriptionabstract QTreePagebalanced(long newVersion) abstract QTreePagecommitted(int zone, long base, long version) booleancontainsKey(swim.structure.Value key, int xkRank, long xkBase, int ykRank, long ykBase) abstract booleancontainsKey(swim.structure.Value key, long xk, long yk) swim.util.Cursor<swim.structure.Slot>cursor()abstract swim.util.Cursor<swim.structure.Slot>cursor(long x, long y) swim.util.Cursor<swim.structure.Slot>deltaCursor(long sinceVersion) abstract swim.util.Cursor<swim.structure.Slot>deltaCursor(long x, long y, long sinceVersion) swim.util.Cursor<swim.structure.Slot>depthCursor(int maxDepth) abstract swim.util.Cursor<swim.structure.Slot>depthCursor(long x, long y, int maxDepth) static QTreePageempty(PageContext context, int stem, long version) abstract QTreePageevacuated(int post, long version) abstract QTreePageflattened(long newVersion) static QTreePagefromValue(QTreePageRef pageRef, swim.structure.Value value) swim.structure.Valueget(swim.structure.Value key, int xkRank, long xkBase, int ykRank, long ykBase) abstract swim.structure.Valueget(swim.structure.Value key, long xk, long yk) swim.structure.RecordgetAll(long x, long y) swim.structure.RecordgetAll(long x0, long y0, long x1, long y1) abstract QTreePagegetChild(int index) abstract QTreePageRefgetChildRef(int index) abstract swim.structure.SlotgetSlot(int index) booleanabstract QTreePageloadTree(PageLoader pageLoader) abstract QTreePageRefpageRef()abstract QTreePagereduced(swim.structure.Value identity, swim.util.CombinerFunction<? super swim.structure.Value, swim.structure.Value> accumulator, swim.util.CombinerFunction<swim.structure.Value, swim.structure.Value> combiner, long newVersion) removed(swim.structure.Value key, int xkRank, long xkBase, int ykRank, long ykBase, long newVersion) abstract QTreePageremoved(swim.structure.Value key, long xk, long yk, long newVersion) abstract intswim.util.Cursor<swim.structure.Slot>abstract swim.util.Cursor<swim.structure.Slot>tileCursor(long x, long y) abstract QTreePageuncommitted(long version) updated(swim.structure.Value key, int xkRank, long xkBase, int ykRank, long ykBase, swim.structure.Value newValue, long newVersion) updated(swim.structure.Value key, long xk, long yk, swim.structure.Value newValue, long newVersion) longx()longxBase()longxMask()intxRank()longxSplit()longy()longyBase()longyMask()intyRank()longySplit()Methods inherited from class swim.db.Page
arity, base, buildDiff, childCount, diffSize, fold, isBTreePage, isEmpty, isLeaf, isNode, isSTreePage, isUTreePage, pageContext, pageSize, pageType, post, printTree, soften, span, stem, toDebugString, toHeader, toValue, treeSize, version, writeDiff, writePage, zone
-
Method Details
-
isQTreePage
public boolean isQTreePage()- Overrides:
isQTreePagein classPage
-
pageRef
-
getChildRef
- Specified by:
getChildRefin classPage
-
getChild
-
x
public long x() -
xRank
public int xRank() -
xBase
public long xBase() -
xMask
public long xMask() -
xSplit
public long xSplit() -
y
public long y() -
yRank
public int yRank() -
yBase
public long yBase() -
yMask
public long yMask() -
ySplit
public long ySplit() -
slotCount
public abstract int slotCount() -
getSlot
public abstract swim.structure.Slot getSlot(int index) -
containsKey
public abstract boolean containsKey(swim.structure.Value key, long xk, long yk) -
containsKey
public boolean containsKey(swim.structure.Value key, int xkRank, long xkBase, int ykRank, long ykBase) -
get
public abstract swim.structure.Value get(swim.structure.Value key, long xk, long yk) -
get
public swim.structure.Value get(swim.structure.Value key, int xkRank, long xkBase, int ykRank, long ykBase) -
getAll
public swim.structure.Record getAll(long x, long y) -
getAll
public swim.structure.Record getAll(long x0, long y0, long x1, long y1) -
updated
public QTreePage updated(swim.structure.Value key, long xk, long yk, swim.structure.Value newValue, long newVersion) -
updated
public QTreePage updated(swim.structure.Value key, int xkRank, long xkBase, int ykRank, long ykBase, swim.structure.Value newValue, long newVersion) -
removed
-
removed
public QTreePage removed(swim.structure.Value key, int xkRank, long xkBase, int ykRank, long ykBase, long newVersion) -
flattened
-
balanced
-
reduced
public abstract QTreePage reduced(swim.structure.Value identity, swim.util.CombinerFunction<? super swim.structure.Value, swim.structure.Value> accumulator, swim.util.CombinerFunction<swim.structure.Value, swim.structure.Value> combiner, long newVersion) -
evacuated
-
committed
-
uncommitted
- Specified by:
uncommittedin classPage
-
loadTree
-
cursor
public swim.util.Cursor<swim.structure.Slot> cursor() -
cursor
public abstract swim.util.Cursor<swim.structure.Slot> cursor(long x, long y) -
depthCursor
public abstract swim.util.Cursor<swim.structure.Slot> depthCursor(long x, long y, int maxDepth) -
depthCursor
public swim.util.Cursor<swim.structure.Slot> depthCursor(int maxDepth) -
deltaCursor
public abstract swim.util.Cursor<swim.structure.Slot> deltaCursor(long x, long y, long sinceVersion) -
deltaCursor
public swim.util.Cursor<swim.structure.Slot> deltaCursor(long sinceVersion) -
tileCursor
public abstract swim.util.Cursor<swim.structure.Slot> tileCursor(long x, long y) -
tileCursor
public swim.util.Cursor<swim.structure.Slot> tileCursor() -
empty
-
fromValue
-