A B C D E F G H I J L M N O P R S T U V

A

allAppliedMigrations() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTable
 
applyMigration(Migration) - Method in class com.googlecode.flyway.core.migration.DbMigrator
Applies this migration to the database.

B

BaseJavaMigration - Class in com.googlecode.flyway.core.migration.java
Deprecated. Implement JavaMigration directly instead. Also consider implementing JavaMigrationChecksumProvider and JavaMigrationInfoProvider if you need more control. This class will be removed in Flyway 1.5.
BaseJavaMigration() - Constructor for class com.googlecode.flyway.core.migration.java.BaseJavaMigration
Deprecated. Initializes this Migration with this standard Flyway name.
BaseJavaMigration(String, String) - Constructor for class com.googlecode.flyway.core.migration.java.BaseJavaMigration
Deprecated. Initializes this Migration with this version

C

changeDelimiterIfNecessary(String, String, String) - Method in class com.googlecode.flyway.core.dbsupport.h2.H2SqlScript
 
changeDelimiterIfNecessary(String, String, String) - Method in class com.googlecode.flyway.core.dbsupport.hsql.HsqlSqlScript
 
changeDelimiterIfNecessary(String, String, String) - Method in class com.googlecode.flyway.core.dbsupport.mysql.MySQLSqlScript
 
changeDelimiterIfNecessary(String, String, String) - Method in class com.googlecode.flyway.core.dbsupport.oracle.OracleSqlScript
 
changeDelimiterIfNecessary(String, String, String) - Method in class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLSqlScript
 
changeDelimiterIfNecessary(String, String, String) - Method in class com.googlecode.flyway.core.dbsupport.sqlserver.SQLServerSqlScript
 
changeDelimiterIfNecessary(String, String, String) - Method in class com.googlecode.flyway.core.migration.sql.SqlScript
Checks whether this line in the sql script indicates that the statement delimiter will be different from the current one.
checksum - Variable in class com.googlecode.flyway.core.migration.Migration
The checksum of the migration.
clean() - Method in class com.googlecode.flyway.core.clean.DbCleaner
Cleans the schemas of all objects.
clean() - Method in class com.googlecode.flyway.core.Flyway
Drops all objects (tables, views, procedures, triggers, ...) in the configured schemas.
collapseWhitespace(String) - Static method in class com.googlecode.flyway.core.util.StringUtils
Replaces all sequences of whitespace by a single blank.
com.googlecode.flyway.core - package com.googlecode.flyway.core
The main Flyway package and for most users, the only one they'll ever need to know about.
com.googlecode.flyway.core.clean - package com.googlecode.flyway.core.clean
Private API.
com.googlecode.flyway.core.dbsupport - package com.googlecode.flyway.core.dbsupport
Private API.
com.googlecode.flyway.core.dbsupport.db2 - package com.googlecode.flyway.core.dbsupport.db2
Private API.
com.googlecode.flyway.core.dbsupport.h2 - package com.googlecode.flyway.core.dbsupport.h2
Private API.
com.googlecode.flyway.core.dbsupport.hsql - package com.googlecode.flyway.core.dbsupport.hsql
Private API.
com.googlecode.flyway.core.dbsupport.mysql - package com.googlecode.flyway.core.dbsupport.mysql
Private API.
com.googlecode.flyway.core.dbsupport.oracle - package com.googlecode.flyway.core.dbsupport.oracle
Private API.
com.googlecode.flyway.core.dbsupport.postgresql - package com.googlecode.flyway.core.dbsupport.postgresql
Private API.
com.googlecode.flyway.core.dbsupport.sqlserver - package com.googlecode.flyway.core.dbsupport.sqlserver
Private API.
com.googlecode.flyway.core.exception - package com.googlecode.flyway.core.exception
Exceptions thrown by Flyway.
com.googlecode.flyway.core.init - package com.googlecode.flyway.core.init
Private API.
com.googlecode.flyway.core.metadatatable - package com.googlecode.flyway.core.metadatatable
Private API.
com.googlecode.flyway.core.migration - package com.googlecode.flyway.core.migration
SchemaVersion class, the rest is Private API.
com.googlecode.flyway.core.migration.init - package com.googlecode.flyway.core.migration.init
Private API.
com.googlecode.flyway.core.migration.java - package com.googlecode.flyway.core.migration.java
Support for Java migrations.
com.googlecode.flyway.core.migration.sql - package com.googlecode.flyway.core.migration.sql
Private API.
com.googlecode.flyway.core.util - package com.googlecode.flyway.core.util
Private API.
com.googlecode.flyway.core.validation - package com.googlecode.flyway.core.validation
Private API.
compareTo(MetaDataTableRow) - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTableRow
 
compareTo(Migration) - Method in class com.googlecode.flyway.core.migration.Migration
 
compareTo(SchemaVersion) - Method in class com.googlecode.flyway.core.migration.SchemaVersion
 
configure(Properties) - Method in class com.googlecode.flyway.core.Flyway
Configures Flyway with these properties.
createCleanScript(String) - Method in class com.googlecode.flyway.core.dbsupport.db2.DB2DbSupport
 
createCleanScript(String) - Method in interface com.googlecode.flyway.core.dbsupport.DbSupport
Creates a new sql script which clean this schema, by dropping all objects.
createCleanScript(String) - Method in class com.googlecode.flyway.core.dbsupport.h2.H2DbSupport
 
createCleanScript(String) - Method in class com.googlecode.flyway.core.dbsupport.hsql.HsqlDbSupport
 
