Home » activemq-parent-5.3.1-source-release » org.apache.kahadb.index » [javadoc | source]
org.apache.kahadb.index
public final class: BTreeNode [javadoc | source]
java.lang.Object
   org.apache.kahadb.index.BTreeNode
The BTreeNode class represents a node in the BTree object graph. It is stored in one Page of a PageFile.
Nested Class Summary:
public static class  BTreeNode.Marshaller  The Marshaller is used to store and load the data in the BTreeNode into a Page. 
Constructor:
 public BTreeNode(BTreeIndex<Key, Value> index) 
Method from org.apache.kahadb.index.BTreeNode Summary:
clear,   contains,   get,   getFirst,   getFirstLeafNode,   getLast,   getMaxLeafDepth,   getMinLeafDepth,   getNext,   getPage,   getPageId,   getParent,   isEmpty,   iterator,   iterator,   printStructure,   put,   remove,   setEmpty,   setNext,   setPage,   setParent,   toString,   visit
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.kahadb.index.BTreeNode Detail:
 public  void clear(Transaction tx) throws IOException 
 public boolean contains(Transaction tx,
    Key key) throws IOException 
 public Value get(Transaction tx,
    Key key) throws IOException 
 public Entry<Key, Value> getFirst(Transaction tx) throws IOException 
 public BTreeNode<Key, Value> getFirstLeafNode(Transaction tx) throws IOException 
 public Entry<Key, Value> getLast(Transaction tx) throws IOException 
 public int getMaxLeafDepth(Transaction tx,
    int depth) throws IOException 
 public int getMinLeafDepth(Transaction tx,
    int depth) throws IOException 
 public long getNext() 
 public Page<Key, Value> getPage() 
 public long getPageId() 
 public BTreeNode<Key, Value> getParent() 
 public boolean isEmpty(Transaction tx) throws IOException 
 public Iterator<Key, Value> iterator(Transaction tx) throws IOException 
 public Iterator<Key, Value> iterator(Transaction tx,
    Key startKey) throws IOException 
 public  void printStructure(Transaction tx,
    PrintWriter out,
    String prefix) throws IOException 
 public Value put(Transaction tx,
    Key key,
    Value value) throws IOException 
 public Value remove(Transaction tx,
    Key key) throws IOException 
 public  void setEmpty() 
 public  void setNext(long next) 
 public  void setPage(Page<Key, Value> page) 
 public  void setParent(BTreeNode<Key, Value> parent) 
 public String toString() 
 public  void visit(Transaction tx,
    BTreeVisitor<Key, Value> visitor) throws IOException