Package org.flywaydb.core.api.callback

## Interface Statement

-     public interface Statement

  The statement relevant to an event.

  Flyway Teams only

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.List<Error>` | `getErrors()` |
    `java.lang.String` | `getSql()` |
    `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. `null` if 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. `null` if the statement hasn't been executed yet.