createCleanScript(String) - Method in class com.googlecode.flyway.core.dbsupport.mysql.MySQLDbSupport
 
createCleanScript(String) - Method in class com.googlecode.flyway.core.dbsupport.oracle.OracleDbSupport
 
createCleanScript(String) - Method in class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLDbSupport
 
createCleanScript(String) - Method in class com.googlecode.flyway.core.dbsupport.sqlserver.SQLServerDbSupport
 
createDbSupport(JdbcTemplate) - Static method in class com.googlecode.flyway.core.dbsupport.DbSupportFactory
Initializes the appropriate DbSupport class for the database product used by the data source.
createIfNotExists() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTable
Creates the metadata table if it doesn't already exist.
createSqlScript(String, PlaceholderReplacer) - Method in class com.googlecode.flyway.core.dbsupport.db2.DB2DbSupport
 
createSqlScript(String, PlaceholderReplacer) - Method in interface com.googlecode.flyway.core.dbsupport.DbSupport
Creates a new sql script from this resource with these placeholders to replace.
createSqlScript(String, PlaceholderReplacer) - Method in class com.googlecode.flyway.core.dbsupport.h2.H2DbSupport
 
createSqlScript(String, PlaceholderReplacer) - Method in class com.googlecode.flyway.core.dbsupport.hsql.HsqlDbSupport
 
createSqlScript(String, PlaceholderReplacer) - Method in class com.googlecode.flyway.core.dbsupport.mysql.MySQLDbSupport
 
createSqlScript(String, PlaceholderReplacer) - Method in class com.googlecode.flyway.core.dbsupport.oracle.OracleDbSupport
 
createSqlScript(String, PlaceholderReplacer) - Method in class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLDbSupport
 
createSqlScript(String, PlaceholderReplacer) - Method in class com.googlecode.flyway.core.dbsupport.sqlserver.SQLServerDbSupport
 

D

DB2DbSupport - Class in com.googlecode.flyway.core.dbsupport.db2
DB2 Support.
DB2DbSupport(JdbcTemplate) - Constructor for class com.googlecode.flyway.core.dbsupport.db2.DB2DbSupport
 
DB2SqlScript - Class in com.googlecode.flyway.core.dbsupport.db2
SqlScript supporting DB2-specific delimiter changes.
DB2SqlScript(String, PlaceholderReplacer) - Constructor for class com.googlecode.flyway.core.dbsupport.db2.DB2SqlScript
Creates a new sql script from this source with these placeholders to replace.
DbCleaner - Class in com.googlecode.flyway.core.clean
Main workflow for cleaning the database.
DbCleaner(TransactionTemplate, JdbcTemplate, DbSupport, String[]) - Constructor for class com.googlecode.flyway.core.clean.DbCleaner
Creates a new database cleaner.
DbInit - Class in com.googlecode.flyway.core.init
Main workflow for migrating the database.
DbInit(TransactionTemplate, MetaDataTable) - Constructor for class com.googlecode.flyway.core.init.DbInit
Creates a new database migrator.
DbMigrator - Class in com.googlecode.flyway.core.migration
Main workflow for migrating the database.
DbMigrator(TransactionTemplate, JdbcTemplate, DbSupport, MetaDataTable, SchemaVersion, boolean) - Constructor for class com.googlecode.flyway.core.migration.DbMigrator
Creates a new database migrator.
DbSupport - Interface in com.googlecode.flyway.core.dbsupport
Abstraction for database-specific functionality.
DbSupportFactory - Class in com.googlecode.flyway.core.dbsupport
Factory for obtaining the correct DbSupport instance for the current connection.
DbValidator - Class in com.googlecode.flyway.core.validation
Main workflow for validating the applied migrations against the available classpath migrations in order to detect accidental migration changes.
DbValidator(ValidationMode, MetaDataTable) - Constructor for class com.googlecode.flyway.core.validation.DbValidator
Creates a new database validator.
DEFAULT_STATEMENT_DELIMITER - Static variable in class com.googlecode.flyway.core.migration.sql.SqlScript
The default Statement delimiter.
description - Variable in class com.googlecode.flyway.core.migration.Migration
The description for the migration history.
doMigrateInTransaction(JdbcTemplate) - Method in class com.googlecode.flyway.core.migration.java.BaseJavaMigration
Deprecated. Performs the migration inside a transaction.
dumpMigrations(List<MetaDataTableRow>) - Static method in class com.googlecode.flyway.core.util.MetaDataTableRowDumper
Dumps this list of metaDataTableRows in the log file.

E

EMPTY - Static variable in class com.googlecode.flyway.core.migration.SchemaVersion
Schema version for an empty schema.
equals(Object) - Method in class com.googlecode.flyway.core.migration.Migration
 
equals(Object) - Method in class com.googlecode.flyway.core.migration.SchemaVersion
 
ExceptionUtils - Class in com.googlecode.flyway.core.util
Utility class for dealing with exceptions.
execute(JdbcTemplate) - Method in class com.googlecode.flyway.core.migration.sql.SqlScript
Executes this script against the database.
execute(JdbcTemplate) - Method in class com.googlecode.flyway.core.migration.sql.SqlStatement
Executes this statement against the database.
extractDescription(String) - Static method in class com.googlecode.flyway.core.migration.MigrationInfoHelper
Extracts the description from a migration name formatted as 1_2__Description.
extractSchemaVersion(String) - Static method in class com.googlecode.flyway.core.migration.MigrationInfoHelper
Extracts the schema version from a migration name formatted as 1_2__Description.

