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.com.mckoi.runtime The main (starting) class for a Mckoi database server. -
-
Uses of DBConfig in com.mckoi.database
Fields in com.mckoi.database declared as DBConfig Modifier and Type Field Description private DBConfigTransactionSystem. configThe ResourceBundle that contains properties of the entire database system.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.private voidTransactionSystem. setupLog(DBConfig config)Sets up the log file from the config information. -
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.Fields in com.mckoi.database.control declared as DBConfig Modifier and Type Field Description private DBConfigDBSystem. configThe DBConfig object that describes the startup configuration of the 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 private static DatabaseDBController. createDatabase(DBConfig config)Creates a Database object for the given DBConfig configuration.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.Constructors in com.mckoi.database.control with parameters of type DBConfig Constructor Description DBSystem(DBController controller, DBConfig config, Database database)Package-protected constructor. -
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. -
Uses of DBConfig in com.mckoi.runtime
Methods in com.mckoi.runtime with parameters of type DBConfig Modifier and Type Method Description private static voidMcKoiDBMain. doBoot(DBConfig conf)Performs the boot command.private static voidMcKoiDBMain. doCreate(java.lang.String database_name, java.lang.String username, java.lang.String password, DBConfig config)Performs the create command.
-