java.lang.Object
swim.db.Tree
swim.db.QTree
-
Constructor Summary
ConstructorsConstructorDescriptionQTree
(TreeContext treeContext, int stem, long version, boolean isResident, boolean isTransient) QTree
(TreeContext treeContext, QTreePageRef rootRef, Seed seed, boolean isResident, boolean isTransient) QTree
(TreeContext treeContext, Seed seed, boolean isResident, boolean isTransient) -
Method Summary
Modifier and TypeMethodDescriptionvoid
cleared
(long newVersion) committed
(int zone, long base, long version, long time) boolean
containsKey
(Value key) boolean
containsKey
(Value key, long x, long y) boolean
containsValue
(Value value) cursor()
cursor
(long x, long y) deltaCursor
(long sinceVersion) deltaCursor
(long x, long y, long sinceVersion) depthCursor
(int maxDepth) depthCursor
(long x, long y, int maxDepth) int
diffSize
(long version) evacuated
(int post, long version) boolean
isEmpty()
boolean
isResident
(boolean isResident) boolean
isTransient
(boolean isTransient) load()
moved
(Value key, long oldX, long oldY, long newX, long newY, Value newValue, long newVersion, int newPost) reduced
(Value identity, CombinerFunction<? super Value, Value> accumulator, CombinerFunction<Value, Value> combiner, long newVersion, int newPost) rootPage()
rootRef()
seed()
void
soften
(long version) long
treeSize()
treeType()
uncommitted
(long version) void
Methods inherited from class swim.db.Tree
fold, post, settings, setTreeDelegate, span, stem, toDiff, treeDelegate
-
Constructor Details
-
QTree
public QTree(TreeContext treeContext, QTreePageRef rootRef, Seed seed, boolean isResident, boolean isTransient) -
QTree
-
QTree
public QTree(TreeContext treeContext, int stem, long version, boolean isResident, boolean isTransient)
-
-
Method Details
-
treeType
-
treeContext
- Specified by:
treeContext
in classTree
-
rootRef
-
rootPage
-
seed
-
isResident
public boolean isResident()- Specified by:
isResident
in classTree
-
isResident
- Specified by:
isResident
in classTree
-
isTransient
public boolean isTransient()- Specified by:
isTransient
in classTree
-
isTransient
- Specified by:
isTransient
in classTree
-
isEmpty
public boolean isEmpty() -
containsKey
-
containsKey
-
containsValue
-
get
-
get
-
updated
-
moved
-
removed
-
cleared
-
diffSize
public int diffSize(long version) -
treeSize
public long treeSize() -
reduced
public QTree reduced(Value identity, CombinerFunction<? super Value, Value> accumulator, CombinerFunction<Value, Value> combiner, long newVersion, int newPost) -
evacuated
-
committed
-
uncommitted
- Specified by:
uncommitted
in classTree
-
writeDiff
-
buildDiff
-
load
-
soften
public void soften(long version) -
cursor
-
cursor
-
depthCursor
-
depthCursor
-
deltaCursor
-
deltaCursor
-