java.lang.Object
swim.db.Page
swim.db.BTreePage
-
Method Summary
Modifier and TypeMethodDescriptionabstract BTreePagebalanced(long newVersion) abstract BTreePagecommitted(int zone, long base, long version) abstract booleancontainsKey(swim.structure.Value key) abstract booleancontainsValue(swim.structure.Value value) abstract swim.util.OrderedMapCursor<swim.structure.Value,swim.structure.Value> cursor()abstract swim.util.OrderedMapCursor<swim.structure.Value,swim.structure.Value> deltaCursor(long sinceVersion) abstract swim.util.OrderedMapCursor<swim.structure.Value,swim.structure.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 swim.structure.Slotabstract swim.structure.SlotfirstEntry(swim.structure.Value key) static BTreePagefromValue(BTreePageRef pageRef, swim.structure.Value value) abstract swim.structure.Valueget(swim.structure.Value key) abstract BTreePagegetChild(int index) abstract BTreePageRefgetChildRef(int index) abstract swim.structure.SlotgetEntry(swim.structure.Value key) abstract swim.structure.SlotgetIndex(long index) abstract swim.structure.ValuegetKey(int x) abstract swim.structure.SlotgetSlot(int x) abstract longindexOf(swim.structure.Value key) booleanabstract swim.structure.Slotabstract BTreePageloadTree(PageLoader pageLoader) abstract swim.structure.ValuemaxKey()abstract swim.structure.ValueminKey()abstract swim.structure.SlotnextEntry(swim.structure.Value key) abstract BTreePageRefpageRef()abstract swim.structure.SlotpreviousEntry(swim.structure.Value key) abstract BTreePagereduced(swim.structure.Value identity, swim.util.CombinerFunction<? super swim.structure.Value, swim.structure.Value> accumulator, swim.util.CombinerFunction<swim.structure.Value, swim.structure.Value> combiner, long newVersion) abstract BTreePageremoved(swim.structure.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(swim.structure.Value key, swim.structure.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 Details
-
isBTreePage
public boolean isBTreePage()- Overrides:
isBTreePagein classPage
-
pageRef
-
containsKey
public abstract boolean containsKey(swim.structure.Value key) -
containsValue
public abstract boolean containsValue(swim.structure.Value value) -
indexOf
public abstract long indexOf(swim.structure.Value key) -
getChildRef
- Specified by:
getChildRefin classPage
-
getChild
-
getSlot
public abstract swim.structure.Slot getSlot(int x) -
getKey
public abstract swim.structure.Value getKey(int x) -
minKey
public abstract swim.structure.Value minKey() -
maxKey
public abstract swim.structure.Value maxKey() -
get
public abstract swim.structure.Value get(swim.structure.Value key) -
getEntry
public abstract swim.structure.Slot getEntry(swim.structure.Value key) -
getIndex
public abstract swim.structure.Slot getIndex(long index) -
firstEntry
public abstract swim.structure.Slot firstEntry(swim.structure.Value key) -
firstEntry
public abstract swim.structure.Slot firstEntry() -
lastEntry
public abstract swim.structure.Slot lastEntry() -
nextEntry
public abstract swim.structure.Slot nextEntry(swim.structure.Value key) -
previousEntry
public abstract swim.structure.Slot previousEntry(swim.structure.Value key) -
updated
public abstract BTreePage updated(swim.structure.Value key, swim.structure.Value newValue, long newVersion) -
removed
-
drop
-
take
-
balanced
-
split
-
splitLeft
-
splitRight
-
reduced
public abstract BTreePage reduced(swim.structure.Value identity, swim.util.CombinerFunction<? super swim.structure.Value, swim.structure.Value> accumulator, swim.util.CombinerFunction<swim.structure.Value, swim.structure.Value> combiner, long newVersion) -
evacuated
-
committed
-
uncommitted
- Specified by:
uncommittedin classPage
-
loadTree
-
cursor
public abstract swim.util.OrderedMapCursor<swim.structure.Value,swim.structure.Value> cursor() -
depthCursor
public abstract swim.util.OrderedMapCursor<swim.structure.Value,swim.structure.Value> depthCursor(int maxDepth) -
deltaCursor
public abstract swim.util.OrderedMapCursor<swim.structure.Value,swim.structure.Value> deltaCursor(long sinceVersion) -
empty
-
fromValue
-