Package org.flywaydb.core.api.callback
Interface Statement
-
public interface StatementThe statement relevant to an event.Flyway Teams only
-
-
Method Summary
Modifier and Type Method Description java.util.List<Error>getErrors()java.lang.StringgetSql()java.util.List<Warning>getWarnings()
-
-
-
Method Detail
-
getSql
java.lang.String getSql()
- Returns:
- The SQL statement.
-
getWarnings
java.util.List<Warning> getWarnings()
- Returns:
- The warnings that were raised during the execution of the statement.
nullif the statement hasn't been executed yet.
-
getErrors
java.util.List<Error> getErrors()
- Returns:
- The errors that were thrown during the execution of the statement.
nullif the statement hasn't been executed yet.
-
-