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.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.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 schema of all objects.
clean() - Method in class com.googlecode.flyway.core.Flyway
Drops all objects (tables, views, procedures, triggers, ...) in the current schema.
collapseWhitespace(String) - Static method in class com.googlecode.flyway.core.util.StringUtils
Replaces all sequences of whitespace by a single blank.
columnExists(String, String) - Method in interface com.googlecode.flyway.core.dbsupport.DbSupport
Checks whether this column is already present in this table in the database.
columnExists(String, String) - Method in class com.googlecode.flyway.core.dbsupport.h2.H2DbSupport
 
columnExists(String, String) - Method in class com.googlecode.flyway.core.dbsupport.hsql.HsqlDbSupport
 
columnExists(String, String) - Method in class com.googlecode.flyway.core.dbsupport.mysql.MySQLDbSupport
 
columnExists(String, String) - Method in class com.googlecode.flyway.core.dbsupport.oracle.OracleDbSupport
 
columnExists(String, String) - Method in class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLDbSupport
 
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.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.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() - Method in interface com.googlecode.flyway.core.dbsupport.DbSupport
Creates a new sql script which clean the current schema, by dropping all objects.
createCleanScript() - Method in class com.googlecode.flyway.core.dbsupport.h2.H2DbSupport
 
createCleanScript() - Method in class com.googlecode.flyway.core.dbsupport.hsql.HsqlDbSupport
 
createCleanScript() - Method in class com.googlecode.flyway.core.dbsupport.mysql.MySQLDbSupport
 
createCleanScript() - Method in class com.googlecode.flyway.core.dbsupport.oracle.OracleDbSupport
 
createCleanScript() - Method in class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLDbSupport
 
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 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
 

D

DbCleaner - Class in com.googlecode.flyway.core.clean
Main workflow for cleaning the database.
DbCleaner(TransactionTemplate, JdbcTemplate, DbSupport) - 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.
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.

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.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

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

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
 
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
 
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 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
 
getCurrentSchemaState() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTable
 
getCurrentSchemaVersion() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTable
 
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
 
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
 
getExecutionTime() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTableRow
 
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
 
getRootCause(Throwable) - Static method in class com.googlecode.flyway.core.util.ExceptionUtils
Returns the root cause of this throwable.
getScript() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTableRow
 
getScript() - Method in class com.googlecode.flyway.core.migration.Migration
 
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
 
getSql() - Method in class com.googlecode.flyway.core.migration.sql.SqlStatement
 
getSqlStatements() - Method in class com.googlecode.flyway.core.migration.sql.SqlScript
 
getState() - Method in class com.googlecode.flyway.core.metadatatable.MetaDataTableRow
 
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.
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.

I

init(SchemaVersion, String) - 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.
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
 
isNumeric(String) - Static method in class com.googlecode.flyway.core.util.StringUtils
Checks if the String contains only unicode digits.

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.

M

MetaDataTable - Class in com.googlecode.flyway.core.metadatatable
Supports reading and writing to the metadata table.
MetaDataTable(TransactionTemplate, JdbcTemplate, DbSupport, 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.
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.
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
 
setBasePackage(String) - Method in class com.googlecode.flyway.core.Flyway
 
setDataSource(DataSource) - Method in class com.googlecode.flyway.core.Flyway
 
setEncoding(String) - Method in class com.googlecode.flyway.core.Flyway
 
setIgnoreFailedFutureMigration(boolean) - Method in class com.googlecode.flyway.core.Flyway
Ignores failed future migrations when reading the metadata table.
setPlaceholderPrefix(String) - Method in class com.googlecode.flyway.core.Flyway
 
setPlaceholders(Map<String, String>) - Method in class com.googlecode.flyway.core.Flyway
 
setPlaceholderSuffix(String) - Method in class com.googlecode.flyway.core.Flyway
 
setSqlMigrationPrefix(String) - Method in class com.googlecode.flyway.core.Flyway
 
setSqlMigrationSuffix(String) - Method in class com.googlecode.flyway.core.Flyway
 
setTable(String) - Method in class com.googlecode.flyway.core.Flyway
 
setTarget(SchemaVersion) - Method in class com.googlecode.flyway.core.Flyway
 
setValidationErrorMode(ValidationErrorMode) - Method in class com.googlecode.flyway.core.Flyway
 
setValidationMode(ValidationMode) - Method in class com.googlecode.flyway.core.Flyway
 
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.
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 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
 
supportsLocking() - Method in interface com.googlecode.flyway.core.dbsupport.DbSupport
Checks whether locking using select ... for update is supported for this database.
supportsLocking() - Method in class com.googlecode.flyway.core.dbsupport.h2.H2DbSupport
 
supportsLocking() - Method in class com.googlecode.flyway.core.dbsupport.hsql.HsqlDbSupport
 
supportsLocking() - Method in class com.googlecode.flyway.core.dbsupport.mysql.MySQLDbSupport
 
supportsLocking() - Method in class com.googlecode.flyway.core.dbsupport.oracle.OracleDbSupport
 
supportsLocking() - Method in class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLDbSupport
 

T

tableExists(String) - Method in interface com.googlecode.flyway.core.dbsupport.DbSupport
Checks whether this table is already present in the database.
tableExists(String) - Method in class com.googlecode.flyway.core.dbsupport.h2.H2DbSupport
 
tableExists(String) - Method in class com.googlecode.flyway.core.dbsupport.hsql.HsqlDbSupport
 
tableExists(String) - Method in class com.googlecode.flyway.core.dbsupport.mysql.MySQLDbSupport
 
tableExists(String) - Method in class com.googlecode.flyway.core.dbsupport.oracle.OracleDbSupport
 
tableExists(String) - Method in class com.googlecode.flyway.core.dbsupport.postgresql.PostgreSQLDbSupport
 
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 © 2010. All Rights Reserved.