|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.axiondb.engine.BaseDatabase
org.axiondb.engine.DiskDatabase
A disk-resident Database.
| Field Summary |
| Fields inherited from class org.axiondb.engine.BaseDatabase |
SYSTABLE_DB_LINKS, SYSTABLE_INDEX_INFO |
| Fields inherited from interface org.axiondb.Database |
COMMIT_SIZE |
| Constructor Summary | |
DiskDatabase(File dbDir)
|
|
DiskDatabase(String name,
File dbDir)
|
|
DiskDatabase(String name,
File dbDir,
Properties props)
|
|
| Method Summary | |
void |
checkpoint()
Make sure any modified state or data has been written to disk. |
void |
createSequence(Sequence seq)
Create a numeric sequence |
protected Table |
createSystemTable(String name)
|
void |
defrag()
|
int |
defragTable(String tableName)
|
File |
getDBDirectory()
Get the directory into which table information is stored, or null. |
TableFactory |
getTableFactory(String name)
Get the TableFactorycurrently registered for the given name, or
null. |
void |
remount(File newdir)
Notify this database that its root directory has been moved to the given location. |
void |
shutdown()
Close this database and free any resources associated with it. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.axiondb.Database |
addDatabaseModificationListener, addIndex, addIndex, addTable, canResolveSelectable, createDatabaseLink, dropDatabaseLink, dropIndex, dropSequence, dropTable, getDatabaseLink, getDatabaseModificationListeners, getDataType, getGlobalVariable, getIndexFactory, getName, getSequence, getTable, getTable, getTransactionManager, hasDatabaseLink, hasIndex, hasSequence, hasTable, hasTable, isReadOnly, renameTable, resolveFromNode, resolveSelectable, resolveSelectable, tableAltered |
| Constructor Detail |
public DiskDatabase(File dbDir)
throws AxionException
public DiskDatabase(String name,
File dbDir)
throws AxionException
public DiskDatabase(String name,
File dbDir,
Properties props)
throws AxionException
| Method Detail |
public void checkpoint()
throws AxionException
Database
checkpoint in interface Databasecheckpoint in class BaseDatabaseAxionException
public void createSequence(Sequence seq)
throws AxionException
Database
createSequence in interface DatabasecreateSequence in class BaseDatabaseAxionException
public void defrag()
throws AxionException
AxionException
public int defragTable(String tableName)
throws AxionException
AxionExceptionpublic File getDBDirectory()
Database
getDBDirectory in interface Databasepublic TableFactory getTableFactory(String name)
DatabaseTableFactorycurrently registered for the given name, or
null.
getTableFactory in interface DatabasegetTableFactory in class BaseDatabase
public void remount(File newdir)
throws AxionException
Database
remount in interface Databaseremount in class BaseDatabaseAxionException
public void shutdown()
throws AxionException
Database
shutdown in interface Databaseshutdown in class BaseDatabaseAxionExceptionprotected Table createSystemTable(String name)
createSystemTable in class BaseDatabase
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||