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

A

allAppliedMigrations() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTable
 
arrayToCommaDelimitedString(String[]) - Static method in class com.googlecode.flyway.core.util.StringUtils
Turns this string array in one comma-delimited string.

C

changeDelimiterIfNecessary(String, String, String) - Method in class com.googlecode.flyway.core.dbsupport.derby.DerbySqlScript
 
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.
ClassPathResource - Class in com.googlecode.flyway.core.util
A resource on the classpath.
ClassPathResource(String) - Constructor for class com.googlecode.flyway.core.util.ClassPathResource
Creates a new ClassPathResource.
ClassPathScanner - Class in com.googlecode.flyway.core.util.scanner
ClassPath scanner.
ClassPathScanner() - Constructor for class com.googlecode.flyway.core.util.scanner.ClassPathScanner
 
ClassUtils - Class in com.googlecode.flyway.core.util
Utility methods for dealing with classes.
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.
closeConnection(Connection) - Static method in class com.googlecode.flyway.core.util.jdbc.JdbcUtils
Safely closes this connection.
closeResultSet(ResultSet) - Static method in class com.googlecode.flyway.core.util.jdbc.JdbcUtils
Safely closes this resultSet.
closeStatement(Statement) - Static method in class com.googlecode.flyway.core.util.jdbc.JdbcUtils
Safely closes this statement.
collapseWhitespace(String) - Static method in class com.googlecode.flyway.core.util.StringUtils
Replaces all sequences of whitespace by a single blank.
collectionToCommaDelimitedString(Collection<?>) - Static method in class com.googlecode.flyway.core.util.StringUtils
Convenience method to return a Collection as a comma-delimited String.
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.api - package com.googlecode.flyway.core.api
Public API: General classes.
com.googlecode.flyway.core.api.migration - package com.googlecode.flyway.core.api.migration
Public API: Interfaces for Migration implementors.
com.googlecode.flyway.core.api.migration.jdbc - package com.googlecode.flyway.core.api.migration.jdbc
Public API: Interfaces for Jdbc Migrations.
com.googlecode.flyway.core.api.migration.spring - package com.googlecode.flyway.core.api.migration.spring
Public API: Interfaces for Spring Jdbc Migrations (require Spring Jdbc + dependencies on the classpath).
com.googlecode.flyway.core.clean - package com.googlecode.flyway.core.clean
Private API: No compatibility guarantees provided.
com.googlecode.flyway.core.dbsupport - package com.googlecode.flyway.core.dbsupport
Private API: No compatibility guarantees provided.
com.googlecode.flyway.core.dbsupport.db2 - package com.googlecode.flyway.core.dbsupport.db2
Private API: No compatibility guarantees provided.
com.googlecode.flyway.core.dbsupport.derby - package com.googlecode.flyway.core.dbsupport.derby
Private API: No compatibility guarantees provided.
com.googlecode.flyway.core.dbsupport.h2 - package com.googlecode.flyway.core.dbsupport.h2
Private API: No compatibility guarantees provided.
com.googlecode.flyway.core.dbsupport.hsql - package com.googlecode.flyway.core.dbsupport.hsql
Private API: No compatibility guarantees provided.
com.googlecode.flyway.core.dbsupport.mysql - package com.googlecode.flyway.core.dbsupport.mysql
Private API: No compatibility guarantees provided.
com.googlecode.flyway.core.dbsupport.oracle - package com.googlecode.flyway.core.dbsupport.oracle
Private API: No compatibility guarantees provided.
com.googlecode.flyway.core.dbsupport.postgresql - package com.googlecode.flyway.core.dbsupport.postgresql
Private API: No compatibility guarantees provided.
com.googlecode.flyway.core.dbsupport.sqlserver - package com.googlecode.flyway.core.dbsupport.sqlserver
Private API: No compatibility guarantees provided.
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: No compatibility guarantees provided.
com.googlecode.flyway.core.metadatatable - package com.googlecode.flyway.core.metadatatable
Private API: No compatibility guarantees provided.
com.googlecode.flyway.core.migration - package com.googlecode.flyway.core.migration
SchemaVersion class, the rest is Private API: No compatibility guarantees provided.
com.googlecode.flyway.core.migration.init - package com.googlecode.flyway.core.migration.init
Private API: No compatibility guarantees provided.
com.googlecode.flyway.core.migration.java - package com.googlecode.flyway.core.migration.java
Private API: No compatibility guarantees provided.
com.googlecode.flyway.core.migration.jdbc - package com.googlecode.flyway.core.migration.jdbc
Private API: No compatibility guarantees provided.
com.googlecode.flyway.core.migration.spring - package com.googlecode.flyway.core.migration.spring
Private API: No compatibility guarantees provided.
com.googlecode.flyway.core.migration.sql - package com.googlecode.flyway.core.migration.sql
Private API: No compatibility guarantees provided.
com.googlecode.flyway.core.util - package com.googlecode.flyway.core.util
Private API: No compatibility guarantees provided.
com.googlecode.flyway.core.util.jdbc - package com.googlecode.flyway.core.util.jdbc
Private API: No compatibility guarantees provided.
com.googlecode.flyway.core.util.scanner - package com.googlecode.flyway.core.util.scanner
Private API: No compatibility guarantees provided.
com.googlecode.flyway.core.util.scanner.jboss - package com.googlecode.flyway.core.util.scanner.jboss
 
