Interface MigrationDAO


public interface MigrationDAO
  • Method Details

    • getMaxVersion

      Optional<String> getMaxVersion() throws org.jdbi.v3.core.statement.StatementException
      Throws:
      org.jdbi.v3.core.statement.StatementException
    • getMaxServerMigrationVersion

      Optional<String> getMaxServerMigrationVersion() throws org.jdbi.v3.core.statement.StatementException
      Throws:
      org.jdbi.v3.core.statement.StatementException
    • getVersionMigrationChecksum

      String getVersionMigrationChecksum(String version) throws org.jdbi.v3.core.statement.StatementException
      Throws:
      org.jdbi.v3.core.statement.StatementException
    • getSqlQuery

      String getSqlQuery(String version, String checksum) throws org.jdbi.v3.core.statement.StatementException
      Throws:
      org.jdbi.v3.core.statement.StatementException
    • upsertServerMigration

      void upsertServerMigration(String version, String migrationFileName, String checksum, String metrics)
    • upsertServerMigrationSQL

      void upsertServerMigrationSQL(String version, String sqlStatement, String success)
    • getServerMigrationSQLWithVersion

      List<String> getServerMigrationSQLWithVersion(String version)
    • checkIfQueryPreviouslyRan

      String checkIfQueryPreviouslyRan(String checksum)
    • listMetricsFromDBMigrations

      List<MigrationDAO.ServerChangeLog> listMetricsFromDBMigrations()
    • getMigrationVersions

      List<String> getMigrationVersions()