- java.lang.Object
-
- swim.db.Page
-
- swim.db.QTreePage
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract QTreePage
balanced(long newVersion)
abstract QTreePage
committed(int zone, long base, long version)
boolean
containsKey(Value key, int xkRank, long xkBase, int ykRank, long ykBase)
abstract boolean
containsKey(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 QTreePage
empty(PageContext context, int stem, long version)
abstract QTreePage
evacuated(int post, long version)
abstract QTreePage
flattened(long newVersion)
static QTreePage
fromValue(QTreePageRef pageRef, Value value)
Value
get(Value key, int xkRank, long xkBase, int ykRank, long ykBase)
abstract Value
get(Value key, long xk, long yk)
Record
getAll(long x, long y)
Record
getAll(long x0, long y0, long x1, long y1)
abstract QTreePage
getChild(int index)
abstract QTreePageRef
getChildRef(int index)
abstract Slot
getSlot(int index)
boolean
isQTreePage()
abstract QTreePage
loadTree(PageLoader pageLoader)
abstract QTreePageRef
pageRef()
abstract QTreePage
reduced(Value identity, CombinerFunction<? super Value,Value> accumulator, CombinerFunction<Value,Value> combiner, long newVersion)
QTreePage
removed(Value key, int xkRank, long xkBase, int ykRank, long ykBase, long newVersion)
abstract QTreePage
removed(Value key, long xk, long yk, long newVersion)
abstract int
slotCount()
Cursor<Slot>
tileCursor()
abstract Cursor<Slot>
tileCursor(long x, long y)
abstract QTreePage
uncommitted(long version)
QTreePage
updated(Value key, int xkRank, long xkBase, int ykRank, long ykBase, Value newValue, long newVersion)
QTreePage
updated(Value key, long xk, long yk, Value newValue, long newVersion)
long
x()
long
xBase()
long
xMask()
int
xRank()
long
xSplit()
long
y()
long
yBase()
long
yMask()
int
yRank()
long
ySplit()
-
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 Detail
-
isQTreePage
public boolean isQTreePage()
- Overrides:
isQTreePage
in classPage
-
pageRef
public abstract QTreePageRef pageRef()
-
getChildRef
public abstract QTreePageRef getChildRef(int index)
- Specified by:
getChildRef
in 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:
uncommitted
in classPage
-
loadTree
public abstract QTreePage loadTree(PageLoader pageLoader)
-
empty
public static QTreePage empty(PageContext context, int stem, long version)
-
fromValue
public static QTreePage fromValue(QTreePageRef pageRef, Value value)
-
-