- 
- All Superinterfaces:
- Scope
 
 @Internal public interface MigrationContext extends Scope The context in which aMigrationis executed.This is EXPERIMENTAL functionality and subject to change in future jOOQ versions. - Author:
- Lukas Eder
- See Also:
- MigrationListener
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull VersionmigrationFrom()@NotNull QueriesmigrationQueries()@NotNull VersionmigrationTo()@NotNull Queriesqueries()@NotNull VersionqueriesFrom()@NotNull VersionqueriesTo()@NotNull Queryquery()The currentQuerythat is being executed.
 
- 
- 
- 
Method Detail- 
migrationFrom@NotNull @NotNull Version migrationFrom() TheVersionfrom which aMigrationhas started.migrationFrom()andmigrationTo()versions need not be consecutive versions for any given migration. If a migration jumps a few versions, these two methods will only return the endpoints.This is available on all MigrationListenerevents.
 - 
migrationTo@NotNull @NotNull Version migrationTo() TheVersionto which aMigrationis headed.migrationFrom()andmigrationTo()versions need not be consecutive versions for any given migration. If a migration jumps a few versions, these two methods will only return the endpoints.This is available on all MigrationListenerevents.
 - 
migrationQueries@NotNull @NotNull Queries migrationQueries() The complete set ofQueriesthat are executed betweenmigrationFrom()andmigrationTo().This is available on all MigrationListenerevents.
 - 
queriesFrom@NotNull @NotNull Version queriesFrom() TheVersionfrom which an individual set ofQuerieshas started.queriesFrom()andqueriesTo()versions are consecutive versions in a migration. If a migration jumps a few versions, these two methods might return those intermediate versions on these events:
 - 
queriesTo@NotNull @NotNull Version queriesTo() TheVersionto which an individual set ofQueriesis headed.queriesFrom()andqueriesTo()versions are consecutive versions in a migration. If a migration jumps a few versions, these two methods might return those intermediate versions on these events:
 - 
queries@NotNull @NotNull Queries queries() The complete set ofQueriesthat are executed betweenqueriesFrom()andqueriesTo().This is available on the same MigrationListenerevents asqueriesFrom()andqueriesTo().
 - 
query@NotNull @NotNull Query query() The currentQuerythat is being executed.This is available on MigrationListener.queryStart(MigrationContext)andMigrationListener.queryEnd(MigrationContext).
 
- 
 
-