java.lang.Object
swim.db.Page
swim.db.STreePage
-
Method Summary
Modifier and TypeMethodDescriptionappended(swim.structure.Value key, swim.structure.Value newValue, long newVersion) abstract STreePagebalanced(long newVersion) abstract STreePagecommitted(int zone, long base, long version) abstract booleancontains(swim.structure.Value value) abstract voidcopyToArray(Object[] array, int offset) abstract swim.util.Cursor<swim.structure.Slot>cursor()abstract swim.util.Cursor<swim.structure.Slot>deltaCursor(long sinceVersion) abstract swim.util.Cursor<swim.structure.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, swim.structure.Value value) abstract swim.structure.Valueget(long index) abstract STreePagegetChild(int index) abstract STreePageRefgetChildRef(int index) abstract swim.structure.SlotgetEntry(long index) abstract swim.structure.SlotgetSlot(int x) abstract longabstract STreePageinserted(long index, swim.structure.Value key, swim.structure.Value newValue, long newVersion) booleanabstract longlastIndexOf(Object object) abstract STreePageloadTree(PageLoader pageLoader) abstract STreePageRefpageRef()prepended(swim.structure.Value key, swim.structure.Value newValue, long newVersion) abstract STreePagereduced(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 STreePageremoved(long index, long newVersion) abstract STreePageabstract 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, swim.structure.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 Details
-
isSTreePage
public boolean isSTreePage()- Overrides:
isSTreePagein classPage
-
pageRef
-
contains
public abstract boolean contains(swim.structure.Value value) -
getChildRef
- Specified by:
getChildRefin classPage
-
getChild
-
getSlot
public abstract swim.structure.Slot getSlot(int x) -
get
public abstract swim.structure.Value get(long index) -
getEntry
public abstract swim.structure.Slot getEntry(long index) -
updated
-
inserted
public abstract STreePage inserted(long index, swim.structure.Value key, swim.structure.Value newValue, long newVersion) -
appended
-
prepended
public STreePage prepended(swim.structure.Value key, swim.structure.Value newValue, long newVersion) -
removed
-
removed
-
drop
-
take
-
indexOf
-
lastIndexOf
-
copyToArray
-
balanced
-
split
-
splitLeft
-
splitRight
-
reduced
public abstract STreePage 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.Cursor<swim.structure.Slot> cursor() -
depthCursor
public abstract swim.util.Cursor<swim.structure.Slot> depthCursor(int maxDepth) -
deltaCursor
public abstract swim.util.Cursor<swim.structure.Slot> deltaCursor(long sinceVersion) -
empty
-
fromValue
-