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 voidDatabaseSystem. init(DBConfig config)Inits the DatabaseSystem with the configuration properties of the system.voidTransactionSystem. 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 classAbstractDBConfigAn abstract implementation of DBConfig.classDefaultDBConfigImplements 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 DBConfigDBSystem. getConfig()Returns an immutable version of the database system configuration.DBConfigAbstractDBConfig. immutableCopy()DBConfigDBConfig. immutableCopy()Makes an immutable copy of this configuration.Methods in com.mckoi.database.control with parameters of type DBConfig Modifier and Type Method Description DBSystemDBController. 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.booleanDBController. 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.DBSystemDBController. 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 DatabaseInterfaceLocalBootable. boot(DBConfig config)Boots the database with the given configuration.booleanLocalBootable. checkExists(DBConfig config)Attempts to test if the database exists or not.DatabaseInterfaceLocalBootable. 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 DatabaseInterfaceDefaultLocalBootable. boot(DBConfig config)Boots the local database with the given configuration.booleanDefaultLocalBootable. checkExists(DBConfig config)Attempts to test if the database exists or not.DatabaseInterfaceDefaultLocalBootable. create(java.lang.String username, java.lang.String password, DBConfig config)Creates and boots a local database with the given configuration.
-