- java.lang.Object
-
- swim.db.Page
-
- swim.db.BTreePage
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract BTreePagebalanced(long newVersion)abstract BTreePagecommitted(int zone, long base, long version)abstract booleancontainsKey(Value key)abstract booleancontainsValue(Value value)abstract OrderedMapCursor<Value,Value>cursor()abstract OrderedMapCursor<Value,Value>deltaCursor(long sinceVersion)abstract OrderedMapCursor<Value,Value>depthCursor(int maxDepth)abstract BTreePagedrop(long lower, long newVersion)static BTreePageempty(PageContext context, int stem, long version)abstract BTreePageevacuated(int post, long version)abstract SlotfirstEntry()abstract SlotfirstEntry(Value key)static BTreePagefromValue(BTreePageRef pageRef, Value value)abstract Valueget(Value key)abstract BTreePagegetChild(int index)abstract BTreePageRefgetChildRef(int index)abstract SlotgetEntry(Value key)abstract SlotgetIndex(long index)abstract ValuegetKey(int x)abstract SlotgetSlot(int x)abstract longindexOf(Value key)booleanisBTreePage()abstract SlotlastEntry()abstract BTreePageloadTree(PageLoader pageLoader)abstract ValuemaxKey()abstract ValueminKey()abstract SlotnextEntry(Value key)abstract BTreePageRefpageRef()abstract SlotpreviousEntry(Value key)abstract BTreePagereduced(Value identity, CombinerFunction<? super Value,Value> accumulator, CombinerFunction<Value,Value> combiner, long newVersion)abstract BTreePageremoved(Value key, long newVersion)abstract BTreeNodesplit(int x, long newVersion)abstract BTreePagesplitLeft(int x, long newVersion)abstract BTreePagesplitRight(int x, long newVersion)abstract BTreePagetake(long upper, long newVersion)abstract BTreePageuncommitted(long version)abstract BTreePageupdated(Value key, Value newValue, long newVersion)-
Methods inherited from class swim.db.Page
arity, base, buildDiff, childCount, diffSize, fold, isEmpty, isLeaf, isNode, isQTreePage, isSTreePage, isUTreePage, pageContext, pageSize, pageType, post, printTree, soften, span, stem, toDebugString, toHeader, toValue, treeSize, version, writeDiff, writePage, zone
-
-
-
-
Method Detail
-
isBTreePage
public boolean isBTreePage()
- Overrides:
isBTreePagein classPage
-
pageRef
public abstract BTreePageRef pageRef()
-
containsKey
public abstract boolean containsKey(Value key)
-
containsValue
public abstract boolean containsValue(Value value)
-
indexOf
public abstract long indexOf(Value key)
-
getChildRef
public abstract BTreePageRef getChildRef(int index)
- Specified by:
getChildRefin classPage
-
getSlot
public abstract Slot getSlot(int x)
-
getKey
public abstract Value getKey(int x)
-
minKey
public abstract Value minKey()
-
maxKey
public abstract Value maxKey()
-
getIndex
public abstract Slot getIndex(long index)
-
firstEntry
public abstract Slot firstEntry()
-
lastEntry
public abstract Slot lastEntry()
-
drop
public abstract BTreePage drop(long lower, long newVersion)
-
take
public abstract BTreePage take(long upper, long newVersion)
-
balanced
public abstract BTreePage balanced(long newVersion)
-
split
public abstract BTreeNode split(int x, long newVersion)
-
splitLeft
public abstract BTreePage splitLeft(int x, long newVersion)
-
splitRight
public abstract BTreePage splitRight(int x, long newVersion)
-
reduced
public abstract BTreePage reduced(Value identity, CombinerFunction<? super Value,Value> accumulator, CombinerFunction<Value,Value> combiner, long newVersion)
-
evacuated
public abstract BTreePage evacuated(int post, long version)
-
committed
public abstract BTreePage committed(int zone, long base, long version)
-
uncommitted
public abstract BTreePage uncommitted(long version)
- Specified by:
uncommittedin classPage
-
loadTree
public abstract BTreePage loadTree(PageLoader pageLoader)
-
cursor
public abstract OrderedMapCursor<Value,Value> cursor()
-
depthCursor
public abstract OrderedMapCursor<Value,Value> depthCursor(int maxDepth)
-
deltaCursor
public abstract OrderedMapCursor<Value,Value> deltaCursor(long sinceVersion)
-
empty
public static BTreePage empty(PageContext context, int stem, long version)
-
fromValue
public static BTreePage fromValue(BTreePageRef pageRef, Value value)
-
-