- java.lang.Object
-
- swim.db.Page
-
- swim.db.STreePage
-
-
Constructor Summary
Constructors Constructor Description STreePage()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description STreePageappended(Value key, Value newValue, long newVersion)abstract STreePagebalanced(long newVersion)abstract STreePagecommitted(int zone, long base, long version)abstract booleancontains(Value value)abstract voidcopyToArray(Object[] array, int offset)abstract Cursor<Slot>cursor()abstract Cursor<Slot>deltaCursor(long sinceVersion)abstract Cursor<Slot>depthCursor(int maxDepth)abstract STreePagedrop(long lower, long newVersion)static STreePageempty(PageContext context, int stem, long version)abstract STreePageevacuated(int post, long version)static STreePagefromValue(STreePageRef pageRef, Value value)abstract Valueget(long index)abstract STreePagegetChild(int index)abstract STreePageRefgetChildRef(int index)abstract SlotgetEntry(long index)abstract SlotgetSlot(int x)abstract longindexOf(Object object)abstract STreePageinserted(long index, Value key, Value newValue, long newVersion)booleanisSTreePage()abstract longlastIndexOf(Object object)abstract STreePageRefpageRef()STreePageprepended(Value key, Value newValue, long newVersion)abstract STreePagereduced(Value identity, CombinerFunction<? super Value,Value> accumulator, CombinerFunction<Value,Value> combiner, long newVersion)abstract STreePageremoved(long index, long newVersion)abstract STreePageremoved(Object object, long newVersion)abstract STreeNodesplit(int x, long newVersion)abstract STreePagesplitLeft(int x, long newVersion)abstract STreePagesplitRight(int x, long newVersion)abstract STreePagetake(long upper, long newVersion)abstract STreePageuncommitted(long version)abstract STreePageupdated(long index, Value newValue, long newVersion)-
Methods inherited from class swim.db.Page
arity, base, childCount, diffSize, fold, isBTreePage, isEmpty, isLeaf, isNode, isQTreePage, isUTreePage, loadTreeAsync, pageContext, pageSize, pageType, post, printTree, soften, span, stem, toDebugString, toHeader, toValue, treeSize, version, writeDiff, writePage, zone
-
-
-
-
Method Detail
-
isSTreePage
public boolean isSTreePage()
- Overrides:
isSTreePagein classPage
-
pageRef
public abstract STreePageRef pageRef()
-
contains
public abstract boolean contains(Value value)
-
getChildRef
public abstract STreePageRef getChildRef(int index)
- Specified by:
getChildRefin classPage
-
getSlot
public abstract Slot getSlot(int x)
-
get
public abstract Value get(long index)
-
getEntry
public abstract Slot getEntry(long index)
-
inserted
public abstract STreePage inserted(long index, Value key, Value newValue, long newVersion)
-
removed
public abstract STreePage removed(long index, long newVersion)
-
drop
public abstract STreePage drop(long lower, long newVersion)
-
take
public abstract STreePage take(long upper, long newVersion)
-
indexOf
public abstract long indexOf(Object object)
-
lastIndexOf
public abstract long lastIndexOf(Object object)
-
copyToArray
public abstract void copyToArray(Object[] array, int offset)
-
balanced
public abstract STreePage balanced(long newVersion)
-
split
public abstract STreeNode split(int x, long newVersion)
-
splitLeft
public abstract STreePage splitLeft(int x, long newVersion)
-
splitRight
public abstract STreePage splitRight(int x, long newVersion)
-
reduced
public abstract STreePage reduced(Value identity, CombinerFunction<? super Value,Value> accumulator, CombinerFunction<Value,Value> combiner, long newVersion)
-
evacuated
public abstract STreePage evacuated(int post, long version)
-
committed
public abstract STreePage committed(int zone, long base, long version)
-
uncommitted
public abstract STreePage uncommitted(long version)
- Specified by:
uncommittedin classPage
-
empty
public static STreePage empty(PageContext context, int stem, long version)
-
fromValue
public static STreePage fromValue(STreePageRef pageRef, Value value)
-
-