com.googlecode.flyway.core.util.scanner.osgi - package com.googlecode.flyway.core.util.scanner.osgi
 
com.googlecode.flyway.core.validation - package com.googlecode.flyway.core.validation
Private API: No compatibility guarantees provided.
compareTo(Version) - Method in class com.googlecode.flyway.core.api.Version
 
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
 
compareTo(ClassPathResource) - Method in class com.googlecode.flyway.core.util.ClassPathResource
 
CompositeMigrationResolver - Class in com.googlecode.flyway.core.migration
Facility for retrieving and sorting the available migrations from the classpath through the various migration resolvers.
CompositeMigrationResolver(String[], String, String, String, String, String, Map<String, String>, String, String) - Constructor for class com.googlecode.flyway.core.migration.CompositeMigrationResolver
Creates a new CompositeMigrationResolver.
configure(Properties) - Method in class com.googlecode.flyway.core.Flyway
Configures Flyway with these properties.
copyToString(Reader) - Static method in class com.googlecode.flyway.core.util.FileCopyUtils
Copy the contents of the given Reader into a String.
countOccurrencesOf(String, String) - Static method in class com.googlecode.flyway.core.util.StringUtils
Counts the number of occurances of this token in this string.
createCleanScript(String) - Method in class com.googlecode.flyway.core.dbsupport.db2.DB2DbSupport
 
createCleanScript(String) - Method in class 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.derby.DerbyDbSupport
 
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(Connection) - 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 class 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.derby.DerbyDbSupport
 
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

DateUtils - Class in com.googlecode.flyway.core.util
Utility methods for dealing with dates.
DB2DbSupport - Class in com.googlecode.flyway.core.dbsupport.db2
DB2 Support.
DB2DbSupport(Connection) - Constructor for class com.googlecode.flyway.core.dbsupport.db2.DB2DbSupport
Creates a new instance.
DB2JdbcTemplate - Class in com.googlecode.flyway.core.dbsupport.db2
DB2-specific JdbcTemplate customizations.
DB2JdbcTemplate(Connection) - Constructor for class com.googlecode.flyway.core.dbsupport.db2.DB2JdbcTemplate
Creates a new DB2JdbcTemplate.
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, DbSupport, String[]) - Constructor for class com.googlecode.flyway.core.clean.DbCleaner
Creates a new database cleaner.
DbInit - Class in com.googlecode.flyway.core.init
Workflow for initializing the database with a new metadata table and an initial marker version.
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(Connection, Connection, DbSupport, MetaDataTable, SchemaVersion, boolean) - Constructor for class com.googlecode.flyway.core.migration.DbMigrator
Creates a new database migrator.
DbSupport - Class in com.googlecode.flyway.core.dbsupport
Abstraction for database-specific functionality.
DbSupport(JdbcTemplate) - Constructor for class com.googlecode.flyway.core.dbsupport.DbSupport
Creates a new DbSupport instance with this JdbcTemplate.
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.
DerbyDbSupport - Class in com.googlecode.flyway.core.dbsupport.derby
Derby database specific support
DerbyDbSupport(Connection) - Constructor for class com.googlecode.flyway.core.dbsupport.derby.DerbyDbSupport
Creates a new instance.
DerbyJdbcTemplate - Class in com.googlecode.flyway.core.dbsupport.derby
Derby-specific JdbcTemplate customizations.
DerbyJdbcTemplate(Connection) - Constructor for class com.googlecode.flyway.core.dbsupport.derby.DerbyJdbcTemplate
Creates a new DerbyJdbcTemplate.
DerbySqlScript - Class in com.googlecode.flyway.core.dbsupport.derby
SqlScript supporting Derby-specific delimiter changes.
DerbySqlScript(String, PlaceholderReplacer) - Constructor for class com.googlecode.flyway.core.dbsupport.derby.DerbySqlScript
Creates a new sql script from this source with these placeholders to replace.
description - Variable in class com.googlecode.flyway.core.migration.Migration
The description for the migration history.
doInTransaction() - Method in interface com.googlecode.flyway.core.util.jdbc.TransactionCallback
Executes this code within a transaction.
DriverDataSource - Class in com.googlecode.flyway.core.util.jdbc
YAGNI: The simplest DataSource implementation that works for Flyway.
DriverDataSource() - Constructor for class com.googlecode.flyway.core.util.jdbc.DriverDataSource
Creates a new DriverDataSource.
DriverDataSource(Driver, String, String, String, String...) - Constructor for class com.googlecode.flyway.core.util.jdbc.DriverDataSource
Creates a new DriverDataSource.
DriverDataSource(String, String, String, String, String...) - Constructor for class com.googlecode.flyway.core.util.jdbc.DriverDataSource
Creates a new DriverDataSource.
dumpMigration(MetaDataTableRow) - Static method in class com.googlecode.flyway.core.util.MetaDataTableRowDumper
Dumps this metaDataTableRow in the log file.
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.api.Version
Version for an empty schema.
EMPTY - Static variable in class com.googlecode.flyway.core.migration.SchemaVersion
Schema version for an empty schema.
endsWithOpenMultilineStringLiteral(String) - Method in class com.googlecode.flyway.core.dbsupport.db2.DB2SqlScript
 
