org.axiondb.engine.indexes
Class BaseIndexFactory
java.lang.Object
org.axiondb.engine.indexes.BaseIndexFactory
- All Implemented Interfaces:
- IndexFactory
- Direct Known Subclasses:
- ArrayIndexFactory, BTreeIndexFactory
public abstract class BaseIndexFactory
- extends Object
- implements IndexFactory
Abstract base class for IndexFactory
to hold common methods.
- Version:
- $Revision: 1.6 $ $Date: 2005/06/29 21:09:30 $
Method Summary |
Index |
makeNewSystemInstance(Table table,
Column col,
boolean memorydb)
Creates a new system instance with an autogenerated index name that combines the
table name, column name, and current UNIX time (expressed in hexadecimal). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseIndexFactory
protected BaseIndexFactory()
makeNewSystemInstance
public Index makeNewSystemInstance(Table table,
Column col,
boolean memorydb)
throws AxionException
- Creates a new system instance with an autogenerated index name that combines the
table name, column name, and current UNIX time (expressed in hexadecimal).
- Specified by:
makeNewSystemInstance
in interface IndexFactory
- 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- See Also:
org.axiondb.IndexFactory.makeNewSystemInstance(org.axiondb.Table,
org.axiondb.Column, boolean)