- 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
Modifier and TypeMethodDescriptionThe set of schemas that are being migrated, as specified ininvalid @link
Settings#getMigration()
@NotNull Commit
@NotNull Queries
@NotNull Commit
@NotNull Queries
queries()
@NotNull Commit
@NotNull Commit
@NotNull Query
query()
The currentQuery
that is being executed.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 ininvalid @link
Settings#getMigration()
This is available on all
MigrationListener
events. -
migrationFrom
TheCommit
from which aMigration
has 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
MigrationListener
events. -
migrationTo
TheCommit
to which aMigration
is 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
MigrationListener
events. -
migrationQueries
The complete set ofQueries
that are executed betweenmigrationFrom()
andmigrationTo()
.This is available on all
MigrationListener
events. -
queriesFrom
TheVersion
from which an individual set ofQueries
has 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
TheVersion
to which an individual set ofQueries
is 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 ofQueries
that are executed betweenqueriesFrom()
andqueriesTo()
.This is available on the same
MigrationListener
events asqueriesFrom()
andqueriesTo()
. -
query
The currentQuery
that is being executed.This is available on
MigrationListener.queryStart(MigrationContext)
andMigrationListener.queryEnd(MigrationContext)
.
-