endsWithOpenMultilineStringLiteral(String) - Method in class com.googlecode.flyway.core.dbsupport.derby.DerbySqlScript
Checks whether the statement we have assembled so far ends with an open multi-line string literal (which will be continued on the next line).
endsWithOpenMultilineStringLiteral(String) - Method in class com.googlecode.flyway.core.dbsupport.h2.H2SqlScript
Checks whether the statement we have assembled so far ends with an open multi-line string literal (which will be continued on the next line).
endsWithOpenMultilineStringLiteral(String) - Method in class com.googlecode.flyway.core.dbsupport.hsql.HsqlSqlScript
 
endsWithOpenMultilineStringLiteral(String) - Method in class com.googlecode.flyway.core.dbsupport.mysql.MySQLSqlScript
 
endsWithOpenMultilineStringLiteral(String) - Method in class com.googlecode.flyway.core.dbsupport.oracle.OracleSqlScript
 
endsWithOpenMultilineStringLiteral(String) - Method in class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLSqlScript
Checks whether the statement we have assembled so far ends with an open multi-line string literal (which will be continued on the next line).
endsWithOpenMultilineStringLiteral(String) - Method in class com.googlecode.flyway.core.migration.sql.SqlScript
Checks whether the statement we have assembled so far ends with an open multi-line string literal (which will be continued on the next line).
equals(Object) - Method in class com.googlecode.flyway.core.api.Version
 
equals(Object) - Method in class com.googlecode.flyway.core.migration.Migration
 
equals(Object) - Method in class com.googlecode.flyway.core.migration.SchemaVersion
 
equals(Object) - Method in class com.googlecode.flyway.core.util.ClassPathResource
 
EquinoxCommonResourceUrlResolver - Class in com.googlecode.flyway.core.util.scanner.osgi
Resolves OSGi-specific resource URLs into Standard Java resource URLs using Equinox Common.
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.
execute(String, Object...) - Method in class com.googlecode.flyway.core.util.jdbc.JdbcTemplate
Executes this sql statement using a PreparedStatement.
execute(TransactionCallback<T>) - Method in class com.googlecode.flyway.core.util.jdbc.TransactionTemplate
Executes this callback within a transaction.
executeStatement(String) - Method in class com.googlecode.flyway.core.util.jdbc.JdbcTemplate
Executes this sql statement using an ordinary Statement.
exists() - Method in class com.googlecode.flyway.core.util.ClassPathResource
Checks whether this resource exists.
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

FeatureDetector - Class in com.googlecode.flyway.core.util
Detects whether certain features are available or not.
FileCopyUtils - Class in com.googlecode.flyway.core.util
Utility class for copying files and their contents.
FileSystemLocationScanner - Class in com.googlecode.flyway.core.util.scanner
LocationScanner for the file system.
FileSystemLocationScanner() - Constructor for class com.googlecode.flyway.core.util.scanner.FileSystemLocationScanner
 
findResourceNames(String, String) - Method in class com.googlecode.flyway.core.util.scanner.FileSystemLocationScanner
 
findResourceNames(String, String) - Method in class com.googlecode.flyway.core.util.scanner.JarFileLocationScanner
 
findResourceNames(String, String) - Method in class com.googlecode.flyway.core.util.scanner.jboss.JBossVFSLocationScanner
 
findResourceNames(String, String) - Method in interface com.googlecode.flyway.core.util.scanner.LocationScanner
Finds the resource names below this location on the classpath under this locationUrl.
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.
formatDateAsIsoString(Date) - Static method in class com.googlecode.flyway.core.util.DateUtils
Formats this date in the standard ISO format.

G

getBaseDir() - Method in class com.googlecode.flyway.core.Flyway
Deprecated. Uses getLocations instead. Will be removed in Flyway 2.0.
getBasePackage() - Method in class com.googlecode.flyway.core.Flyway
Deprecated. Uses getLocations instead. Will be removed in Flyway 2.0.
getBooleanFalse() - Method in class com.googlecode.flyway.core.dbsupport.db2.DB2DbSupport
 
