Method Summary |
|
void | addDatabaseModificationListener(DatabaseModificationListener l) |
void | addIndex(Index index, Table table) Add the given
Index to this database, associated with the given table. |
void | addIndex(Index index, Table table, boolean doPopulate) Add the given
Index to this database, associating it with the given table
and (optionally) populating it. |
void | addTable(Table table) Add the given
Table to this database. |
void | checkpoint() Make sure any modified state or data has been written to disk. |
void | createDatabaseLink(DatabaseLink dblink) |
void | createSequence(Sequence seq) |
void | dropDatabaseLink(String name) |
void | dropDependentExternalDBTable(List tables) |
void | dropDependentViews(List views) |
void | dropIndex(String name) Drop the given
Index from this database. |
void | dropSequence(String name) Drop the specified
Sequence from this database. |
void | dropTable(String name) Drop the specified
Table from this database. |
File | getDBDirectory() Get the directory into which table information is stored, or null. |
DataType | getDataType(String name) Get the
DataType currently registered for the given name, or null. |
DatabaseLink | getDatabaseLink(String name) |
List | getDatabaseModificationListeners() |
List | getDependentExternalDBTable(String name) |
List | getDependentViews(String tableName) |
ConcreteFunction | getFunction(String name) |
Object | getGlobalVariable(String key) |
IndexFactory | getIndexFactory(String name) Get the
IndexFactory currently registered for the given name, or
null. |
String | getName() Returns the name of this Database . |
Sequence | getSequence(String name) Get the specified
Sequence , or null if no such sequence can be
found. |
Table | getTable(String name) Get the specified
Table , or null if no such table can be found. |
Table | getTable(TableIdentifier table) Get the specified
Table , or null if no such table can be found. |
TableFactory | getTableFactory(String name) Get the
TableFactory currently registered for the given name, or
null. |
TransactionManager | getTransactionManager() Get the
TransactionManager for this database. |
boolean | hasDatabaseLink(String name) |
boolean | hasIndex(String name) Returns true iff the given
Index exists. |
boolean | hasSequence(String name) |
boolean | hasTable(String name) |
boolean | hasTable(TableIdentifier table) |
boolean | isReadOnly() |
void | migrate(int version) |
void | remount(File newdir) Notify this database that its root directory has been moved to the given location. |
void | renameTable(String oldName, String newName) |
void | shutdown() Close this database and free any resources associated with it. |
void | tableAltered(Table t) Update metadata tables since this table has changed. |