- java.lang.Object
- 
- swim.db.Page
- 
- swim.db.BTreePage
- 
- swim.db.BTreeNode
 
 
 
- 
 public final class BTreeNode extends BTreePage 
- 
- 
Constructor SummaryConstructors Modifier Constructor Description protectedBTreeNode(BTreePageRef pageRef, long version, BTreePageRef[] childRefs, Value[] knotKeys)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intarity()BTreeNodebalanced(long newVersion)voidbuildDiff(Builder<Page,?> builder)intchildCount()BTreeNodecommitted(int zone, long base, long version)booleancontainsKey(Value key)booleancontainsValue(Value value)static BTreeNodecreate(PageContext context, int stem, long version, int post, int zone, long base, long span, Value fold, BTreePageRef[] childRefs, Value[] knotKeys)static BTreeNodecreate(PageContext context, int stem, long version, int zone, long base, long span, Value fold, BTreePageRef[] childRefs, Value[] knotKeys)static BTreeNodecreate(PageContext context, int stem, long version, long span, Value fold, BTreePageRef[] childRefs, Value[] knotKeys)OrderedMapCursor<Value,Value>cursor()OrderedMapCursor<Value,Value>deltaCursor(long sinceVersion)OrderedMapCursor<Value,Value>depthCursor(int maxDepth)intdiffSize()BTreePagedrop(long lower, long newVersion)BTreeNodeevacuated(int post, long version)SlotfirstEntry()SlotfirstEntry(Value key)static BTreeNodefromValue(BTreePageRef pageRef, Value value)Valueget(Value key)BTreePagegetChild(int index)BTreePageRefgetChildRef(int index)SlotgetEntry(Value key)SlotgetIndex(long index)ValuegetKey(int x)SlotgetSlot(int x)longindexOf(Value key)booleanisEmpty()booleanisNode()SlotlastEntry()BTreePageloadTree(PageLoader pageLoader)ValuemaxKey()ValueminKey()SlotnextEntry(Value key)BTreePageRefpageRef()intpageSize()PageTypepageType()SlotpreviousEntry(Value key)BTreeNodereduced(Value identity, CombinerFunction<? super Value,Value> accumulator, CombinerFunction<Value,Value> combiner, long newVersion)BTreePageremoved(Value key, long newVersion)voidsoften(long version)BTreeNodesplit(int x, long newVersion)BTreeNodesplitLeft(int x, long newVersion)BTreeNodesplitRight(int x, long newVersion)BTreePagetake(long upper, long newVersion)ValuetoHeader()StringtoString()ValuetoValue()longtreeSize()BTreeNodeuncommitted(long version)BTreePageupdated(Value key, Value newValue, long newVersion)longversion()voidwriteDiff(Output<?> output)voidwritePage(Output<?> output)- 
Methods inherited from class swim.db.BTreePageempty, isBTreePage
 - 
Methods inherited from class swim.db.Pagebase, fold, isLeaf, isQTreePage, isSTreePage, isUTreePage, pageContext, post, printTree, span, stem, toDebugString, zone
 
- 
 
- 
- 
- 
Constructor Detail- 
BTreeNodeprotected BTreeNode(BTreePageRef pageRef, long version, BTreePageRef[] childRefs, Value[] knotKeys) 
 
- 
 - 
Method Detail- 
pageRefpublic BTreePageRef pageRef() 
 - 
childCountpublic int childCount() - Specified by:
- childCountin class- Page
 
 - 
getChildRefpublic BTreePageRef getChildRef(int index) - Specified by:
- getChildRefin class- BTreePage
 
 - 
containsKeypublic boolean containsKey(Value key) - Specified by:
- containsKeyin class- BTreePage
 
 - 
containsValuepublic boolean containsValue(Value value) - Specified by:
- containsValuein class- BTreePage
 
 - 
firstEntrypublic Slot firstEntry(Value key) - Specified by:
- firstEntryin class- BTreePage
 
 - 
firstEntrypublic Slot firstEntry() - Specified by:
- firstEntryin class- BTreePage
 
 - 
previousEntrypublic Slot previousEntry(Value key) - Specified by:
- previousEntryin class- BTreePage
 
 - 
splitLeftpublic BTreeNode splitLeft(int x, long newVersion) 
 - 
splitRightpublic BTreeNode splitRight(int x, long newVersion) - Specified by:
- splitRightin class- BTreePage
 
 - 
reducedpublic BTreeNode reduced(Value identity, CombinerFunction<? super Value,Value> accumulator, CombinerFunction<Value,Value> combiner, long newVersion) 
 - 
evacuatedpublic BTreeNode evacuated(int post, long version) 
 - 
committedpublic BTreeNode committed(int zone, long base, long version) 
 - 
uncommittedpublic BTreeNode uncommitted(long version) - Specified by:
- uncommittedin class- BTreePage
 
 - 
loadTreepublic BTreePage loadTree(PageLoader pageLoader) 
 - 
cursorpublic OrderedMapCursor<Value,Value> cursor() 
 - 
depthCursorpublic OrderedMapCursor<Value,Value> depthCursor(int maxDepth) - Specified by:
- depthCursorin class- BTreePage
 
 - 
deltaCursorpublic OrderedMapCursor<Value,Value> deltaCursor(long sinceVersion) - Specified by:
- deltaCursorin class- BTreePage
 
 - 
createpublic static BTreeNode create(PageContext context, int stem, long version, int post, int zone, long base, long span, Value fold, BTreePageRef[] childRefs, Value[] knotKeys) 
 - 
createpublic static BTreeNode create(PageContext context, int stem, long version, int zone, long base, long span, Value fold, BTreePageRef[] childRefs, Value[] knotKeys) 
 - 
createpublic static BTreeNode create(PageContext context, int stem, long version, long span, Value fold, BTreePageRef[] childRefs, Value[] knotKeys) 
 - 
fromValuepublic static BTreeNode fromValue(BTreePageRef pageRef, Value value) 
 
- 
 
-