getBooleanFalse() - Method in class com.googlecode.flyway.core.dbsupport.DbSupport
 
getBooleanFalse() - Method in class com.googlecode.flyway.core.dbsupport.derby.DerbyDbSupport
 
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 class com.googlecode.flyway.core.dbsupport.DbSupport
 
getBooleanTrue() - Method in class com.googlecode.flyway.core.dbsupport.derby.DerbyDbSupport
 
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 interface com.googlecode.flyway.core.api.migration.MigrationChecksumProvider
 
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
Deprecated.  
getChecksum() - Method in class com.googlecode.flyway.core.migration.Migration
 
getConnection() - Method in class com.googlecode.flyway.core.util.jdbc.DriverDataSource
This implementation delegates to getConnectionFromDriver, using the default user and password of this DataSource.
getConnection(String, String) - Method in class com.googlecode.flyway.core.util.jdbc.DriverDataSource
This implementation delegates to getConnectionFromDriver, using the given user and password.
getConnection() - Method in class com.googlecode.flyway.core.util.jdbc.JdbcTemplate
 
getConnectionFromDriver(String, String) - Method in class com.googlecode.flyway.core.util.jdbc.DriverDataSource
Build properties for the Driver, including the given user and password (if any), and obtain a corresponding Connection.
getCurrentSchema() - Method in class com.googlecode.flyway.core.dbsupport.db2.DB2DbSupport
 
getCurrentSchema() - Method in class com.googlecode.flyway.core.dbsupport.DbSupport
Retrieves the current schema.
getCurrentSchema() - Method in class com.googlecode.flyway.core.dbsupport.derby.DerbyDbSupport
 
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 class com.googlecode.flyway.core.dbsupport.DbSupport
 
getCurrentUserFunction() - Method in class com.googlecode.flyway.core.dbsupport.derby.DerbyDbSupport
 
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 interface com.googlecode.flyway.core.api.migration.MigrationInfoProvider
 
getDescription() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTableRow
 
getDescription() - Method in interface com.googlecode.flyway.core.migration.java.JavaMigrationInfoProvider
Deprecated.  
getDescription() - Method in class com.googlecode.flyway.core.migration.Migration
 
getDriver() - Method in class com.googlecode.flyway.core.util.jdbc.DriverDataSource
 
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
 
getFilename() - Method in class com.googlecode.flyway.core.util.ClassPathResource
 
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.
getInitSqls() - Method in class com.googlecode.flyway.core.util.jdbc.DriverDataSource
 
getInstalledOn() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTableRow
 
getJdbcTemplate() - Method in class com.googlecode.flyway.core.dbsupport.DbSupport
 
getLineNumber() - Method in class com.googlecode.flyway.core.migration.sql.SqlStatement
 
getLocation() - Method in class com.googlecode.flyway.core.migration.init.InitMigration
 
getLocation() - Method in class com.googlecode.flyway.core.migration.java.JavaMigrationExecutor
 
getLocation() - Method in class com.googlecode.flyway.core.migration.jdbc.JdbcMigrationExecutor
 
getLocation() - Method in class com.googlecode.flyway.core.migration.Migration
retrieves the location of the migration
getLocation() - Method in class com.googlecode.flyway.core.migration.spring.SpringJdbcMigrationExecutor
 
getLocation() - Method in class com.googlecode.flyway.core.migration.sql.SqlMigration
 
getLocation() - Method in class com.googlecode.flyway.core.util.ClassPathResource
 
getLocationOnDisk() - Method in class com.googlecode.flyway.core.util.ClassPathResource
Retrieves the location of this resource on disk.
getLocations() - Method in class com.googlecode.flyway.core.Flyway
Retrieves locations on the classpath to scan recursively for migrations.
getLoginTimeout() - Method in class com.googlecode.flyway.core.util.jdbc.DriverDataSource
 
getLogWriter() - Method in class com.googlecode.flyway.core.util.jdbc.DriverDataSource
 
getMessage() - Method in exception com.googlecode.flyway.core.migration.MigrationException
 
getMetaData() - Method in class com.googlecode.flyway.core.util.jdbc.JdbcTemplate
Retrieves the database metadata for the connection associated with this JdbcTemplate.
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.JavaMigrationExecutor
 
getMigrationType() - Method in class com.googlecode.flyway.core.migration.jdbc.JdbcMigrationExecutor
 
getMigrationType() - Method in class com.googlecode.flyway.core.migration.Migration
 
getMigrationType() - Method in class com.googlecode.flyway.core.migration.spring.SpringJdbcMigrationExecutor
 
getMigrationType() - Method in class com.googlecode.flyway.core.migration.sql.SqlMigration
 
