public interface LocalBootable
| Modifier and Type | Method and Description |
|---|---|
DatabaseInterface |
boot(DBConfig config)
Boots the database with the given configuration.
|
boolean |
checkExists(DBConfig config)
Attempts to test if the database exists or not.
|
DatabaseInterface |
connectToJVM()
Connects this interface to the database currently running in this JVM.
|
DatabaseInterface |
create(String username,
String password,
DBConfig config)
Attempts to create a new database system with the given name, and the
given username/password as the admin user for the system.
|
boolean |
isBooted()
Returns true if there is a database currently booted in the current
JVM.
|
DatabaseInterface create(String username, String password, DBConfig config) throws SQLException
config - the configuration variables.SQLExceptionDatabaseInterface boot(DBConfig config) throws SQLException
config - the configuration variables.SQLExceptionboolean checkExists(DBConfig config) throws SQLException
config - the configuration variables.SQLExceptionboolean isBooted()
throws SQLException
SQLExceptionDatabaseInterface connectToJVM() throws SQLException
SQLExceptionCopyright © 2016. All rights reserved.