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 TypeMethodDescriptionvoidcleared(long newVersion) committed(int zone, long base, long version, long time) booleancontainsKey(Value key) booleancontainsKey(Value key, long x, long y) booleancontainsValue(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) intdiffSize(long version) evacuated(int post, long version) booleanisEmpty()booleanisResident(boolean isResident) booleanisTransient(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()voidsoften(long version) longtreeSize()treeType()uncommitted(long version) voidMethods 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:
treeContextin classTree
-
rootRef
-
rootPage
-
seed
-
isResident
public boolean isResident()- Specified by:
isResidentin classTree
-
isResident
- Specified by:
isResidentin classTree
-
isTransient
public boolean isTransient()- Specified by:
isTransientin classTree
-
isTransient
- Specified by:
isTransientin 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:
uncommittedin classTree
-
writeDiff
-
buildDiff
-
load
-
soften
public void soften(long version) -
cursor
-
cursor
-
depthCursor
-
depthCursor
-
deltaCursor
-
deltaCursor
-