|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.axiondb.util.BaseBTree
org.axiondb.util.ObjectBTree
org.axiondb.util.StringBTree
An ObjectBTreeoptimized for reading and writing Strings.
| Constructor Summary | |
StringBTree(File idxDir,
String idxName,
int minimizationFactor,
Comparator comp)
Create or load a new root node. |
|
| Method Summary | |
protected ObjectBTree |
createNode(org.axiondb.util.BTreeMetaData meta,
Comparator comp)
Create a new node. |
protected Object |
getReplacementForNullKey()
|
protected ObjectBTree |
loadNode(org.axiondb.util.BTreeMetaData meta,
Comparator comp,
int fileId)
Read the node with the specified fileId from disk. |
protected void |
read()
Reads in the node. |
protected void |
write()
Writes the node file out. |
| Methods inherited from class org.axiondb.util.ObjectBTree |
addFileId, addFileId, addFileIds, addKeyValuePair, clearData, delete, get, getAll, getAllExcludingNull, getAllExcludingNull, getAllFrom, getAllTo, getBTreeMetaData, getChildIds, getFileId, getFileIdForIndex, getKey, getKeyCapacity, getMinimizationFactor, getValue, getValues, inorderIterator, insert, isFull, isLeaf, isRoot, replaceId, save, save, saveAfterTruncate, saveCounterIfRoot, setChildIds, setFileId, setValue, setValues, size, space, toString, truncate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public StringBTree(File idxDir,
String idxName,
int minimizationFactor,
Comparator comp)
throws IOException,
ClassNotFoundException
| Method Detail |
protected ObjectBTree createNode(org.axiondb.util.BTreeMetaData meta,
Comparator comp)
throws IOException,
ClassNotFoundException
ObjectBTree
createNode in class ObjectBTreeIOException
ClassNotFoundException
protected ObjectBTree loadNode(org.axiondb.util.BTreeMetaData meta,
Comparator comp,
int fileId)
throws IOException,
ClassNotFoundException
ObjectBTree
loadNode in class ObjectBTreeIOException
ClassNotFoundException
protected void read()
throws IOException,
ClassNotFoundException
ObjectBTree
read in class ObjectBTreeIOException
ClassNotFoundException
protected void write()
throws IOException
ObjectBTree
write in class ObjectBTreeIOExceptionprotected Object getReplacementForNullKey()
getReplacementForNullKey in class ObjectBTree
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||