org.neodatis.btree.impl.multiplevalue
Class BTreeNodeMultipleValuesPerKey

java.lang.Object
  extended by org.neodatis.btree.impl.AbstractBTreeNode
      extended by org.neodatis.btree.impl.multiplevalue.BTreeNodeMultipleValuesPerKey
All Implemented Interfaces:
java.io.Serializable, IBTreeNode, IBTreeNodeMultipleValuesPerKey
Direct Known Subclasses:
InMemoryBTreeNodeMultipleValuesPerKey, ODBBTreeNodeMultiple

public abstract class BTreeNodeMultipleValuesPerKey
extends AbstractBTreeNode
implements IBTreeNodeMultipleValuesPerKey

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.neodatis.btree.impl.AbstractBTreeNode
btree, degree, keys, maxNbChildren, maxNbKeys, nbChildren, nbKeys, values
 
Constructor Summary
BTreeNodeMultipleValuesPerKey()
           
BTreeNodeMultipleValuesPerKey(IBTree btree)
           
 
Method Summary
 java.lang.Object deleteKeyForLeafNode(IKeyAndValue keyAndValue)
           
 java.util.List getValueAt(int index)
           
 void insertKeyAndValue(java.lang.Comparable key, java.lang.Object value)
           
 java.util.List search(java.lang.Comparable key)
           
 
Methods inherited from class org.neodatis.btree.impl.AbstractBTreeNode
clear, deleteKeyAndValueAt, extractRightPart, getBTree, getChildAt, getDegree, getKeyAndValueAt, getKeyAt, getLastChild, getLastKeyAndValue, getLastPositionChild, getMaxNbChildren, getMedian, getNbChildren, getNbKeys, getParent, getParentId, getPositionOfKey, hasParent, incrementNbChildren, incrementNbKeys, init, isFull, isLeaf, leftShiftFrom, mergeWith, moveChildFromTo, removeKeyAndValueAt, rightShiftFrom, setBTree, setKeyAndValueAt, setKeyAndValueAt, setKeyAndValueAt, setKeyAndValueAt, setNbChildren, setNbKeys, setParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.neodatis.btree.IBTreeNode
clear, deleteChildAt, deleteKeyAndValueAt, extractRightPart, getBTree, getChildAt, getChildIdAt, getDegree, getId, getKeyAndValueAt, getKeyAt, getLastChild, getLastKeyAndValue, getLastPositionChild, getMaxNbChildren, getMedian, getNbChildren, getNbKeys, getParent, getParentId, getPositionOfKey, getValueAsObjectAt, hasParent, incrementNbChildren, incrementNbKeys, isFull, isLeaf, mergeWith, moveChildFromTo, removeKeyAndValueAt, setBTree, setChildAt, setChildAt, setId, setKeyAndValueAt, setKeyAndValueAt, setKeyAndValueAt, setKeyAndValueAt, setNbChildren, setNbKeys, setNullChildAt, setParent
 

Constructor Detail

BTreeNodeMultipleValuesPerKey

public BTreeNodeMultipleValuesPerKey()

BTreeNodeMultipleValuesPerKey

public BTreeNodeMultipleValuesPerKey(IBTree btree)
Method Detail

getValueAt

public java.util.List getValueAt(int index)
Specified by:
getValueAt in interface IBTreeNodeMultipleValuesPerKey

insertKeyAndValue

public void insertKeyAndValue(java.lang.Comparable key,
                              java.lang.Object value)
Specified by:
insertKeyAndValue in interface IBTreeNode
Specified by:
insertKeyAndValue in class AbstractBTreeNode

search

public java.util.List search(java.lang.Comparable key)
Specified by:
search in interface IBTreeNodeMultipleValuesPerKey

deleteKeyForLeafNode

public java.lang.Object deleteKeyForLeafNode(IKeyAndValue keyAndValue)
Specified by:
deleteKeyForLeafNode in interface IBTreeNode
Overrides:
deleteKeyForLeafNode in class AbstractBTreeNode