- java.lang.Object
-
- swim.db.Page
-
- swim.db.STreePage
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description STreePage
appended(Value key, Value newValue, long newVersion)
abstract STreePage
balanced(long newVersion)
abstract STreePage
committed(int zone, long base, long version)
abstract boolean
contains(Value value)
abstract void
copyToArray(Object[] array, int offset)
abstract Cursor<Slot>
cursor()
abstract Cursor<Slot>
deltaCursor(long sinceVersion)
abstract Cursor<Slot>
depthCursor(int maxDepth)
abstract STreePage
drop(long lower, long newVersion)
static STreePage
empty(PageContext context, int stem, long version)
abstract STreePage
evacuated(int post, long version)
static STreePage
fromValue(STreePageRef pageRef, Value value)
abstract Value
get(long index)
abstract STreePage
getChild(int index)
abstract STreePageRef
getChildRef(int index)
abstract Slot
getEntry(long index)
abstract Slot
getSlot(int x)
abstract long
indexOf(Object object)
abstract STreePage
inserted(long index, Value key, Value newValue, long newVersion)
boolean
isSTreePage()
abstract long
lastIndexOf(Object object)
abstract STreePage
loadTree(PageLoader pageLoader)
abstract STreePageRef
pageRef()
STreePage
prepended(Value key, Value newValue, long newVersion)
abstract STreePage
reduced(Value identity, CombinerFunction<? super Value,Value> accumulator, CombinerFunction<Value,Value> combiner, long newVersion)
abstract STreePage
removed(long index, long newVersion)
abstract STreePage
removed(Object object, long newVersion)
abstract STreeNode
split(int x, long newVersion)
abstract STreePage
splitLeft(int x, long newVersion)
abstract STreePage
splitRight(int x, long newVersion)
abstract STreePage
take(long upper, long newVersion)
abstract STreePage
uncommitted(long version)
abstract STreePage
updated(long index, Value newValue, long newVersion)
-
Methods inherited from class swim.db.Page
arity, base, buildDiff, childCount, diffSize, fold, isBTreePage, isEmpty, isLeaf, isNode, isQTreePage, isUTreePage, pageContext, pageSize, pageType, post, printTree, soften, span, stem, toDebugString, toHeader, toValue, treeSize, version, writeDiff, writePage, zone
-
-
-
-
Method Detail
-
isSTreePage
public boolean isSTreePage()
- Overrides:
isSTreePage
in classPage
-
pageRef
public abstract STreePageRef pageRef()
-
contains
public abstract boolean contains(Value value)
-
getChildRef
public abstract STreePageRef getChildRef(int index)
- Specified by:
getChildRef
in 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:
uncommitted
in classPage
-
loadTree
public abstract STreePage loadTree(PageLoader pageLoader)
-
empty
public static STreePage empty(PageContext context, int stem, long version)
-
fromValue
public static STreePage fromValue(STreePageRef pageRef, Value value)
-
-