|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BPlusTreeNode<K,V>
This is the interface of a node in a B+ Tree. It is only interesting to use
for those implementing a NodeRepository
or extending the
BPlusTree
class.
Method Summary | |
---|---|
long |
getPosition()
Get the position of the node in the backing storage. |
List<KeyAndValue<K,V>> |
getRecords()
Get the records of this node. |
boolean |
isFull()
Is this node full? |
boolean |
isLeafNode()
Is the node a leaf node? |
boolean |
isRoot()
Is this the tree's root node? |
void |
setFull(boolean b)
Set the flag signaling that this node is full. |
Method Detail |
---|
boolean isLeafNode()
true
if the node is a leaf node.long getPosition()
List<KeyAndValue<K,V>> getRecords()
boolean isFull()
true
if the node is full.setFull(boolean)
void setFull(boolean b)
b
- true
if the node is full.isFull()
boolean isRoot()
true
if the node is the root node of a tree.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |