Package org.openmetadata.service.jdbi3
Interface MigrationDAO
-
public interface MigrationDAO
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMigrationDAO.ServerMigrationSQLTable
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringcheckIfQueryPreviouslyRan(String checksum)Optional<String>getMaxServerMigrationVersion()Optional<String>getMaxVersion()List<String>getServerMigrationSQLWithVersion(String version)StringgetVersionMigrationChecksum(String version)voidupsertServerMigration(String version, String migrationFileName, String checksum)voidupsertServerMigrationSQL(String version, String sqlStatement, String success)
-
-
-
Method Detail
-
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
-
upsertServerMigration
void upsertServerMigration(String version, String migrationFileName, String checksum)
-
upsertServerMigrationSQL
void upsertServerMigrationSQL(String version, String sqlStatement, String success)
-
-