| java.lang.Object org.apache.derby.impl.db.BasicDatabase
BasicDatabase | public class BasicDatabase implements ModuleControl,ModuleSupportable,PropertySetCallback,Database,JarReader(Code) | | The Database interface provides control over the physical database
(that is, the stored data and the files the data are stored in),
connections to the database, operations on the database such as
backup and recovery, and all other things that are associated
with the database itself.
The Database interface does not provide control over things that are part of
the Domain, such as users.
I'm not sure what this will hold in a real system, for now
it simply provides connection-creation for us. Perhaps when it boots,
it creates the datadictionary object for the database, which all users
will then interact with?
author: ames |
Method Summary | |
public Serviceable | apply(String key, Serializable value, Dictionary p) | public void | backup(String backupDir, boolean wait) | public void | backupAndEnableLogArchiveMode(String backupDir, boolean deleteOnlineArchivedLogFiles, boolean wait) | public void | boot(boolean create, Properties startParams) | protected AuthenticationService | bootAuthenticationService(boolean create, Properties props) | protected void | bootClassFactory(boolean create, Properties startParams) | protected void | bootResourceAdapter(boolean create, Properties startParams) | protected void | bootStore(boolean create, Properties startParams) | protected void | bootValidation(boolean create, Properties startParams) | public boolean | canSupport(Properties startParams) | public void | checkpoint() | protected void | createFinished() | public void | disableLogArchiveMode(boolean deleteOnlineArchivedLogFiles) | public void | dropAllJDBCMetaDataSPSes() Drop all Stored Prepared Statements that
have been created for JDBC MetaData queries.
Does NOT commit the current transaction
upon completation. | public void | freeze() | protected Properties | getAllDatabaseProperties() | final public AuthenticationService | getAuthenticationService() | protected String | getClasspath(Properties startParams) | public RuleBasedCollator | getCollator() | protected TransactionController | getConnectionTransaction(ContextManager cm) | public Locale | getCurrentLocale() | public DateFormat | getDateFormat() | public int | getEngineType() | final public UUID | getId() Return the UUID of this database. | public Locale | getLocale() | public Object | getResourceAdapter() | public DateFormat | getTimeFormat() | public DateFormat | getTimestampFormat() | public void | init(boolean dbOnly, Dictionary p) | public boolean | isActive() Is the database active (open). | public boolean | isReadOnly() | protected UUID | makeDatabaseID(boolean create, Properties startParams) | public Serializable | map(String key, Serializable value, Dictionary p) | protected void | pushClassFactoryContext(ContextManager cm, ClassFactory cf) | public void | pushDbContext(ContextManager cm) | public Object | readJarFile(String schemaName, String sqlName) | public void | setLocale(Locale locale) | public LanguageConnectionContext | setupConnection(ContextManager cm, String user, String drdaID, String dbname) | public void | stop() | public void | unfreeze() | public boolean | validate(String key, Serializable value, Dictionary p) |
lastToBoot | protected boolean lastToBoot(Code) | | |
BasicDatabase | public BasicDatabase()(Code) | | |
backupAndEnableLogArchiveMode | public void backupAndEnableLogArchiveMode(String backupDir, boolean deleteOnlineArchivedLogFiles, boolean wait) throws SQLException(Code) | | |
bootResourceAdapter | protected void bootResourceAdapter(boolean create, Properties startParams)(Code) | | |
disableLogArchiveMode | public void disableLogArchiveMode(boolean deleteOnlineArchivedLogFiles) throws SQLException(Code) | | |
dropAllJDBCMetaDataSPSes | public void dropAllJDBCMetaDataSPSes() throws SQLException(Code) | | Drop all Stored Prepared Statements that
have been created for JDBC MetaData queries.
Does NOT commit the current transaction
upon completation.
exception: SQLException - on error, most likelya deadlock or timeout. |
getEngineType | public int getEngineType()(Code) | | one of the values from EngineType.java: |
getId | final public UUID getId()(Code) | | Return the UUID of this database.
|
isActive | public boolean isActive()(Code) | | Is the database active (open).
|
isReadOnly | public boolean isReadOnly()(Code) | | |
|
|