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.SQLException
DatabaseInterface boot(DBConfig config) throws SQLException
config
- the configuration variables.SQLException
boolean checkExists(DBConfig config) throws SQLException
config
- the configuration variables.SQLException
boolean isBooted() throws SQLException
SQLException
DatabaseInterface connectToJVM() throws SQLException
SQLException
Copyright © 2015. All rights reserved.