F

findAvailableMigrations() - Method in class com.googlecode.flyway.core.migration.MigrationProvider
Finds all available migrations using all migration resolvers (sql, java, ...).
Flyway - Class in com.googlecode.flyway.core
This is the centre point of Flyway, and for most users, the only class they will ever have to deal with.
Flyway() - Constructor for class com.googlecode.flyway.core.Flyway
 
FlywayException - Exception in com.googlecode.flyway.core.exception
Exception thrown when Flyway encounters a problem.
FlywayException(String, Throwable) - Constructor for exception com.googlecode.flyway.core.exception.FlywayException
Creates a new FlywayException with this message and this cause.
FlywayException(String) - Constructor for exception com.googlecode.flyway.core.exception.FlywayException
Creates a new FlywayException with this message.
FlywayException() - Constructor for exception com.googlecode.flyway.core.exception.FlywayException
Creates a new FlywayException.
format(long) - Static method in class com.googlecode.flyway.core.util.TimeFormat
Formats this execution time.

G

getBaseDir() - Method in class com.googlecode.flyway.core.Flyway
Retrieves the base directory on the classpath where the Sql migrations are located.
getBasePackage() - Method in class com.googlecode.flyway.core.Flyway
Retrieves the base package where the Java migrations are located.
getBooleanFalse() - Method in class com.googlecode.flyway.core.dbsupport.db2.DB2DbSupport
 
getBooleanFalse() - Method in interface com.googlecode.flyway.core.dbsupport.DbSupport
 
getBooleanFalse() - Method in class com.googlecode.flyway.core.dbsupport.h2.H2DbSupport
 
getBooleanFalse() - Method in class com.googlecode.flyway.core.dbsupport.hsql.HsqlDbSupport
 
getBooleanFalse() - Method in class com.googlecode.flyway.core.dbsupport.mysql.MySQLDbSupport
 
getBooleanFalse() - Method in class com.googlecode.flyway.core.dbsupport.oracle.OracleDbSupport
 
getBooleanFalse() - Method in class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLDbSupport
 
getBooleanFalse() - Method in class com.googlecode.flyway.core.dbsupport.sqlserver.SQLServerDbSupport
 
getBooleanTrue() - Method in class com.googlecode.flyway.core.dbsupport.db2.DB2DbSupport
 
getBooleanTrue() - Method in interface com.googlecode.flyway.core.dbsupport.DbSupport
 
getBooleanTrue() - Method in class com.googlecode.flyway.core.dbsupport.h2.H2DbSupport
 
getBooleanTrue() - Method in class com.googlecode.flyway.core.dbsupport.hsql.HsqlDbSupport
 
getBooleanTrue() - Method in class com.googlecode.flyway.core.dbsupport.mysql.MySQLDbSupport
 
getBooleanTrue() - Method in class com.googlecode.flyway.core.dbsupport.oracle.OracleDbSupport
 
getBooleanTrue() - Method in class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLDbSupport
 
getBooleanTrue() - Method in class com.googlecode.flyway.core.dbsupport.sqlserver.SQLServerDbSupport
 
getChecksum() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTableRow
 
getChecksum() - Method in class com.googlecode.flyway.core.migration.init.InitMigration
 
getChecksum() - Method in interface com.googlecode.flyway.core.migration.java.JavaMigrationChecksumProvider
 
getChecksum() - Method in class com.googlecode.flyway.core.migration.Migration
 
getCurrentSchema() - Method in class com.googlecode.flyway.core.dbsupport.db2.DB2DbSupport
 
getCurrentSchema() - Method in interface com.googlecode.flyway.core.dbsupport.DbSupport
Retrieves the current schema.
getCurrentSchema() - Method in class com.googlecode.flyway.core.dbsupport.h2.H2DbSupport
 
getCurrentSchema() - Method in class com.googlecode.flyway.core.dbsupport.hsql.HsqlDbSupport
 
getCurrentSchema() - Method in class com.googlecode.flyway.core.dbsupport.mysql.MySQLDbSupport
 
getCurrentSchema() - Method in class com.googlecode.flyway.core.dbsupport.oracle.OracleDbSupport
 
getCurrentSchema() - Method in class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLDbSupport
 
getCurrentSchema() - Method in class com.googlecode.flyway.core.dbsupport.sqlserver.SQLServerDbSupport
 
getCurrentSchemaState() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTable
 
getCurrentSchemaVersion() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTable
 
getCurrentUserFunction() - Method in class com.googlecode.flyway.core.dbsupport.db2.DB2DbSupport
 
getCurrentUserFunction() - Method in interface com.googlecode.flyway.core.dbsupport.DbSupport
 
getCurrentUserFunction() - Method in class com.googlecode.flyway.core.dbsupport.h2.H2DbSupport
 
getCurrentUserFunction() - Method in class com.googlecode.flyway.core.dbsupport.hsql.HsqlDbSupport
 
getCurrentUserFunction() - Method in class com.googlecode.flyway.core.dbsupport.mysql.MySQLDbSupport
 
getCurrentUserFunction() - Method in class com.googlecode.flyway.core.dbsupport.oracle.OracleDbSupport
 
getCurrentUserFunction() - Method in class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLDbSupport
 
getCurrentUserFunction() - Method in class com.googlecode.flyway.core.dbsupport.sqlserver.SQLServerDbSupport
 
