Modifier and Type | Class and Description |
---|---|
static class |
BTreeNode.Marshaller<Key,Value>
The Marshaller is used to store and load the data in the BTreeNode into a Page.
|
Constructor and Description |
---|
BTreeNode(BTreeIndex<Key,Value> index) |
public BTreeNode(BTreeIndex<Key,Value> index)
public void setEmpty()
public Value remove(Transaction tx, Key key) throws IOException
IOException
public Value put(Transaction tx, Key key, Value value) throws IOException
IOException
public void printStructure(Transaction tx, PrintWriter out, String prefix) throws IOException
IOException
public int getMinLeafDepth(Transaction tx, int depth) throws IOException
IOException
public int getMaxLeafDepth(Transaction tx, int depth) throws IOException
IOException
public Value get(Transaction tx, Key key) throws IOException
IOException
public boolean isEmpty(Transaction tx) throws IOException
IOException
public void visit(Transaction tx, BTreeVisitor<Key,Value> visitor) throws IOException
IOException
public Map.Entry<Key,Value> getFirst(Transaction tx) throws IOException
IOException
public Map.Entry<Key,Value> getLast(Transaction tx) throws IOException
IOException
public BTreeNode<Key,Value> getFirstLeafNode(Transaction tx) throws IOException
IOException
public Iterator<Map.Entry<Key,Value>> iterator(Transaction tx, Key startKey, Key endKey) throws IOException
IOException
public Iterator<Map.Entry<Key,Value>> iterator(Transaction tx) throws IOException
IOException
public void clear(Transaction tx) throws IOException
IOException
public boolean contains(Transaction tx, Key key) throws IOException
IOException
public long getPageId()
public long getNext()
public void setNext(long next)
Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.