- java.lang.Object
-
- swim.db.PageContext
-
- swim.db.TreeContext
-
- Direct Known Subclasses:
Trunk
public class TreeContext extends PageContext
-
-
Constructor Summary
Constructors Constructor Description TreeContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
btreeDidDrop(BTree newTree, BTree oldTree, long lower)
void
btreeDidRemove(BTree newTree, BTree oldTree, Value key, Value oldValue)
void
btreeDidTake(BTree newTree, BTree oldTree, long upper)
void
btreeDidUpdate(BTree newTree, BTree oldTree, Value key, Value newValue, Value oldValue)
void
qtreeDidMove(QTree newTree, QTree oldTree, Value key, long newX, long newY, Value newValue, long oldX, long oldY, Value oldValue)
void
qtreeDidRemove(QTree newTree, QTree oldTree, Value key, long x, long y, Value oldValue)
void
qtreeDidUpdate(QTree newTree, QTree oldTree, Value key, long x, long y, Value newValue, Value oldValue)
void
setTreeDelegate(TreeDelegate treeDelegate)
void
streeDidDrop(STree newTree, STree oldTree, long lower)
void
streeDidInsert(STree newTree, STree oldTree, long index, Value key, Value newValue)
void
streeDidMove(STree newTree, STree oldTree, long fromIndex, long toIndex, Value key, Value value)
void
streeDidRemove(STree newTree, STree oldTree, long index, Value key, Value oldValue)
void
streeDidTake(STree newTree, STree oldTree, long upper)
void
streeDidUpdate(STree newTree, STree oldTree, long index, Value key, Value newValue, Value oldValue)
TreeDelegate
treeDelegate()
void
treeDidChange(Tree newTree, Tree oldTree)
void
treeDidClear(Tree newTree, Tree oldTree)
void
treeDidCommit(Tree newTree, Tree oldTree)
void
utreeDidUpdate(UTree newTree, UTree oldTree, Value newValue, Value oldValue)
-
Methods inherited from class swim.db.PageContext
hitPage, openPageLoader, pageShouldMerge, pageShouldMerge, pageShouldSplit, pageShouldSplit, reduce, settings, stage
-
-
-
-
Method Detail
-
treeDelegate
public TreeDelegate treeDelegate()
-
setTreeDelegate
public void setTreeDelegate(TreeDelegate treeDelegate)
-
btreeDidUpdate
public void btreeDidUpdate(BTree newTree, BTree oldTree, Value key, Value newValue, Value oldValue)
-
qtreeDidUpdate
public void qtreeDidUpdate(QTree newTree, QTree oldTree, Value key, long x, long y, Value newValue, Value oldValue)
-
qtreeDidMove
public void qtreeDidMove(QTree newTree, QTree oldTree, Value key, long newX, long newY, Value newValue, long oldX, long oldY, Value oldValue)
-
qtreeDidRemove
public void qtreeDidRemove(QTree newTree, QTree oldTree, Value key, long x, long y, Value oldValue)
-
streeDidUpdate
public void streeDidUpdate(STree newTree, STree oldTree, long index, Value key, Value newValue, Value oldValue)
-
streeDidInsert
public void streeDidInsert(STree newTree, STree oldTree, long index, Value key, Value newValue)
-
streeDidRemove
public void streeDidRemove(STree newTree, STree oldTree, long index, Value key, Value oldValue)
-
streeDidMove
public void streeDidMove(STree newTree, STree oldTree, long fromIndex, long toIndex, Value key, Value value)
-
-