getDataSource() - Method in class com.googlecode.flyway.core.Flyway
Retrieves the dataSource to use to access the database.
getDescription() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTableRow
 
getDescription() - Method in interface com.googlecode.flyway.core.migration.java.JavaMigrationInfoProvider
 
getDescription() - Method in class com.googlecode.flyway.core.migration.Migration
 
getEncoding() - Method in class com.googlecode.flyway.core.Flyway
Retrieves the encoding of Sql migrations.
getExecutionTime() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTableRow
 
getInitialDescription() - Method in class com.googlecode.flyway.core.Flyway
Retrieves the description of the initial version.
getInitialVersion() - Method in class com.googlecode.flyway.core.Flyway
Retrieves the initial version to put in the database.
getInstalledOn() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTableRow
 
getLineNumber() - Method in class com.googlecode.flyway.core.migration.sql.SqlStatement
 
getMessage() - Method in exception com.googlecode.flyway.core.migration.MigrationException
 
getMigrationType() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTableRow
 
getMigrationType() - Method in class com.googlecode.flyway.core.migration.init.InitMigration
 
getMigrationType() - Method in class com.googlecode.flyway.core.migration.java.BaseJavaMigration
Deprecated.  
getMigrationType() - Method in class com.googlecode.flyway.core.migration.java.JavaMigrationExecutor
 
getMigrationType() - Method in class com.googlecode.flyway.core.migration.Migration
 
getMigrationType() - Method in class com.googlecode.flyway.core.migration.sql.SqlMigration
 
getPlaceholderPrefix() - Method in class com.googlecode.flyway.core.Flyway
Retrieves the prefix of every placeholder.
getPlaceholders() - Method in class com.googlecode.flyway.core.Flyway
Retrieves the map of to apply to sql migration scripts.
getPlaceholderSuffix() - Method in class com.googlecode.flyway.core.Flyway
Retrieves the suffix of every placeholder.
getRootCause(Throwable) - Static method in class com.googlecode.flyway.core.util.ExceptionUtils
Returns the root cause of this throwable.
getSchemas() - Method in class com.googlecode.flyway.core.Flyway
Retrieves the schemas managed by Flyway.
getScript() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTableRow
 
getScript() - Method in class com.googlecode.flyway.core.migration.Migration
 
getScriptLocation() - Method in class com.googlecode.flyway.core.dbsupport.db2.DB2DbSupport
 
getScriptLocation() - Method in interface com.googlecode.flyway.core.dbsupport.DbSupport
Returns the location on the classpath where the scripts for this database reside.
getScriptLocation() - Method in class com.googlecode.flyway.core.dbsupport.h2.H2DbSupport
 
getScriptLocation() - Method in class com.googlecode.flyway.core.dbsupport.hsql.HsqlDbSupport
 
getScriptLocation() - Method in class com.googlecode.flyway.core.dbsupport.mysql.MySQLDbSupport
 
getScriptLocation() - Method in class com.googlecode.flyway.core.dbsupport.oracle.OracleDbSupport
 
getScriptLocation() - Method in class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLDbSupport
 
getScriptLocation() - Method in class com.googlecode.flyway.core.dbsupport.sqlserver.SQLServerDbSupport
 
getSql() - Method in class com.googlecode.flyway.core.migration.sql.SqlStatement
 
getSqlMigrationPrefix() - Method in class com.googlecode.flyway.core.Flyway
Retrieves the file name prefix for sql migrations.
getSqlMigrationSuffix() - Method in class com.googlecode.flyway.core.Flyway
Retrieves the file name suffix for sql migrations.
getSqlStatements() - Method in class com.googlecode.flyway.core.migration.sql.SqlScript
 
getState() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTableRow
 
getTable() - Method in class com.googlecode.flyway.core.Flyway
Retrieves the name of the schema metadata table that will be used by Flyway.
getTarget() - Method in class com.googlecode.flyway.core.Flyway
Retrieves the target version up to which Flyway should run migrations.
getTransactionManager() - Method in class com.googlecode.flyway.core.Flyway
Retrives the transaction manager to use.
getValidationErrorMode() - Method in class com.googlecode.flyway.core.Flyway
Retrieves the error mode for validation.
getValidationMode() - Method in class com.googlecode.flyway.core.Flyway
Retrieves the mode for validation.
getVersion() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTableRow
 
getVersion() - Method in interface com.googlecode.flyway.core.migration.java.JavaMigrationInfoProvider
 
getVersion() - Method in class com.googlecode.flyway.core.migration.Migration
 

H

H2DbSupport - Class in com.googlecode.flyway.core.dbsupport.h2
H2 database specific support
H2DbSupport(JdbcTemplate) - Constructor for class com.googlecode.flyway.core.dbsupport.h2.H2DbSupport
Creates a new instance.
H2SqlScript - Class in com.googlecode.flyway.core.dbsupport.h2
SqlScript supporting Hsql-specific delimiter changes.
H2SqlScript(String, PlaceholderReplacer) - Constructor for class com.googlecode.flyway.core.dbsupport.h2.H2SqlScript
Creates a new sql script from this source with these placeholders to replace.
hashCode() - Method in class com.googlecode.flyway.core.migration.Migration
 
hashCode() - Method in class com.googlecode.flyway.core.migration.SchemaVersion
 
