- 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(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)booleanisQTreePage()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)QTreePageremoved(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 intslotCount()swim.util.Cursor<swim.structure.Slot>tileCursor()abstract swim.util.Cursor<swim.structure.Slot>tileCursor(long x, long y)abstract QTreePageuncommitted(long version)QTreePageupdated(swim.structure.Value key, int xkRank, long xkBase, int ykRank, long ykBase, swim.structure.Value newValue, long newVersion)QTreePageupdated(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, 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
-
empty
public static QTreePage empty(PageContext context, int stem, long version)
-
fromValue
public static QTreePage fromValue(QTreePageRef pageRef, swim.structure.Value value)
-
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 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
public abstract QTreePage removed(swim.structure.Value key, long xk, long yk, long newVersion)
-
removed
public QTreePage removed(swim.structure.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(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
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
-
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()
-
-