org.axiondb
Interface IndexLoader

All Known Implementing Classes:
BaseArrayIndexLoader, IntBTreeIndexLoader, ObjectBTreeIndexLoader

public interface IndexLoader

Reads/writes indicesto disk.

Version:
$Revision: 1.4 $ $Date: 2004/08/27 03:21:20 $

Method Summary
 Index loadIndex(Table table, File dataDirectory)
           
 void saveIndex(Index index, File dataDirectory)
           
 void saveIndexAfterTruncate(Index index, File dataDirectory)
           
 

Method Detail

loadIndex

public Index loadIndex(Table table,
                       File dataDirectory)
                throws AxionException
Throws:
AxionException

saveIndex

public void saveIndex(Index index,
                      File dataDirectory)
               throws AxionException
Throws:
AxionException

saveIndexAfterTruncate

public void saveIndexAfterTruncate(Index index,
                                   File dataDirectory)
                            throws AxionException
Throws:
AxionException