history() - Method in class com.googlecode.flyway.core.Flyway
Returns the history (all applied migrations) of the database.
HsqlDbSupport - Class in com.googlecode.flyway.core.dbsupport.hsql
HsqlDb-specific support
HsqlDbSupport(JdbcTemplate) - Constructor for class com.googlecode.flyway.core.dbsupport.hsql.HsqlDbSupport
Creates a new instance.
HsqlSqlScript - Class in com.googlecode.flyway.core.dbsupport.hsql
SqlScript supporting Hsql-specific delimiter changes.
HsqlSqlScript(String, PlaceholderReplacer) - Constructor for class com.googlecode.flyway.core.dbsupport.hsql.HsqlSqlScript
Creates a new sql script from this source with these placeholders to replace.

I

init() - Method in class com.googlecode.flyway.core.Flyway
Creates and initializes the Flyway metadata table.
init(SchemaVersion, String) - Method in class com.googlecode.flyway.core.Flyway
Deprecated. Use init(), setInitialVersion() and setInitialDescription() instead.
init(SchemaVersion, String) - Method in class com.googlecode.flyway.core.init.DbInit
Initializes the metadata table with this version and this description.
InitException - Exception in com.googlecode.flyway.core.init
Exception indicating that migration failed.
InitException(String, Throwable) - Constructor for exception com.googlecode.flyway.core.init.InitException
Creates a new InitException with this error message and this cause.
InitException(String) - Constructor for exception com.googlecode.flyway.core.init.InitException
Creates a new InitException with this error message.
InitMigration - Class in com.googlecode.flyway.core.migration.init
Special type of migration used to mark the initial state of the database from which Flyway can migrate to subsequent versions.
InitMigration(SchemaVersion, String) - Constructor for class com.googlecode.flyway.core.migration.init.InitMigration
Creates a new initial migration with this version.
insert(MetaDataTableRow) - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTable
Adds this row to the metadata table and mark it as current.
isCommentDirective(String) - Method in class com.googlecode.flyway.core.dbsupport.mysql.MySQLSqlScript
 
isCommentDirective(String) - Method in class com.googlecode.flyway.core.migration.sql.SqlScript
Checks whether this line is in fact a directive disguised as a comment.
isDelimiterChangeExplicit() - Method in class com.googlecode.flyway.core.dbsupport.mysql.MySQLSqlScript
 
isDelimiterChangeExplicit() - Method in class com.googlecode.flyway.core.migration.sql.SqlScript
 
isDisableInitCheck() - Method in class com.googlecode.flyway.core.Flyway
Flag to disable the check that a non-empty schema has been properly initialized with init.
isIgnoreFailedFutureMigration() - Method in class com.googlecode.flyway.core.Flyway
Retrieves whether to ignore failed future migrations when reading the metadata table.
isNumeric(String) - Static method in class com.googlecode.flyway.core.util.StringUtils
Checks if the String contains only unicode digits.
isSchemaEmpty(String) - Method in class com.googlecode.flyway.core.dbsupport.db2.DB2DbSupport
 
isSchemaEmpty(String) - Method in interface com.googlecode.flyway.core.dbsupport.DbSupport
Checks if this database schema is empty.
isSchemaEmpty(String) - Method in class com.googlecode.flyway.core.dbsupport.h2.H2DbSupport
 
isSchemaEmpty(String) - Method in class com.googlecode.flyway.core.dbsupport.hsql.HsqlDbSupport
 
isSchemaEmpty(String) - Method in class com.googlecode.flyway.core.dbsupport.mysql.MySQLDbSupport
 
isSchemaEmpty(String) - Method in class com.googlecode.flyway.core.dbsupport.oracle.OracleDbSupport
 
isSchemaEmpty(String) - Method in class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLDbSupport
 
isSchemaEmpty(String) - Method in class com.googlecode.flyway.core.dbsupport.sqlserver.SQLServerDbSupport
 

J

JavaMigration - Interface in com.googlecode.flyway.core.migration.java
Interface to be implemented by Java Migrations.
JavaMigrationChecksumProvider - Interface in com.googlecode.flyway.core.migration.java
JavaMigration implementors that also implement this interface will be able to specify their checksum (for validation), instead of having it automatically default to null.
JavaMigrationExecutor - Class in com.googlecode.flyway.core.migration.java
Adapter for executing migrations implementing JavaMigration.
JavaMigrationExecutor(JavaMigration) - Constructor for class com.googlecode.flyway.core.migration.java.JavaMigrationExecutor
Creates a new JavaMigrationExecutor.
JavaMigrationInfoProvider - Interface in com.googlecode.flyway.core.migration.java
JavaMigration implementors that also implement this interface will be able to specify their version and description manually, instead of having it automatically computed from the class name.
JavaMigrationResolver - Class in com.googlecode.flyway.core.migration.java
Migration resolver for java class based migrations.
JavaMigrationResolver(String) - Constructor for class com.googlecode.flyway.core.migration.java.JavaMigrationResolver
Creates a new instance.

L

LATEST - Static variable in class com.googlecode.flyway.core.migration.SchemaVersion
Latest schema version.
latestAppliedMigration() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTable
 
left(String, int) - Static method in class com.googlecode.flyway.core.util.StringUtils
Returns the first n characters from this string, where n = count.
loadResourceAsString(String) - Static method in class com.googlecode.flyway.core.util.ResourceUtils
Loads the resource at this location within the classpath in a string using UTF-8 encoding.
loadResourceAsString(Resource, String) - Static method in class com.googlecode.flyway.core.util.ResourceUtils
Loads this resource in a string using this encoding.
lock() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTable
Acquires an exclusive read-write lock on the metadata table.
lockTable(String, String) - Method in class com.googlecode.flyway.core.dbsupport.db2.DB2DbSupport
 
