- java.lang.Object
-
- swim.db.Tree
-
- swim.db.UTree
-
public final class UTree extends Tree
-
-
Constructor Summary
Constructors Constructor Description UTree(TreeContext treeContext, int stem, long version, boolean isResident, boolean isTransient)
UTree(TreeContext treeContext, Seed seed, boolean isResident, boolean isTransient)
UTree(TreeContext treeContext, UTreePageRef rootRef, Seed seed, boolean isResident, boolean isTransient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildDiff(long version, Builder<Page,?> builder)
UTree
cleared(long newVersion)
UTree
committed(int zone, long base, long version, long time)
Cursor<Value>
cursor()
int
diffSize(long version)
UTree
evacuated(int post, long version)
Value
get()
boolean
isEmpty()
boolean
isResident()
UTree
isResident(boolean isResident)
boolean
isTransient()
UTree
isTransient(boolean isTransient)
UTree
load()
UTreePage
rootPage()
UTreePageRef
rootRef()
Seed
seed()
void
soften(long version)
TreeContext
treeContext()
long
treeSize()
TreeType
treeType()
UTree
uncommitted(long version)
UTree
updated(Value newValue, long newVersion, int newPost)
void
writeDiff(Output<?> output, long version)
-
Methods inherited from class swim.db.Tree
fold, post, settings, setTreeDelegate, span, stem, toDiff, treeDelegate
-
-
-
-
Constructor Detail
-
UTree
public UTree(TreeContext treeContext, UTreePageRef rootRef, Seed seed, boolean isResident, boolean isTransient)
-
UTree
public UTree(TreeContext treeContext, Seed seed, boolean isResident, boolean isTransient)
-
UTree
public UTree(TreeContext treeContext, int stem, long version, boolean isResident, boolean isTransient)
-
-
Method Detail
-
treeContext
public TreeContext treeContext()
- Specified by:
treeContext
in classTree
-
rootRef
public UTreePageRef rootRef()
-
isResident
public boolean isResident()
- Specified by:
isResident
in classTree
-
isResident
public UTree isResident(boolean isResident)
- Specified by:
isResident
in classTree
-
isTransient
public boolean isTransient()
- Specified by:
isTransient
in classTree
-
isTransient
public UTree isTransient(boolean isTransient)
- Specified by:
isTransient
in classTree
-
get
public Value get()
-
cleared
public UTree cleared(long newVersion)
-
committed
public UTree committed(int zone, long base, long version, long time)
-
uncommitted
public UTree uncommitted(long version)
- Specified by:
uncommitted
in classTree
-
writeDiff
public void writeDiff(Output<?> output, long version)
-
-