getPassword() - Method in class com.googlecode.flyway.core.util.jdbc.DriverDataSource
 
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 <placeholder, replacementValue> 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 class 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.derby.DerbyDbSupport
 
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
 
getShortName(Class<?>) - Static method in class com.googlecode.flyway.core.util.ClassUtils
Computes the short name (name without package) of this class.
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.
getTotalTimeMillis() - Method in class com.googlecode.flyway.core.util.StopWatch
 
getUrl() - Method in class com.googlecode.flyway.core.util.jdbc.DriverDataSource
 
getUser() - Method in class com.googlecode.flyway.core.util.jdbc.DriverDataSource
 
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 interface com.googlecode.flyway.core.api.migration.MigrationInfoProvider
 
getVersion() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTableRow
 
getVersion() - Method in interface com.googlecode.flyway.core.migration.java.JavaMigrationInfoProvider
Deprecated.  
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(Connection) - Constructor for class com.googlecode.flyway.core.dbsupport.h2.H2DbSupport
Creates a new instance.
H2JdbcTemplate - Class in com.googlecode.flyway.core.dbsupport.h2
H2-specific JdbcTemplate customizations.
H2JdbcTemplate(Connection) - Constructor for class com.googlecode.flyway.core.dbsupport.h2.H2JdbcTemplate
Creates a new H2JdbcTemplate.
H2SqlScript - Class in com.googlecode.flyway.core.dbsupport.h2
SqlScript supporting H2-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.api.Version
 
hashCode() - Method in class com.googlecode.flyway.core.migration.Migration
 
hashCode() - Method in class com.googlecode.flyway.core.migration.SchemaVersion
 
hashCode() - Method in class com.googlecode.flyway.core.util.ClassPathResource
 
hasLength(String) - Static method in class com.googlecode.flyway.core.util.StringUtils
Checks whether this string is not null and not blank.
hasTables(String, String, String, String...) - Method in class com.googlecode.flyway.core.util.jdbc.JdbcTemplate
Checks whether the database contains tables matching these criteria.
hasText(String) - Static method in class com.googlecode.flyway.core.util.StringUtils
Checks whether this string contains at least one non-blank character.
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(Connection) - Constructor for class com.googlecode.flyway.core.dbsupport.hsql.HsqlDbSupport
Creates a new instance.
HsqlJdbcTemplate - Class in com.googlecode.flyway.core.dbsupport.hsql
Hsql-specific JdbcTemplate customizations.
HsqlJdbcTemplate(Connection) - Constructor for class com.googlecode.flyway.core.dbsupport.hsql.HsqlJdbcTemplate
Creates a new HsqlJdbcTemplate.
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.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.
instantiate(String) - Static method in class com.googlecode.flyway.core.util.ClassUtils
Creates a new instance of this class.
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.
isEquinoxCommonAvailable() - Static method in class com.googlecode.flyway.core.util.FeatureDetector
Checks whether the Equinox Common OSGi Bundle is available.
isIgnoreFailedFutureMigration() - Method in class com.googlecode.flyway.core.Flyway
Retrieves whether to ignore failed future migrations when reading the metadata table.
isJBossVFSAvailable() - Static method in class com.googlecode.flyway.core.util.FeatureDetector
Checks whether JBoss VFS is available.
isNumeric(String) - Static method in class com.googlecode.flyway.core.util.StringUtils
Checks if the String contains only unicode digits.
isPresent(String) - Static method in class com.googlecode.flyway.core.util.ClassUtils
Determine whether the Class identified by the supplied name is present and can be loaded.
isSchemaEmpty(String) - Method in class com.googlecode.flyway.core.dbsupport.db2.DB2DbSupport
 
isSchemaEmpty(String) - Method in class com.googlecode.flyway.core.dbsupport.DbSupport
Checks if this database schema is empty.
isSchemaEmpty(String) - Method in class com.googlecode.flyway.core.dbsupport.derby.DerbyDbSupport
 
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
 
isSpringJdbcAvailable() - Static method in class com.googlecode.flyway.core.util.FeatureDetector
Checks whether Spring Jdbc is available.
isWrapperFor(Class<?>) - Method in class com.googlecode.flyway.core.util.jdbc.DriverDataSource
 

J

JarFileLocationScanner - Class in com.googlecode.flyway.core.util.scanner
LocationScanner for jar files.
JarFileLocationScanner(String) - Constructor for class com.googlecode.flyway.core.util.scanner.JarFileLocationScanner
Creates a new JarFileLocationScanner.
JavaMigration - Interface in com.googlecode.flyway.core.migration.java
Deprecated. Superseeded by com.googlecode.flyway.core.api.migration.spring.SpringJdbcMigration
JavaMigrationChecksumProvider - Interface in com.googlecode.flyway.core.migration.java
Deprecated. Superseeded by com.googlecode.flyway.core.api.migration.MigrationChecksumProvider
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
Deprecated. Superseeded by com.googlecode.flyway.core.api.migration.MigrationInfoProvider
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.
JBossVFSLocationScanner - Class in com.googlecode.flyway.core.util.scanner.jboss
LocationScanner for JBoss VFS v3.
JBossVFSLocationScanner() - Constructor for class com.googlecode.flyway.core.util.scanner.jboss.JBossVFSLocationScanner
 