lockTable(String, String) - Method in interface com.googlecode.flyway.core.dbsupport.DbSupport
Locks this table in this schema using a read/write pessimistic lock until the end of the current transaction.
lockTable(String, String) - Method in class com.googlecode.flyway.core.dbsupport.h2.H2DbSupport
 
lockTable(String, String) - Method in class com.googlecode.flyway.core.dbsupport.hsql.HsqlDbSupport
 
lockTable(String, String) - Method in class com.googlecode.flyway.core.dbsupport.mysql.MySQLDbSupport
 
lockTable(String, String) - Method in class com.googlecode.flyway.core.dbsupport.oracle.OracleDbSupport
 
lockTable(String, String) - Method in class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLDbSupport
 
lockTable(String, String) - Method in class com.googlecode.flyway.core.dbsupport.sqlserver.SQLServerDbSupport
 

M

MetaDataTable - Class in com.googlecode.flyway.core.metadatatable
Supports reading and writing to the metadata table.
MetaDataTable(TransactionTemplate, JdbcTemplate, DbSupport, String, String) - Constructor for class com.googlecode.flyway.core.metadatatable.MetaDataTable
Creates a new instance of the metadata table support.
MetaDataTableRow - Class in com.googlecode.flyway.core.metadatatable
A row in the schema metadata table containing information about a migration that has already been applied to a db.
MetaDataTableRow(SchemaVersion, String, MigrationType, String, Integer, Date, Integer, MigrationState) - Constructor for class com.googlecode.flyway.core.metadatatable.MetaDataTableRow
Creates a new MetaDataTableRow.
MetaDataTableRow(Migration) - Constructor for class com.googlecode.flyway.core.metadatatable.MetaDataTableRow
Initializes a new metadatatable row with this migration.
MetaDataTableRowDumper - Class in com.googlecode.flyway.core.util
Dumps migrations in an ascii-art table in the logs and the console.
migrate() - Method in class com.googlecode.flyway.core.Flyway
Starts the database migration.
migrate(List<Migration>) - Method in class com.googlecode.flyway.core.migration.DbMigrator
Starts the actual migration.
migrate(JdbcTemplate, DbSupport) - Method in class com.googlecode.flyway.core.migration.init.InitMigration
 
migrate(JdbcTemplate, DbSupport) - Method in class com.googlecode.flyway.core.migration.java.BaseJavaMigration
Deprecated. Performs the migration.
migrate(JdbcTemplate) - Method in class com.googlecode.flyway.core.migration.java.BaseJavaMigration
Deprecated.  
migrate(JdbcTemplate) - Method in interface com.googlecode.flyway.core.migration.java.JavaMigration
Executes this migration.
migrate(JdbcTemplate, DbSupport) - Method in class com.googlecode.flyway.core.migration.java.JavaMigrationExecutor
 
migrate(JdbcTemplate, DbSupport) - Method in class com.googlecode.flyway.core.migration.Migration
Performs the migration.
migrate(JdbcTemplate, DbSupport) - Method in class com.googlecode.flyway.core.migration.sql.SqlMigration
 
Migration - Class in com.googlecode.flyway.core.migration
A migration of a single version of the schema.
Migration() - Constructor for class com.googlecode.flyway.core.migration.Migration
 
MigrationException - Exception in com.googlecode.flyway.core.migration
Exception indicating that migration failed.
MigrationException(SchemaVersion, boolean) - Constructor for exception com.googlecode.flyway.core.migration.MigrationException
Creates a new MigrationException for this version.
MigrationInfoHelper - Class in com.googlecode.flyway.core.migration
Parsing support for migrations that use the standard Flyway version + description embedding in their name.
MigrationProvider - Class in com.googlecode.flyway.core.migration
Facility for retrieving and sorting the available migrations from the classpath through the various migration resolvers.
MigrationProvider(String, String, String, String, String, Map<String, String>, String, String) - Constructor for class com.googlecode.flyway.core.migration.MigrationProvider
Creates a new MigrationProvider.
MigrationResolver - Interface in com.googlecode.flyway.core.migration
Facility for resolving available migrations.
MigrationState - Enum in com.googlecode.flyway.core.migration
The state of a migration.
MigrationType - Enum in com.googlecode.flyway.core.migration
Type of migration.
MySQLDbSupport - Class in com.googlecode.flyway.core.dbsupport.mysql
Mysql-specific support.
MySQLDbSupport(JdbcTemplate) - Constructor for class com.googlecode.flyway.core.dbsupport.mysql.MySQLDbSupport
Creates a new instance.
MySQLSqlScript - Class in com.googlecode.flyway.core.dbsupport.mysql
SqlScript supporting MySQL-specific delimiter changes.
MySQLSqlScript(String, PlaceholderReplacer) - Constructor for class com.googlecode.flyway.core.dbsupport.mysql.MySQLSqlScript
Creates a new sql script from this source with these placeholders to replace.

N

NO_PLACEHOLDERS - Static variable in class com.googlecode.flyway.core.migration.sql.PlaceholderReplacer
PlaceholderReplacer that doesn't replace any placeholders.

O

