- java.lang.Object
-
- swim.db.Page
-
- swim.db.QTreePage
-
-
Constructor Summary
Constructors Constructor Description QTreePage()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract QTreePagebalanced(long newVersion)abstract QTreePagecommitted(int zone, long base, long version)booleancontainsKey(Value key, int xkRank, long xkBase, int ykRank, long ykBase)abstract booleancontainsKey(Value key, long xk, long yk)Cursor<Slot>cursor()abstract Cursor<Slot>cursor(long x, long y)Cursor<Slot>deltaCursor(long sinceVersion)abstract Cursor<Slot>deltaCursor(long x, long y, long sinceVersion)Cursor<Slot>depthCursor(int maxDepth)abstract Cursor<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, Value value)Valueget(Value key, int xkRank, long xkBase, int ykRank, long ykBase)abstract Valueget(Value key, long xk, long yk)RecordgetAll(long x, long y)RecordgetAll(long x0, long y0, long x1, long y1)abstract QTreePagegetChild(int index)abstract QTreePageRefgetChildRef(int index)abstract SlotgetSlot(int index)booleanisQTreePage()abstract QTreePageRefpageRef()abstract QTreePagereduced(Value identity, CombinerFunction<? super Value,Value> accumulator, CombinerFunction<Value,Value> combiner, long newVersion)QTreePageremoved(Value key, int xkRank, long xkBase, int ykRank, long ykBase, long newVersion)abstract QTreePageremoved(Value key, long xk, long yk, long newVersion)abstract intslotCount()Cursor<Slot>tileCursor()abstract Cursor<Slot>tileCursor(long x, long y)abstract QTreePageuncommitted(long version)QTreePageupdated(Value key, int xkRank, long xkBase, int ykRank, long ykBase, Value newValue, long newVersion)QTreePageupdated(Value key, long xk, long yk, Value newValue, long newVersion)longx()longxBase()longxMask()intxRank()longxSplit()longy()longyBase()longyMask()intyRank()longySplit()-
Methods inherited from class swim.db.Page
arity, base, childCount, diffSize, fold, isBTreePage, isEmpty, isLeaf, isNode, isSTreePage, isUTreePage, loadTreeAsync, pageContext, pageSize, pageType, post, printTree, soften, span, stem, toDebugString, toHeader, toValue, treeSize, version, writeDiff, writePage, zone
-
-
-
-
Method Detail
-
isQTreePage
public boolean isQTreePage()
- Overrides:
isQTreePagein classPage
-
pageRef
public abstract QTreePageRef pageRef()
-
getChildRef
public abstract QTreePageRef getChildRef(int index)
- Specified by:
getChildRefin classPage
-
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 Slot getSlot(int index)
-
containsKey
public abstract boolean containsKey(Value key, long xk, long yk)
-
containsKey
public boolean containsKey(Value key, int xkRank, long xkBase, int ykRank, long ykBase)
-
getAll
public Record getAll(long x, long y)
-
getAll
public Record getAll(long x0, long y0, long x1, long y1)
-
updated
public QTreePage updated(Value key, int xkRank, long xkBase, int ykRank, long ykBase, Value newValue, long newVersion)
-
removed
public QTreePage removed(Value key, int xkRank, long xkBase, int ykRank, long ykBase, long newVersion)
-
flattened
public abstract QTreePage flattened(long newVersion)
-
balanced
public abstract QTreePage balanced(long newVersion)
-
reduced
public abstract QTreePage reduced(Value identity, CombinerFunction<? super Value,Value> accumulator, CombinerFunction<Value,Value> combiner, long newVersion)
-
evacuated
public abstract QTreePage evacuated(int post, long version)
-
committed
public abstract QTreePage committed(int zone, long base, long version)
-
uncommitted
public abstract QTreePage uncommitted(long version)
- Specified by:
uncommittedin classPage
-
empty
public static QTreePage empty(PageContext context, int stem, long version)
-
fromValue
public static QTreePage fromValue(QTreePageRef pageRef, Value value)
-
-