JdbcMigration - Interface in com.googlecode.flyway.core.api.migration.jdbc
Interface to be implemented by Jdbc Java Migrations.
JdbcMigrationExecutor - Class in com.googlecode.flyway.core.migration.jdbc
Adapter for executing migrations implementing JdbcMigration.
JdbcMigrationExecutor(JdbcMigration) - Constructor for class com.googlecode.flyway.core.migration.jdbc.JdbcMigrationExecutor
Creates a new JdbcMigrationExecutor.
JdbcMigrationResolver - Class in com.googlecode.flyway.core.migration.jdbc
Migration resolver for Jdbc migrations.
JdbcMigrationResolver(String) - Constructor for class com.googlecode.flyway.core.migration.jdbc.JdbcMigrationResolver
Creates a new instance.
jdbcTemplate - Variable in class com.googlecode.flyway.core.dbsupport.DbSupport
The JDBC template available for use.
JdbcTemplate - Class in com.googlecode.flyway.core.util.jdbc
Collection of utility methods for querying the DB.
JdbcTemplate(Connection) - Constructor for class com.googlecode.flyway.core.util.jdbc.JdbcTemplate
Creates a new JdbcTemplate.
JdbcUtils - Class in com.googlecode.flyway.core.util.jdbc
Utility class for dealing with jdbc connections.

L

LATEST - Static variable in class com.googlecode.flyway.core.api.Version
Latest version.
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.
loadAsString(String) - Method in class com.googlecode.flyway.core.util.ClassPathResource
Loads this resource as a string.
loadPropertiesFromString(String) - Static method in class com.googlecode.flyway.core.util.PropertiesUtils
Loads this properties data from this string.
LocationScanner - Interface in com.googlecode.flyway.core.util.scanner
Scans for classpath resources in this location.
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 class 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.derby.DerbyDbSupport
 
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

mapRow(ResultSet) - Method in interface com.googlecode.flyway.core.util.jdbc.RowMapper
Maps a row in this resultSet to an object.
MetaDataTable - Class in com.googlecode.flyway.core.metadatatable
Supports reading and writing to the metadata table.
MetaDataTable(Connection, 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(Connection) - Method in interface com.googlecode.flyway.core.api.migration.jdbc.JdbcMigration
Executes this migration.
migrate(JdbcTemplate) - Method in interface com.googlecode.flyway.core.api.migration.spring.SpringJdbcMigration
Executes this migration.
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) - Method in interface com.googlecode.flyway.core.migration.java.JavaMigration
Deprecated. 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.jdbc.JdbcMigrationExecutor
 
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.spring.SpringJdbcMigrationExecutor
 
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
 
MigrationChecksumProvider - Interface in com.googlecode.flyway.core.api.migration
Migration implementors that also implement this interface will be able to specify their checksum (for validation), instead of having it automatically computed or default to null (for Java Migrations).
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.
MigrationInfoProvider - Interface in com.googlecode.flyway.core.api.migration
Migration implementors that also implement this interface will be able to specify their version and description manually, instead of having it automatically computed.
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(Connection) - Constructor for class com.googlecode.flyway.core.dbsupport.mysql.MySQLDbSupport
Creates a new instance.
MySQLJdbcTemplate - Class in com.googlecode.flyway.core.dbsupport.mysql
MySQL-specific JdbcTemplate customizations.
MySQLJdbcTemplate(Connection) - Constructor for class com.googlecode.flyway.core.dbsupport.mysql.MySQLJdbcTemplate
Creates a new MySQLJdbcTemplate.
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.
nullSafeEquals(Object, Object) - Static method in class com.googlecode.flyway.core.util.ObjectUtils
Determine if the given objects are equal, returning true if both are null or false if only one is null.

O

ObjectUtils - Class in com.googlecode.flyway.core.util
Collection of utility methods for dealing with objects.
ObjectUtils() - Constructor for class com.googlecode.flyway.core.util.ObjectUtils
 
