org.axiondb.engine
Class BaseDatabase
public abstract
class
BaseDatabase
extends Object
implements Database
Abstract base
Databaseimplementation.
Version: $Revision: 1.97 $ $Date: 2007/11/13 19:04:02 $
Author: Chuck Burdick Rodney Waldhoff Morgan Delagrange James Strachan Amrish Lal Rahul Dwivedi Dave Pekarek Krohn Ahimanikya Satapathy
public static final String SYSTABLE_DB_LINKS
public static final String SYSTABLE_INDEX_INFO
public BaseDatabase(String name)
public void addIndex(
Index index,
Table table, boolean doPopulate)
public void addTable(
Table t)
public void checkpoint()
protected void createMetaDataTables()
Should get called by subclasses in constructors
public void createSequence(
Sequence seq)
protected abstract
Table createSystemTable(String name)
public void dropDatabaseLink(String name)
public void dropDependentExternalDBTable(List tables)
public void dropDependentViews(List views)
public void dropIndex(String name)
public void dropSequence(String name)
public void dropTable(String name)
protected static Properties getBaseProperties()
Callers should treat the returned Properties as immutable.
public List getDatabaseModificationListeners()
public
DataType getDataType(String name)
public List getDependentExternalDBTable(String name)
public List getDependentViews(String tableName)
public Object getGlobalVariable(String key)
public String getName()
public
Sequence getSequence(String name)
protected int getSequenceCount()
protected Iterator<
Sequence> getSequences()
public
Table getTable(String name)
protected Iterator<
Table> getTables()
public boolean hasDatabaseLink(String name)
public boolean hasIndex(String name)
public boolean hasSequence(String name)
public boolean hasTable(String name)
public boolean isReadOnly()
protected void loadProperties(Properties props)
public void migrate(int version)
Migrate from older version to newer version for this database
public void remount(File newdir)
public void renameTable(String oldName, String newName)
public void shutdown()
public void tableAltered(
Table t)