org.axiondb
Interface IndexFactory
- All Known Implementing Classes:
- ArrayIndexFactory, BaseIndexFactory, BTreeIndexFactory
public interface IndexFactory
A simple factory for creating Index
instances.
- Version:
- $Revision: 1.6 $ $Date: 2004/08/27 03:21:19 $
makeNewInstance
Index makeNewInstance(String name,
Column col,
boolean unique)
throws AxionException
- Throws:
AxionException
makeNewSystemInstance
Index makeNewSystemInstance(Table table,
Column col)
throws AxionException
- Creates a new system index, with a unique internally-generated name, on the given
column with the given state of uniqueness. This index cannot be deleted via DML,
but must be deleted by its associated database object upon its own deletion.
- Parameters:
table
- Table in which col
residescol
- Column to be indexed
- Returns:
- new system-generated Index with an internally-generated name
- Throws:
AxionException
- if error occurs during creation