org.axiondb.engine
Class MemoryDatabase

java.lang.Object
  extended by org.axiondb.engine.BaseDatabase
      extended by org.axiondb.engine.MemoryDatabase
All Implemented Interfaces:
Database

public class MemoryDatabase
extends BaseDatabase

A memory-resident Database.

Version:
$Revision: 1.9 $ $Date: 2004/09/09 23:47:45 $

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
MemoryDatabase()
           
MemoryDatabase(java.lang.String name)
           
MemoryDatabase(java.lang.String name, java.util.Properties props)
           
 
Method Summary
protected  Table createSystemTable(java.lang.String name)
           
 java.io.File getDBDirectory()
          Get the directory into which table information is stored, or null.
 TableFactory getTableFactory(java.lang.String name)
          Get the TableFactorycurrently registered for the given name, or null.
 
Methods inherited from class org.axiondb.engine.BaseDatabase
addDatabaseModificationListener, addIndex, addIndex, addTable, checkpoint, createDatabaseLink, createMetaDataTables, createSequence, dropDatabaseLink, dropDependentExternalDBTable, dropDependentViews, dropIndex, dropSequence, dropTable, getBaseProperties, getDatabaseLink, getDatabaseModificationListeners, getDataType, getDependentExternalDBTable, getDependentViews, getFunction, getGlobalVariable, getIndexFactory, getName, getSequence, getSequenceCount, getSequences, getTable, getTable, getTables, getTransactionManager, hasDatabaseLink, hasIndex, hasSequence, hasTable, hasTable, isReadOnly, loadProperties, migrate, remount, removeDatabaseModificationListener, renameTable, resolveSelectSelectable, shutdown, tableAltered
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemoryDatabase

public MemoryDatabase()
               throws AxionException
Throws:
AxionException

MemoryDatabase

public MemoryDatabase(java.lang.String name)
               throws AxionException
Throws:
AxionException

MemoryDatabase

public MemoryDatabase(java.lang.String name,
                      java.util.Properties props)
               throws AxionException
Throws:
AxionException
Method Detail

getTableFactory

public TableFactory getTableFactory(java.lang.String name)
Description copied from interface: Database
Get the TableFactorycurrently registered for the given name, or null.

Specified by:
getTableFactory in interface Database
Overrides:
getTableFactory in class BaseDatabase

getDBDirectory

public java.io.File getDBDirectory()
Description copied from interface: Database
Get the directory into which table information is stored, or null.


createSystemTable

protected Table createSystemTable(java.lang.String name)
Specified by:
createSystemTable in class BaseDatabase