Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
O
R
S
T
V
A
assertNotFailed()
- Method in class com.google.code.flyway.core.
Migration
Asserts that this migration has not failed.
B
BaseJavaMigration
- Class in
com.google.code.flyway.core.java
Base class for java migration classes whose name conforms to the Flyway standard.
BaseJavaMigration()
- Constructor for class com.google.code.flyway.core.java.
BaseJavaMigration
Initializes this Migration with this standard Flyway name.
BaseMigration
- Class in
com.google.code.flyway.core
Base migration for migrations that use the standard Flyway version + description embedding in their name.
BaseMigration()
- Constructor for class com.google.code.flyway.core.
BaseMigration
C
checkForNewDelimiter(String)
- Method in class com.google.code.flyway.core.dbsupport.oracle.
OracleSqlScript
checkForNewDelimiter(String)
- Method in class com.google.code.flyway.core.
SqlScript
Checks whether this line in the sql script indicates that the statement delimiter will be different from the default one.
clean()
- Method in class com.google.code.flyway.core.
Flyway
Drops all object in the schema.
com.google.code.flyway.core
- package com.google.code.flyway.core
com.google.code.flyway.core.dbsupport
- package com.google.code.flyway.core.dbsupport
com.google.code.flyway.core.dbsupport.h2
- package com.google.code.flyway.core.dbsupport.h2
com.google.code.flyway.core.dbsupport.hsql
- package com.google.code.flyway.core.dbsupport.hsql
com.google.code.flyway.core.dbsupport.mysql
- package com.google.code.flyway.core.dbsupport.mysql
com.google.code.flyway.core.dbsupport.oracle
- package com.google.code.flyway.core.dbsupport.oracle
com.google.code.flyway.core.java
- package com.google.code.flyway.core.java
com.google.code.flyway.core.sql
- package com.google.code.flyway.core.sql
compareTo(SchemaVersion)
- Method in class com.google.code.flyway.core.
SchemaVersion
create()
- Method in class com.google.code.flyway.core.
MetaDataTable
Creates Flyway's metadata table.
createCleanScript(JdbcTemplate)
- Method in interface com.google.code.flyway.core.dbsupport.
DbSupport
Creates a new sql script which clean the current schema, by dropping all objects.
createCleanScript(JdbcTemplate)
- Method in class com.google.code.flyway.core.dbsupport.h2.
H2DbSupport
createCleanScript(JdbcTemplate)
- Method in class com.google.code.flyway.core.dbsupport.hsql.
HsqlDbSupport
createCleanScript(JdbcTemplate)
- Method in class com.google.code.flyway.core.dbsupport.mysql.
MySQLDbSupport
createCleanScript(JdbcTemplate)
- Method in class com.google.code.flyway.core.dbsupport.oracle.
OracleDbSupport
createSchemaMetaDataTableSql(String)
- Method in interface com.google.code.flyway.core.dbsupport.
DbSupport
Generates the sql statements for creating the schema meta-data table.
createSchemaMetaDataTableSql(String)
- Method in class com.google.code.flyway.core.dbsupport.h2.
H2DbSupport
createSchemaMetaDataTableSql(String)
- Method in class com.google.code.flyway.core.dbsupport.hsql.
HsqlDbSupport
createSchemaMetaDataTableSql(String)
- Method in class com.google.code.flyway.core.dbsupport.mysql.
MySQLDbSupport
createSchemaMetaDataTableSql(String)
- Method in class com.google.code.flyway.core.dbsupport.oracle.
OracleDbSupport
createSqlScript(Resource, Map<String, String>)
- Method in interface com.google.code.flyway.core.dbsupport.
DbSupport
Creates a new sql script from this resource with these placeholders to replace.
createSqlScript(Resource, Map<String, String>)
- Method in class com.google.code.flyway.core.dbsupport.h2.
H2DbSupport
createSqlScript(Resource, Map<String, String>)
- Method in class com.google.code.flyway.core.dbsupport.hsql.
HsqlDbSupport
createSqlScript(Resource, Map<String, String>)
- Method in class com.google.code.flyway.core.dbsupport.mysql.
MySQLDbSupport
createSqlScript(Resource, Map<String, String>)
- Method in class com.google.code.flyway.core.dbsupport.oracle.
OracleDbSupport
D
DbMigrator
- Class in
com.google.code.flyway.core
Main workflow for migrating the database.
DbMigrator(TransactionTemplate, JdbcTemplate, DbSupport, Collection<MigrationResolver>, MetaDataTable)
- Constructor for class com.google.code.flyway.core.
DbMigrator
Creates a new database migration.
DbSupport
- Interface in
com.google.code.flyway.core.dbsupport
Abstraction for database-specific functionality.
doMigrate(TransactionTemplate, JdbcTemplate, DbSupport)
- Method in class com.google.code.flyway.core.java.
BaseJavaMigration
Performs the migration.
doMigrate(TransactionTemplate, JdbcTemplate, DbSupport)
- Method in class com.google.code.flyway.core.
Migration
Performs the migration.
doMigrate(TransactionTemplate, JdbcTemplate, DbSupport)
- Method in class com.google.code.flyway.core.sql.
SqlMigration
doMigrateInTransaction(JdbcTemplate, DbSupport)
- Method in class com.google.code.flyway.core.java.
BaseJavaMigration
Performs the migration inside a transaction.
E
EMPTY
- Static variable in class com.google.code.flyway.core.
SchemaVersion
Schema version for an empty schema.
equals(Object)
- Method in class com.google.code.flyway.core.
SchemaVersion
execute(TransactionTemplate, JdbcTemplate)
- Method in class com.google.code.flyway.core.
SqlScript
Executes this script against the database.
execute(JdbcTemplate)
- Method in class com.google.code.flyway.core.
SqlStatement
Executes this statement against the database.
executionTime
- Variable in class com.google.code.flyway.core.
Migration
The time (in ms) it took to execute.
exists()
- Method in class com.google.code.flyway.core.
MetaDataTable
Checks whether Flyway's metadata table is already present in the database.
F
Flyway
- Class in
com.google.code.flyway.core
Central service locator.
Flyway()
- Constructor for class com.google.code.flyway.core.
Flyway
G
getCurrentSchema(JdbcTemplate)
- Method in interface com.google.code.flyway.core.dbsupport.
DbSupport
Retrieves the current schema.
getCurrentSchema(JdbcTemplate)
- Method in class com.google.code.flyway.core.dbsupport.h2.
H2DbSupport
getCurrentSchema(JdbcTemplate)
- Method in class com.google.code.flyway.core.dbsupport.hsql.
HsqlDbSupport
getCurrentSchema(JdbcTemplate)
- Method in class com.google.code.flyway.core.dbsupport.mysql.
MySQLDbSupport
getCurrentSchema(JdbcTemplate)
- Method in class com.google.code.flyway.core.dbsupport.oracle.
OracleDbSupport
getDescription()
- Method in class com.google.code.flyway.core.
SchemaVersion
getExecutionTime()
- Method in class com.google.code.flyway.core.
Migration
getLineNumber()
- Method in class com.google.code.flyway.core.
SqlStatement
getMetaDataTable()
- Method in class com.google.code.flyway.core.
Flyway
getScriptName()
- Method in class com.google.code.flyway.core.
Migration
getSql()
- Method in class com.google.code.flyway.core.
SqlStatement
getSqlStatements()
- Method in class com.google.code.flyway.core.
SqlScript
getState()
- Method in class com.google.code.flyway.core.
Migration
getVersion()
- Method in class com.google.code.flyway.core.
Migration
getVersion()
- Method in class com.google.code.flyway.core.
SchemaVersion
H
H2DbSupport
- Class in
com.google.code.flyway.core.dbsupport.h2
H2 database specific support
H2DbSupport()
- Constructor for class com.google.code.flyway.core.dbsupport.h2.
H2DbSupport
hashCode()
- Method in class com.google.code.flyway.core.
SchemaVersion
HsqlDbSupport
- Class in
com.google.code.flyway.core.dbsupport.hsql
HsqlDb-specific support
HsqlDbSupport()
- Constructor for class com.google.code.flyway.core.dbsupport.hsql.
HsqlDbSupport
I
init()
- Method in class com.google.code.flyway.core.
MetaDataTable
Initializes Flyway's metadata table with an initial version.
initVersion(String)
- Method in class com.google.code.flyway.core.
BaseMigration
Initializes the version of this Migration based on this standard Flyway name.
J
JavaMigrationResolver
- Class in
com.google.code.flyway.core.java
Migration resolver for java class based migrations.
JavaMigrationResolver(String)
- Constructor for class com.google.code.flyway.core.java.
JavaMigrationResolver
Creates a new instance.
L
LATEST
- Static variable in class com.google.code.flyway.core.
SchemaVersion
Latest schema version.
latestAppliedMigration()
- Method in class com.google.code.flyway.core.
MetaDataTable
lock()
- Method in class com.google.code.flyway.core.
MetaDataTable
Acquires an exclusive read-write lock on the metadata table.
M
MetaDataTable
- Class in
com.google.code.flyway.core
Supports reading and writing to the metadata table.
MetaDataTable(TransactionTemplate, JdbcTemplate, DbSupport, String)
- Constructor for class com.google.code.flyway.core.
MetaDataTable
Creates a new instance of the metadata table support.
metaDataTableExists(JdbcTemplate, String)
- Method in interface com.google.code.flyway.core.dbsupport.
DbSupport
Checks whether Flyway's metadata table is already present in the database.
metaDataTableExists(JdbcTemplate, String)
- Method in class com.google.code.flyway.core.dbsupport.h2.
H2DbSupport
metaDataTableExists(JdbcTemplate, String)
- Method in class com.google.code.flyway.core.dbsupport.hsql.
HsqlDbSupport
metaDataTableExists(JdbcTemplate, String)
- Method in class com.google.code.flyway.core.dbsupport.mysql.
MySQLDbSupport
metaDataTableExists(JdbcTemplate, String)
- Method in class com.google.code.flyway.core.dbsupport.oracle.
OracleDbSupport
migrate()
- Method in class com.google.code.flyway.core.
DbMigrator
Starts the actual migration.
migrate()
- Method in class com.google.code.flyway.core.
Flyway
Starts the database migration.
migrate(TransactionTemplate, JdbcTemplate, DbSupport)
- Method in class com.google.code.flyway.core.
Migration
Performs the migration.
Migration
- Class in
com.google.code.flyway.core
A migration of a single version of the schema.
Migration()
- Constructor for class com.google.code.flyway.core.
Migration
migrationCount()
- Method in class com.google.code.flyway.core.
MetaDataTable
migrationFinished(Migration)
- Method in class com.google.code.flyway.core.
MetaDataTable
Marks this migration as succeeded.
MigrationResolver
- Interface in
com.google.code.flyway.core
Facility for resolving available migrations.
migrationState
- Variable in class com.google.code.flyway.core.
Migration
The state of this migration.
MigrationState
- Enum in
com.google.code.flyway.core
The state of a migration.
MySQLDbSupport
- Class in
com.google.code.flyway.core.dbsupport.mysql
Mysql-specific support.
MySQLDbSupport()
- Constructor for class com.google.code.flyway.core.dbsupport.mysql.
MySQLDbSupport
O
OracleDbSupport
- Class in
com.google.code.flyway.core.dbsupport.oracle
Oracle-specific support.
OracleDbSupport()
- Constructor for class com.google.code.flyway.core.dbsupport.oracle.
OracleDbSupport
OracleSqlScript
- Class in
com.google.code.flyway.core.dbsupport.oracle
SqlScript supporting Oracle-specific PL/SQL constructs.
OracleSqlScript(Resource, Map<String, String>)
- Constructor for class com.google.code.flyway.core.dbsupport.oracle.
OracleSqlScript
Creates a new sql script from this resource with these placeholders to replace.
R
resolvesMigrations()
- Method in class com.google.code.flyway.core.java.
JavaMigrationResolver
resolvesMigrations()
- Method in interface com.google.code.flyway.core.
MigrationResolver
Resolves the available migrations.
resolvesMigrations()
- Method in class com.google.code.flyway.core.sql.
SqlMigrationResolver
S
schemaVersion
- Variable in class com.google.code.flyway.core.
Migration
The target schema version of this migration.
SchemaVersion
- Class in
com.google.code.flyway.core
A version of a database schema.
SchemaVersion(String, String)
- Constructor for class com.google.code.flyway.core.
SchemaVersion
Creates a SchemaVersion using this version string.
scriptName
- Variable in class com.google.code.flyway.core.
Migration
The script name for the migration history.
setBaseDir(String)
- Method in class com.google.code.flyway.core.
Flyway
setBasePackage(String)
- Method in class com.google.code.flyway.core.
Flyway
setDataSource(DataSource)
- Method in class com.google.code.flyway.core.
Flyway
setPlaceholders(Map<String, String>)
- Method in class com.google.code.flyway.core.
Flyway
setSchemaMetaDataTable(String)
- Method in class com.google.code.flyway.core.
Flyway
SqlMigration
- Class in
com.google.code.flyway.core.sql
Database migration based on a sql file.
SqlMigration(Resource, Map<String, String>)
- Constructor for class com.google.code.flyway.core.sql.
SqlMigration
Creates a new sql script migration based on this sql script.
SqlMigrationResolver
- Class in
com.google.code.flyway.core.sql
Migration resolver for sql files on the classpath.
SqlMigrationResolver(String, Map<String, String>)
- Constructor for class com.google.code.flyway.core.sql.
SqlMigrationResolver
Creates a new instance.
SqlScript
- Class in
com.google.code.flyway.core
Sql script containing a series of statements terminated by semi-columns (;).
SqlScript(Resource, Map<String, String>)
- Constructor for class com.google.code.flyway.core.
SqlScript
Creates a new sql script from this resource with these placeholders to replace.
SqlScript(List<SqlStatement>, String)
- Constructor for class com.google.code.flyway.core.
SqlScript
Creates a new SqlScript with these statements and this name.
SqlScript()
- Constructor for class com.google.code.flyway.core.
SqlScript
Dummy constructor to increase testability.
SqlStatement
- Class in
com.google.code.flyway.core
A sql statement from a script that can be executed at once against a database.
SqlStatement(int, String)
- Constructor for class com.google.code.flyway.core.
SqlStatement
Creates a new sql statement.
supportsDatabase(String)
- Method in interface com.google.code.flyway.core.dbsupport.
DbSupport
Checks whether this DbSupport class supports the database with this product name.
supportsDatabase(String)
- Method in class com.google.code.flyway.core.dbsupport.h2.
H2DbSupport
supportsDatabase(String)
- Method in class com.google.code.flyway.core.dbsupport.hsql.
HsqlDbSupport
supportsDatabase(String)
- Method in class com.google.code.flyway.core.dbsupport.mysql.
MySQLDbSupport
supportsDatabase(String)
- Method in class com.google.code.flyway.core.dbsupport.oracle.
OracleDbSupport
supportsDdlTransactions()
- Method in interface com.google.code.flyway.core.dbsupport.
DbSupport
Checks whether ddl transactions are supported for this database.
supportsDdlTransactions()
- Method in class com.google.code.flyway.core.dbsupport.h2.
H2DbSupport
supportsDdlTransactions()
- Method in class com.google.code.flyway.core.dbsupport.hsql.
HsqlDbSupport
supportsDdlTransactions()
- Method in class com.google.code.flyway.core.dbsupport.mysql.
MySQLDbSupport
supportsDdlTransactions()
- Method in class com.google.code.flyway.core.dbsupport.oracle.
OracleDbSupport
supportsLocking()
- Method in interface com.google.code.flyway.core.dbsupport.
DbSupport
Checks whether locking using select ... for update is supported for this database.
supportsLocking()
- Method in class com.google.code.flyway.core.dbsupport.h2.
H2DbSupport
supportsLocking()
- Method in class com.google.code.flyway.core.dbsupport.hsql.
HsqlDbSupport
supportsLocking()
- Method in class com.google.code.flyway.core.dbsupport.mysql.
MySQLDbSupport
supportsLocking()
- Method in class com.google.code.flyway.core.dbsupport.oracle.
OracleDbSupport
T
toString()
- Method in class com.google.code.flyway.core.
SchemaVersion
V
valueOf(String)
- Static method in enum com.google.code.flyway.core.
MigrationState
Returns the enum constant of this type with the specified name.
values()
- Static method in enum com.google.code.flyway.core.
MigrationState
Returns an array containing the constants of this enum type, in the order they are declared.
A
B
C
D
E
F
G
H
I
J
L
M
O
R
S
T
V
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2010. All Rights Reserved.