java.lang.Object
swim.db.Page
swim.db.BTreePage
-
Method Summary
Modifier and TypeMethodDescriptionabstract BTreePage
balanced
(long newVersion) abstract BTreePage
committed
(int zone, long base, long version) abstract boolean
containsKey
(Value key) abstract boolean
containsValue
(Value value) abstract OrderedMapCursor<Value,
Value> cursor()
abstract OrderedMapCursor<Value,
Value> deltaCursor
(long sinceVersion) abstract OrderedMapCursor<Value,
Value> depthCursor
(int maxDepth) abstract BTreePage
drop
(long lower, long newVersion) static BTreePage
empty
(PageContext context, int stem, long version) abstract BTreePage
evacuated
(int post, long version) abstract Slot
abstract Slot
firstEntry
(Value key) static BTreePage
fromValue
(BTreePageRef pageRef, Value value) abstract Value
abstract BTreePage
getChild
(int index) abstract BTreePageRef
getChildRef
(int index) abstract Slot
abstract Slot
getIndex
(long index) abstract Value
getKey
(int x) abstract Slot
getSlot
(int x) abstract long
boolean
abstract Slot
abstract BTreePage
loadTree
(PageLoader pageLoader) abstract Value
maxKey()
abstract Value
minKey()
abstract Slot
abstract BTreePageRef
pageRef()
abstract Slot
previousEntry
(Value key) abstract BTreePage
reduced
(Value identity, CombinerFunction<? super Value, Value> accumulator, CombinerFunction<Value, Value> combiner, long newVersion) abstract BTreePage
abstract BTreeNode
split
(int x, long newVersion) abstract BTreePage
splitLeft
(int x, long newVersion) abstract BTreePage
splitRight
(int x, long newVersion) abstract BTreePage
take
(long upper, long newVersion) abstract BTreePage
uncommitted
(long version) abstract BTreePage
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:
isBTreePage
in classPage
-
pageRef
-
containsKey
-
containsValue
-
indexOf
-
getChildRef
- Specified by:
getChildRef
in classPage
-
getChild
-
getSlot
-
getKey
-
minKey
-
maxKey
-
get
-
getEntry
-
getIndex
-
firstEntry
-
firstEntry
-
lastEntry
-
nextEntry
-
previousEntry
-
updated
-
removed
-
drop
-
take
-
balanced
-
split
-
splitLeft
-
splitRight
-
reduced
public abstract BTreePage reduced(Value identity, CombinerFunction<? super Value, Value> accumulator, CombinerFunction<Value, Value> combiner, long newVersion) -
evacuated
-
committed
-
uncommitted
- Specified by:
uncommitted
in classPage
-
loadTree
-
cursor
-
depthCursor
-
deltaCursor
-
empty
-
fromValue
-