org.axiondb.engine.indexes
Class BaseIndexFactory

java.lang.Object
  extended by org.axiondb.engine.indexes.BaseIndexFactory
All Implemented Interfaces:
IndexFactory
Direct Known Subclasses:
ArrayIndexFactory, BTreeIndexFactory

public abstract class BaseIndexFactory
extends java.lang.Object
implements IndexFactory

Abstract base class for IndexFactoryto hold common methods.

Version:
$Revision: 1.6 $ $Date: 2005/06/29 21:09:30 $

Constructor Summary
protected BaseIndexFactory()
           
 
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
 
Methods inherited from interface org.axiondb.IndexFactory
makeNewInstance
 

Constructor Detail

BaseIndexFactory

protected BaseIndexFactory()
Method Detail

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 resides
col - 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)