openConnection(DataSource) - Static method in class com.googlecode.flyway.core.util.jdbc.JdbcUtils
Opens a new connection from this dataSource.
OracleDbSupport - Class in com.googlecode.flyway.core.dbsupport.oracle
Oracle-specific support.
OracleDbSupport(Connection) - Constructor for class com.googlecode.flyway.core.dbsupport.oracle.OracleDbSupport
Creates a new instance.
OracleJdbcTemplate - Class in com.googlecode.flyway.core.dbsupport.oracle
Oracle-specific JdbcTemplate customizations.
OracleJdbcTemplate(Connection) - Constructor for class com.googlecode.flyway.core.dbsupport.oracle.OracleJdbcTemplate
Creates a new OracleJdbcTemplate.
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.
osgiToJavaURL(URL) - Static method in class com.googlecode.flyway.core.util.scanner.osgi.EquinoxCommonResourceUrlResolver
Resolves an OSGi-specific resource URL into Standard Java resource URL.

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(Connection) - Constructor for class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLDbSupport
Creates a new instance.
PostgreSQLJdbcTemplate - Class in com.googlecode.flyway.core.dbsupport.postgresql
PostgreSQL-specific JdbcTemplate customizations.
PostgreSQLJdbcTemplate(Connection) - Constructor for class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLJdbcTemplate
Creates a new PostgreSQLJdbcTemplate.
PostgreSQLSqlScript - Class in com.googlecode.flyway.core.dbsupport.postgresql
SqlScript supporting PostgreSQL specific syntax.
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.
PropertiesUtils - Class in com.googlecode.flyway.core.util
Utility for dealing with property files.

Q

query(String, RowMapper<T>) - Method in class com.googlecode.flyway.core.util.jdbc.JdbcTemplate
Executes this query and map the results using this row mapper.
queryForInt(String, String...) - Method in class com.googlecode.flyway.core.util.jdbc.JdbcTemplate
Executes this query with these parameters against this connection.
queryForList(String, String...) - Method in class com.googlecode.flyway.core.util.jdbc.JdbcTemplate
Executes this query with these parameters against this connection.
queryForString(String, String...) - Method in class com.googlecode.flyway.core.util.jdbc.JdbcTemplate
Executes this query with these parameters against this connection.
queryForStringList(String, String...) - Method in class com.googlecode.flyway.core.util.jdbc.JdbcTemplate
Executes this query with these parameters against this connection.

R

replace(String, String, String) - Static method in class com.googlecode.flyway.core.util.StringUtils
Replace all occurences of a substring within a string with another string.
replaceAll(String, String, String) - Static method in class com.googlecode.flyway.core.util.StringUtils
Replaces all occurrances of this originalToken in this string with this replacementToken.
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.CompositeMigrationResolver
Finds all available migrations using all migration resolvers (sql, java, ...).
resolveMigrations() - Method in class com.googlecode.flyway.core.migration.java.JavaMigrationResolver
 
resolveMigrations() - Method in class com.googlecode.flyway.core.migration.jdbc.JdbcMigrationResolver
 
resolveMigrations() - Method in interface com.googlecode.flyway.core.migration.MigrationResolver
Resolves the available migrations.
resolveMigrations() - Method in class com.googlecode.flyway.core.migration.spring.SpringJdbcMigrationResolver
 
resolveMigrations() - Method in class com.googlecode.flyway.core.migration.sql.SqlMigrationResolver
 
RowMapper<T> - Interface in com.googlecode.flyway.core.util.jdbc
Mapper from ResultSet row to object.

S

scanForClasses(String, Class<?>...) - Method in class com.googlecode.flyway.core.util.scanner.ClassPathScanner
Scans the classpath for classes under the specified package implementing any of these interfaces.
scanForResources(String, String, String) - Method in class com.googlecode.flyway.core.util.scanner.ClassPathScanner
Scans the classpath for resources under the specified location, starting with the specified prefix and ending with the specified suffix.
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
Deprecated. Use setLocations instead. Will be removed in Flyway 2.0.
setBasePackage(String) - Method in class com.googlecode.flyway.core.Flyway
Deprecated. Use setLocations instead. Will be removed in Flyway 2.0.
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.
setLocations(String...) - Method in class com.googlecode.flyway.core.Flyway
Sets the locations on the classpath to scan recursively for migrations.
setLoginTimeout(int) - Method in class com.googlecode.flyway.core.util.jdbc.DriverDataSource
 
setLogWriter(PrintWriter) - Method in class com.googlecode.flyway.core.util.jdbc.DriverDataSource
 
setNull(PreparedStatement, int) - Method in class com.googlecode.flyway.core.dbsupport.db2.DB2JdbcTemplate
 
setNull(PreparedStatement, int) - Method in class com.googlecode.flyway.core.dbsupport.derby.DerbyJdbcTemplate
 
setNull(PreparedStatement, int) - Method in class com.googlecode.flyway.core.dbsupport.h2.H2JdbcTemplate
 
setNull(PreparedStatement, int) - Method in class com.googlecode.flyway.core.dbsupport.hsql.HsqlJdbcTemplate
 
setNull(PreparedStatement, int) - Method in class com.googlecode.flyway.core.dbsupport.mysql.MySQLJdbcTemplate
 