OracleDbSupport - Class in com.googlecode.flyway.core.dbsupport.oracle
Oracle-specific support.
OracleDbSupport(JdbcTemplate) - Constructor for class com.googlecode.flyway.core.dbsupport.oracle.OracleDbSupport
Creates a new instance.
OracleSqlScript - Class in com.googlecode.flyway.core.dbsupport.oracle
SqlScript supporting Oracle-specific PL/SQL constructs.
OracleSqlScript(String, PlaceholderReplacer) - Constructor for class com.googlecode.flyway.core.dbsupport.oracle.OracleSqlScript
Creates a new sql script from this source with these placeholders to replace.

P

PlaceholderReplacer - Class in com.googlecode.flyway.core.migration.sql
Tool for replacing placeholders.
PlaceholderReplacer(Map<String, String>, String, String) - Constructor for class com.googlecode.flyway.core.migration.sql.PlaceholderReplacer
Creates a new PlaceholderReplacer.
PostgreSQLDbSupport - Class in com.googlecode.flyway.core.dbsupport.postgresql
PostgreSQL-specific support.
PostgreSQLDbSupport(JdbcTemplate) - Constructor for class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLDbSupport
Creates a new instance.
PostgreSQLSqlScript - Class in com.googlecode.flyway.core.dbsupport.postgresql
SqlScript supporting PostgreSQL routine definitions.
PostgreSQLSqlScript(String, PlaceholderReplacer) - Constructor for class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLSqlScript
Creates a new sql script from this source with these placeholders to replace.

R

replacePlaceholders(String) - Method in class com.googlecode.flyway.core.migration.sql.PlaceholderReplacer
Replaces the placeholders in this input string with their corresponding values.
resolveMigrations() - Method in class com.googlecode.flyway.core.migration.java.JavaMigrationResolver
 
resolveMigrations() - Method in interface com.googlecode.flyway.core.migration.MigrationResolver
Resolves the available migrations.
resolveMigrations() - Method in class com.googlecode.flyway.core.migration.sql.SqlMigrationResolver
 
ResourceUtils - Class in com.googlecode.flyway.core.util
Utility class for dealing with classpath resources.

S

schemaVersion - Variable in class com.googlecode.flyway.core.migration.Migration
The target schema version of this migration.
SchemaVersion - Class in com.googlecode.flyway.core.migration
A version of a database schema.
SchemaVersion(String) - Constructor for class com.googlecode.flyway.core.migration.SchemaVersion
Creates a SchemaVersion using this version string.
script - Variable in class com.googlecode.flyway.core.migration.Migration
The script name for the migration history.
setBaseDir(String) - Method in class com.googlecode.flyway.core.Flyway
Sets the base directory on the classpath where the Sql migrations are located.
setBasePackage(String) - Method in class com.googlecode.flyway.core.Flyway
Sets the base package where the migrations are located.
setDataSource(DataSource) - Method in class com.googlecode.flyway.core.Flyway
Sets the datasource to use.
setDisableInitCheck(boolean) - Method in class com.googlecode.flyway.core.Flyway
Flag to disable the check that a non-empty schema has been properly initialized with init.
setEncoding(String) - Method in class com.googlecode.flyway.core.Flyway
Sets the encoding of Sql migrations.
setIgnoreFailedFutureMigration(boolean) - Method in class com.googlecode.flyway.core.Flyway
Ignores failed future migrations when reading the metadata table.
setInitialDescription(String) - Method in class com.googlecode.flyway.core.Flyway
The description of the initial version.
setInitialVersion(SchemaVersion) - Method in class com.googlecode.flyway.core.Flyway
The initial version to put in the database.
setPlaceholderPrefix(String) - Method in class com.googlecode.flyway.core.Flyway
Sets the prefix of every placeholder.
setPlaceholders(Map<String, String>) - Method in class com.googlecode.flyway.core.Flyway
Sets the placeholders to replace in sql migration scripts.
setPlaceholderSuffix(String) - Method in class com.googlecode.flyway.core.Flyway
Sets the suffix of every placeholder.
setSchemas(String...) - Method in class com.googlecode.flyway.core.Flyway
Sets the schemas managed by Flyway.
setSqlMigrationPrefix(String) - Method in class com.googlecode.flyway.core.Flyway
Sets the file name prefix for sql migrations.
setSqlMigrationSuffix(String) - Method in class com.googlecode.flyway.core.Flyway
Sets the file name suffix for sql migrations.
setTable(String) - Method in class com.googlecode.flyway.core.Flyway
Sets the name of the schema metadata table that will be used by Flyway.
setTarget(SchemaVersion) - Method in class com.googlecode.flyway.core.Flyway
Sets the target version up to which Flyway should run migrations.
setTransactionManager(PlatformTransactionManager) - Method in class com.googlecode.flyway.core.Flyway
Sets the transaction manager to use.
setValidationErrorMode(ValidationErrorMode) - Method in class com.googlecode.flyway.core.Flyway
Sets the error mode for validation.
setValidationMode(ValidationMode) - Method in class com.googlecode.flyway.core.Flyway
Sets the ValidationMode for checksum validation.
SqlMigration - Class in com.googlecode.flyway.core.migration.sql
Database migration based on a sql file.
SqlMigration(Resource, PlaceholderReplacer, String, String, String) - Constructor for class com.googlecode.flyway.core.migration.sql.SqlMigration
Creates a new sql script migration based on this sql script.
SqlMigrationResolver - Class in com.googlecode.flyway.core.migration.sql
Migration resolver for sql files on the classpath.
SqlMigrationResolver(String, PlaceholderReplacer, String, String, String) - Constructor for class com.googlecode.flyway.core.migration.sql.SqlMigrationResolver
Creates a new instance.
SqlScript - Class in com.googlecode.flyway.core.migration.sql
Sql script containing a series of statements terminated by semi-columns (;).
SqlScript(String, PlaceholderReplacer) - Constructor for class com.googlecode.flyway.core.migration.sql.SqlScript
Creates a new sql script from this source with these placeholders to replace.
SqlScript(List<SqlStatement>) - Constructor for class com.googlecode.flyway.core.migration.sql.SqlScript
Creates a new SqlScript with these statements and this name.
SqlScript() - Constructor for class com.googlecode.flyway.core.migration.sql.SqlScript
Dummy constructor to increase testability.
SQLServerDbSupport - Class in com.googlecode.flyway.core.dbsupport.sqlserver
MSsql-specific support.
SQLServerDbSupport(JdbcTemplate) - Constructor for class com.googlecode.flyway.core.dbsupport.sqlserver.SQLServerDbSupport
Creates a new instance.
SQLServerSqlScript - Class in com.googlecode.flyway.core.dbsupport.sqlserver
SqlScript supporting MSSQL-specific delimiter changes.
SQLServerSqlScript(String, PlaceholderReplacer) - Constructor for class com.googlecode.flyway.core.dbsupport.sqlserver.SQLServerSqlScript
Creates a new sql script from this source with these placeholders to replace.
SqlStatement - Class in com.googlecode.flyway.core.migration.sql
A sql statement from a script that can be executed at once against a database.
SqlStatement(int, String) - Constructor for class com.googlecode.flyway.core.migration.sql.SqlStatement
Creates a new sql statement.
status() - Method in class com.googlecode.flyway.core.Flyway
Returns the status (current version) of the database.
StringUtils - Class in com.googlecode.flyway.core.util
Various string-related utilities.
supportsDdlTransactions() - Method in class com.googlecode.flyway.core.dbsupport.db2.DB2DbSupport
 
