Uses of Interface
com.tccc.kos.commons.db.DatabaseMigrator
Packages that use DatabaseMigrator
Package
Description
Provides classes and interfaces that handle database creation, database access,
and schema upgrading/downgrading.
Provides the abstract KosApplication class, which all KOS apps derive from.
-
Uses of DatabaseMigrator in com.tccc.kos.commons.db
Classes in com.tccc.kos.commons.db that implement DatabaseMigratorMethods in com.tccc.kos.commons.db that return DatabaseMigratorModifier and TypeMethodDescriptionDatabaseFactory.migrate(DatabaseMigrator migrator, String name, File dir) This is a convenience method that simply callsgetDataSource()and then returns the migrator.Methods in com.tccc.kos.commons.db with parameters of type DatabaseMigratorModifier and TypeMethodDescriptionDatabaseFactory.getDataSource(DatabaseMigrator migrator, String name, File dir) Creates aDataSourcefor the specified database file in the specified directory.org.jdbi.v3.core.JdbiDatabaseFactory.getJdbi(DatabaseMigrator migrator, String name, File dir) Wrapper forgetDataSourcethat returnsJdbiinstance instead.DatabaseFactory.migrate(DatabaseMigrator migrator, String name, File dir) This is a convenience method that simply callsgetDataSource()and then returns the migrator. -
Uses of DatabaseMigrator in com.tccc.kos.core.service.app
Methods in com.tccc.kos.core.service.app with parameters of type DatabaseMigratorModifier and TypeMethodDescriptionorg.jdbi.v3.core.JdbiApplication.openDatabase(String name, DatabaseMigrator migrator) Opens or creates a database with the specified name in the local storage area of the application.