org.axiondb.engine.indexes
Class BaseArrayIndexLoader
java.lang.Object
org.axiondb.engine.indexes.BaseArrayIndexLoader
- All Implemented Interfaces:
- IndexLoader
- Direct Known Subclasses:
- IntArrayIndexLoader, ObjectArrayIndexLoader
public abstract class BaseArrayIndexLoader
- extends Object
- implements IndexLoader
- Version:
- $Revision: 1.6 $ $Date: 2005/05/02 22:22:47 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseArrayIndexLoader
public BaseArrayIndexLoader()
loadIndex
public final Index loadIndex(Table table,
File dataDirectory)
throws AxionException
- Specified by:
loadIndex
in interface IndexLoader
- Throws:
AxionException
saveIndex
public final void saveIndex(Index ndx,
File dataDirectory)
throws AxionException
- Specified by:
saveIndex
in interface IndexLoader
- Throws:
AxionException
saveIndexAfterTruncate
public void saveIndexAfterTruncate(Index ndx,
File dataDirectory)
throws AxionException
- Specified by:
saveIndexAfterTruncate
in interface IndexLoader
- Throws:
AxionException
makeIndex
protected abstract Index makeIndex(String name,
Column col,
boolean unique,
Object keys,
org.apache.commons.collections.primitives.IntList values)
readIntList
protected org.apache.commons.collections.primitives.IntList readIntList(ObjectInputStream in)
throws IOException
- Throws:
IOException
readKeys
protected abstract Object readKeys(ObjectInputStream in)
throws IOException,
ClassNotFoundException
- Throws:
IOException
ClassNotFoundException
writeKeys
protected abstract void writeKeys(ObjectOutputStream out,
BaseArrayIndex baseindex)
throws IOException
- Throws:
IOException