クラス SeriesVersionDownCommand
java.lang.Object
com.sqlapp.data.db.command.AbstractCommand
com.sqlapp.data.db.command.AbstractDataSourceCommand
com.sqlapp.data.db.command.AbstractSqlCommand
com.sqlapp.data.db.command.version.VersionUpCommand
com.sqlapp.data.db.command.version.SeriesVersionDownCommand
- すべての実装されたインタフェース:
Placeholders,Runnable
-
フィールドの概要
クラスから継承されたフィールド com.sqlapp.data.db.command.AbstractCommand
logger -
コンストラクタの概要
コンストラクタ -
メソッドの概要
修飾子とタイプメソッド説明protected voidfinalizeVersion(Connection connection, com.sqlapp.data.db.dialect.Dialect dialect, com.sqlapp.data.schemas.Table table, com.sqlapp.data.schemas.Row row, Long id, DbVersionHandler dbVersionHandler) protected List<com.sqlapp.data.db.dialect.util.SqlSplitter.SplitResult>getSqls(DbVersionFileHandler.SqlFile sqlFile) protected List<com.sqlapp.data.schemas.Row>getVersionRows(com.sqlapp.data.schemas.Table table, List<DbVersionFileHandler.SqlFile> sqlFiles, DbVersionHandler dbVersionHandler) protected booleanpreCheck(Connection connection, com.sqlapp.data.db.dialect.Dialect dialect, com.sqlapp.data.schemas.Table table, Long id, com.sqlapp.data.schemas.Row row, DbVersionHandler dbVersionHandler) protected booleanstartVersion(Connection connection, com.sqlapp.data.db.dialect.Dialect dialect, com.sqlapp.data.schemas.Table table, com.sqlapp.data.schemas.Row row, Long seriesNumber, DbVersionHandler dbVersionHandler) クラスから継承されたメソッド com.sqlapp.data.db.command.version.VersionUpCommand
checkTable, deleteVersion, deleteVersion, doRun, errorVersion, executeChangeVersion, executeEmptyVersion, executeSql, executeSql, executeSql, getAppliedAtColumnName, getAppliedByColumnName, getDescriptionColumnName, getDownSqlDirectory, getIdColumnName, getLastChangeToApply, getLastState, getName, getPreviousState, getPreviousTable, getSchemaChangeLogTableName, getSeriesNumberColumnName, getSqlDirectory, getStatusColumnName, getTable, isShowVersionOnly, isWithSeriesNumber, logCurrentState, outputCurrent, setAppliedAtColumnName, setAppliedByColumnName, setDescriptionColumnName, setDownSqlDirectory, setDownSqlDirectory, setFinalizeSqlDirectory, setIdColumnName, setLastChangeToApply, setSchemaChangeLogTableName, setSeriesNumberColumnName, setSetupSqlDirectory, setShowVersionOnly, setSqlDirectory, setSqlDirectory, setStatusColumnName, setWithSeriesNumberクラスから継承されたメソッド com.sqlapp.data.db.command.AbstractSqlCommand
getEncoding, getFileDirectory, getPlaceholderPrefix, getPlaceholderSuffix, getSqlConverter, initialize, isPlaceholders, rollback, setEncoding, setFileDirectory, setPlaceholderPrefix, setPlaceholders, setPlaceholderSuffixクラスから継承されたメソッド com.sqlapp.data.db.command.AbstractDataSourceCommand
createOutputTextBuilder, getConnection, getConnectionHandler, getCurrentCatalogName, getCurrentSchemaName, getDataSource, getDialect, newConverters, releaseConnection, setConnection, setConnectionHandler, setDataSource, setDialectクラスから継承されたメソッド com.sqlapp.data.db.command.AbstractCommand
createJsonConverter, createYamlConverter, debug, debug, error, error, getConsoleOutputLevel, getContext, getConvertHandler, getErr, getExceptionHandler, info, info, initializeContext, run, setConsoleOutputLevel, setConvertHandler, setExceptionHandler
-
コンストラクタの詳細
-
SeriesVersionDownCommand
public SeriesVersionDownCommand()
-
-
メソッドの詳細
-
getVersionRows
protected List<com.sqlapp.data.schemas.Row> getVersionRows(com.sqlapp.data.schemas.Table table, List<DbVersionFileHandler.SqlFile> sqlFiles, DbVersionHandler dbVersionHandler) - オーバーライド:
getVersionRowsクラス内VersionUpCommand
-
preCheck
protected boolean preCheck(Connection connection, com.sqlapp.data.db.dialect.Dialect dialect, com.sqlapp.data.schemas.Table table, Long id, com.sqlapp.data.schemas.Row row, DbVersionHandler dbVersionHandler) throws SQLException - オーバーライド:
preCheckクラス内VersionUpCommand- 例外:
SQLException
-
startVersion
protected boolean startVersion(Connection connection, com.sqlapp.data.db.dialect.Dialect dialect, com.sqlapp.data.schemas.Table table, com.sqlapp.data.schemas.Row row, Long seriesNumber, DbVersionHandler dbVersionHandler) throws SQLException - オーバーライド:
startVersionクラス内VersionUpCommand- 例外:
SQLException
-
finalizeVersion
protected void finalizeVersion(Connection connection, com.sqlapp.data.db.dialect.Dialect dialect, com.sqlapp.data.schemas.Table table, com.sqlapp.data.schemas.Row row, Long id, DbVersionHandler dbVersionHandler) throws SQLException - オーバーライド:
finalizeVersionクラス内VersionUpCommand- 例外:
SQLException
-
getSqls
protected List<com.sqlapp.data.db.dialect.util.SqlSplitter.SplitResult> getSqls(DbVersionFileHandler.SqlFile sqlFile) - オーバーライド:
getSqlsクラス内VersionUpCommand
-
getSetupSqlDirectory
- オーバーライド:
getSetupSqlDirectoryクラス内VersionUpCommand- 戻り値:
- the setupSqlDirectory
-
getFinalizeSqlDirectory
- オーバーライド:
getFinalizeSqlDirectoryクラス内VersionUpCommand- 戻り値:
- the finalizeSqlDirectory
-