supportsDdlTransactions() - Method in interface com.googlecode.flyway.core.dbsupport.DbSupport
Checks whether ddl transactions are supported for this database.
supportsDdlTransactions() - Method in class com.googlecode.flyway.core.dbsupport.h2.H2DbSupport
 
supportsDdlTransactions() - Method in class com.googlecode.flyway.core.dbsupport.hsql.HsqlDbSupport
 
supportsDdlTransactions() - Method in class com.googlecode.flyway.core.dbsupport.mysql.MySQLDbSupport
 
supportsDdlTransactions() - Method in class com.googlecode.flyway.core.dbsupport.oracle.OracleDbSupport
 
supportsDdlTransactions() - Method in class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLDbSupport
 
supportsDdlTransactions() - Method in class com.googlecode.flyway.core.dbsupport.sqlserver.SQLServerDbSupport
 

T

tableExists(String, String) - Method in class com.googlecode.flyway.core.dbsupport.db2.DB2DbSupport
 
tableExists(String, String) - Method in interface com.googlecode.flyway.core.dbsupport.DbSupport
Checks whether this table is already present in the database.
tableExists(String, String) - Method in class com.googlecode.flyway.core.dbsupport.h2.H2DbSupport
 
tableExists(String, String) - Method in class com.googlecode.flyway.core.dbsupport.hsql.HsqlDbSupport
 
tableExists(String, String) - Method in class com.googlecode.flyway.core.dbsupport.mysql.MySQLDbSupport
 
tableExists(String, String) - Method in class com.googlecode.flyway.core.dbsupport.oracle.OracleDbSupport
 
tableExists(String, String) - Method in class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLDbSupport
 
tableExists(String, String) - Method in class com.googlecode.flyway.core.dbsupport.sqlserver.SQLServerDbSupport
 
TimeFormat - Class in com.googlecode.flyway.core.util
Formats execution times.
toString() - Method in class com.googlecode.flyway.core.migration.SchemaVersion
 
trimOrPad(String, int) - Static method in class com.googlecode.flyway.core.util.StringUtils
Trims or pads (with spaces) this string, so it has this exact length.

U

update(Integer, MigrationState) - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTableRow
Updates this MetaDataTableRow with this execution time and this migration state.

V

validate() - Method in class com.googlecode.flyway.core.Flyway
Validate applied migration with classpath migrations to detect accidental changes.
validate(List<Migration>) - Method in class com.googlecode.flyway.core.validation.DbValidator
Validate the checksum of all existing sql migration in the metadata table with the checksum of the sql migrations in the classpath
ValidationErrorMode - Enum in com.googlecode.flyway.core.validation
Mode for handling validation errors.
ValidationException - Exception in com.googlecode.flyway.core.validation
Exception indicating that the available migrations are inconsistent or incompatible with the applied migrations.
ValidationException(String) - Constructor for exception com.googlecode.flyway.core.validation.ValidationException
Creates a new ValidationException with this validation message.
ValidationMode - Enum in com.googlecode.flyway.core.validation
Mode for the validation.
valueOf(String) - Static method in enum com.googlecode.flyway.core.migration.MigrationState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.googlecode.flyway.core.migration.MigrationType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.googlecode.flyway.core.validation.ValidationErrorMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.googlecode.flyway.core.validation.ValidationMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.googlecode.flyway.core.migration.MigrationState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.googlecode.flyway.core.migration.MigrationType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.googlecode.flyway.core.validation.ValidationErrorMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.googlecode.flyway.core.validation.ValidationMode
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 N O P R S T U V

Copyright © 2011. All Rights Reserved.