Package | Description |
---|---|
com.mckoi.database |
The core database classes for Mckoi.
|
com.mckoi.database.control | |
com.mckoi.database.jdbc |
The JDBC interface to Mckoi.
|
com.mckoi.database.jdbcserver |
Implementation of the DatabaseInterface interface,
including classes to handle local (embedded) mode
and remote (client/server) mode.
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionSystem.init(DBConfig config)
Inits the TransactionSystem with the configuration properties of the
system.
|
void |
DatabaseSystem.init(DBConfig config)
Inits the DatabaseSystem with the configuration properties of the system.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractDBConfig
An abstract implementation of DBConfig.
|
class |
DefaultDBConfig
Implements a default database configuration that is useful for setting up
a database.
|
Modifier and Type | Method and Description |
---|---|
DBConfig |
DBSystem.getConfig()
Returns an immutable version of the database system configuration.
|
DBConfig |
DBConfig.immutableCopy()
Makes an immutable copy of this configuration.
|
DBConfig |
AbstractDBConfig.immutableCopy() |
Modifier and Type | Method and Description |
---|---|
DBSystem |
DBController.createDatabase(DBConfig config,
String admin_user,
String admin_pass)
Creates a database in the local JVM (and filesystem) given the
configuration in DBConfig and returns a DBSystem object.
|
boolean |
DBController.databaseExists(DBConfig config)
Returns true if a Mckoi database exists in the given directory of the
file system, otherwise returns false if the path doesn't contain a
database.
|
DBSystem |
DBController.startDatabase(DBConfig config)
Starts a database in the local JVM given the configuration in DBConfig
and returns a DBSystem object.
|
Modifier and Type | Method and Description |
---|---|
DatabaseInterface |
LocalBootable.boot(DBConfig config)
Boots the database with the given configuration.
|
boolean |
LocalBootable.checkExists(DBConfig config)
Attempts to test if the database exists or not.
|
DatabaseInterface |
LocalBootable.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.
|
Modifier and Type | Method and Description |
---|---|
DatabaseInterface |
DefaultLocalBootable.boot(DBConfig config)
Boots the local database with the given configuration.
|
boolean |
DefaultLocalBootable.checkExists(DBConfig config)
Attempts to test if the database exists or not.
|
DatabaseInterface |
DefaultLocalBootable.create(String username,
String password,
DBConfig config)
Creates and boots a local database with the given configuration.
|
Copyright © 2015. All rights reserved.