public abstract class BaseBTreeIndexLoader extends java.lang.Object implements IndexLoader
Modifier and Type | Field and Description |
---|---|
protected static AxionFileSystem |
FS |
Constructor and Description |
---|
BaseBTreeIndexLoader() |
Modifier and Type | Method and Description |
---|---|
Index |
loadIndex(Table table,
java.io.File dataDirectory) |
protected abstract Index |
makeIndex(java.lang.String name,
Column col,
boolean unique,
java.io.File dataDirectory) |
abstract void |
save(Index ndx,
java.io.File dataDirectory) |
void |
saveIndex(Index index,
java.io.File dataDirectory) |
abstract void |
saveIndexAfterTruncate(Index ndx,
java.io.File dataDirectory) |
protected static AxionFileSystem FS
public Index loadIndex(Table table, java.io.File dataDirectory) throws AxionException
loadIndex
in interface IndexLoader
AxionException
public void saveIndex(Index index, java.io.File dataDirectory) throws AxionException
saveIndex
in interface IndexLoader
AxionException
public abstract void saveIndexAfterTruncate(Index ndx, java.io.File dataDirectory) throws AxionException
saveIndexAfterTruncate
in interface IndexLoader
AxionException
public abstract void save(Index ndx, java.io.File dataDirectory) throws AxionException
AxionException
protected abstract Index makeIndex(java.lang.String name, Column col, boolean unique, java.io.File dataDirectory) throws AxionException
AxionException