setNull(PreparedStatement, int) - Method in class com.googlecode.flyway.core.dbsupport.oracle.OracleJdbcTemplate
 
setNull(PreparedStatement, int) - Method in class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLJdbcTemplate
 
setNull(PreparedStatement, int) - Method in class com.googlecode.flyway.core.dbsupport.sqlserver.SQLServerJdbcTemplate
 
setNull(PreparedStatement, int) - Method in class com.googlecode.flyway.core.util.jdbc.JdbcTemplate
Sets the value of the parameter with this index to null in this PreparedStatement.
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.
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 mode for validation.
SpringJdbcMigration - Interface in com.googlecode.flyway.core.api.migration.spring
Interface to be implemented by Spring Jdbc Java Migrations.
SpringJdbcMigrationExecutor - Class in com.googlecode.flyway.core.migration.spring
Adapter for executing migrations implementing SpringJdbcMigration.
SpringJdbcMigrationExecutor(SpringJdbcMigration) - Constructor for class com.googlecode.flyway.core.migration.spring.SpringJdbcMigrationExecutor
Creates a new SpringJdbcMigrationExecutor.
SpringJdbcMigrationResolver - Class in com.googlecode.flyway.core.migration.spring
Migration resolver for Spring Jdbc migrations.
SpringJdbcMigrationResolver(String) - Constructor for class com.googlecode.flyway.core.migration.spring.SpringJdbcMigrationResolver
Creates a new instance.
SqlMigration - Class in com.googlecode.flyway.core.migration.sql
Database migration based on a sql file.
SqlMigration(ClassPathResource, 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
SQLServer-specific support.
SQLServerDbSupport(Connection) - Constructor for class com.googlecode.flyway.core.dbsupport.sqlserver.SQLServerDbSupport
Creates a new instance.
SQLServerJdbcTemplate - Class in com.googlecode.flyway.core.dbsupport.sqlserver
SQLServer-specific JdbcTemplate customizations.
SQLServerJdbcTemplate(Connection) - Constructor for class com.googlecode.flyway.core.dbsupport.sqlserver.SQLServerJdbcTemplate
Creates a new SQLServerJdbcTemplate.
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.
start() - Method in class com.googlecode.flyway.core.util.StopWatch
Starts the stop watch.
status() - Method in class com.googlecode.flyway.core.Flyway
Returns the status (current version) of the database.
stop() - Method in class com.googlecode.flyway.core.util.StopWatch
Stops the stop watch.
StopWatch - Class in com.googlecode.flyway.core.util
Stop watch, inspired by the implementation in the Spring framework.
StopWatch() - Constructor for class com.googlecode.flyway.core.util.StopWatch
 
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 class com.googlecode.flyway.core.dbsupport.DbSupport
Checks whether ddl transactions are supported for this database.
supportsDdlTransactions() - Method in class com.googlecode.flyway.core.dbsupport.derby.DerbyDbSupport
 
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 class 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.derby.DerbyDbSupport
 
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.
tokenizeToStringArray(String, String) - Static method in class com.googlecode.flyway.core.util.StringUtils
Splits this string into an array using these delimiters.
toString() - Method in class com.googlecode.flyway.core.api.Version
 
toString() - Method in class com.googlecode.flyway.core.migration.SchemaVersion
 
TransactionCallback<T> - Interface in com.googlecode.flyway.core.util.jdbc
Callback for TransactionTemplate.
TransactionException - Exception in com.googlecode.flyway.core.util.jdbc
Exception thrown when a failure caused a transaction rollback.
TransactionException(String, Throwable) - Constructor for exception com.googlecode.flyway.core.util.jdbc.TransactionException
Creates a new transaction exception with this message and this cause.
TransactionTemplate - Class in com.googlecode.flyway.core.util.jdbc
Spring-like template for executing transactions.
TransactionTemplate(Connection) - Constructor for class com.googlecode.flyway.core.util.jdbc.TransactionTemplate
Creates a new transaction template for this connection.
trimLeadingWhitespace(String) - Static method in class com.googlecode.flyway.core.util.StringUtils
Trim leading whitespace from the given String.
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.
trimTrailingWhitespace(String) - Static method in class com.googlecode.flyway.core.util.StringUtils
Trim trailing whitespace from the given String.

U

unwrap(Class<T>) - Method in class com.googlecode.flyway.core.util.jdbc.DriverDataSource
 
update(Integer, MigrationState) - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTableRow
Updates this MetaDataTableRow with this execution time and this migration state.
update(String, Object...) - Method in class com.googlecode.flyway.core.util.jdbc.JdbcTemplate
Executes this update sql statement.

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.
Version - Class in com.googlecode.flyway.core.api
A version of a database schema.
Version(String) - Constructor for class com.googlecode.flyway.core.api.Version
Creates a Version using this version string.

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

Copyright © 2012. All Rights Reserved.