- All Superinterfaces:
Scope
Migration is executed.
This type is a Scope with independent lifecycle and its own
Scope.data() map.
This is EXPERIMENTAL functionality and subject to change in future jOOQ versions.
- Author:
- Lukas Eder
- See Also:
-
Method Summary
Methods inherited from interface org.jooq.Scope
configuration, creationTime, data, data, data, dialect, dsl, family, settings
-
Method Details
-
migratedSchemas
The set of schemas that are being migrated, as specified inSettings#getMigration().This is available on all
MigrationListenerevents. -
migrationFrom
TheCommitfrom 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
TheCommitto 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
The complete set ofQueriesthat are executed betweenmigrationFrom()andmigrationTo().This is available on all
MigrationListenerevents. -
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
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
The complete set ofQueriesthat are executed betweenqueriesFrom()andqueriesTo().This is available on the same
MigrationListenerevents asqueriesFrom()andqueriesTo(). -
query
The currentQuerythat is being executed.This is available on
MigrationListener.queryStart(MigrationContext)andMigrationListener.queryEnd(MigrationContext).
-