Uses of Interface
com.mckoi.database.control.DBConfig
-
Packages that use DBConfig 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. -
-
Uses of DBConfig in com.mckoi.database
Methods in com.mckoi.database with parameters of type DBConfig Modifier and Type Method Description void
DatabaseSystem. init(DBConfig config)
Inits the DatabaseSystem with the configuration properties of the system.void
TransactionSystem. init(DBConfig config)
Inits the TransactionSystem with the configuration properties of the system. -
Uses of DBConfig in com.mckoi.database.control
Classes in com.mckoi.database.control that implement DBConfig Modifier and Type Class Description class
AbstractDBConfig
An abstract implementation of DBConfig.class
DefaultDBConfig
Implements a default database configuration that is useful for setting up a database.Methods in com.mckoi.database.control that return DBConfig Modifier and Type Method Description DBConfig
DBSystem. getConfig()
Returns an immutable version of the database system configuration.DBConfig
AbstractDBConfig. immutableCopy()
DBConfig
DBConfig. immutableCopy()
Makes an immutable copy of this configuration.Methods in com.mckoi.database.control with parameters of type DBConfig Modifier and Type Method Description DBSystem
DBController. createDatabase(DBConfig config, java.lang.String admin_user, java.lang.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. -
Uses of DBConfig in com.mckoi.database.jdbc
Methods in com.mckoi.database.jdbc with parameters of type DBConfig Modifier and Type Method 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(java.lang.String username, java.lang.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. -
Uses of DBConfig in com.mckoi.database.jdbcserver
Methods in com.mckoi.database.jdbcserver with parameters of type DBConfig Modifier and Type Method 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(java.lang.String username, java.lang.String password, DBConfig config)
Creates and boots a local database with the given configuration.
-