public class ViewCountUpgradeProcess extends UpgradeProcess
UpgradeProcess.Alterable
connection
Constructor and Description |
---|
ViewCountUpgradeProcess(String tableName,
Class<?> clazz,
String primaryColumnName,
String viewCountColumnName) |
Modifier and Type | Method and Description |
---|---|
protected void |
doUpgrade() |
protected UpgradeStep[] |
getPostUpgradeSteps() |
addTemporaryIndex, clearIndexesCache, ensureTableExists, getIndexesSQL, getPreUpgradeSteps, getTableColumnsMap, getTableName, getThreshold, getUpgradeSteps, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, upgrade, upgrade
addIndexes, alterColumnName, alterColumnType, alterTableAddColumn, alterTableDropColumn, alterTableName, doHasTable, dropIndexes, dropTable, getConnection, getPrimaryKeyColumnNames, hasColumn, hasColumnType, hasIndex, hasRows, hasRows, hasTable, hasView, process, processConcurrently, processConcurrently, processConcurrently, processConcurrently, removePrimaryKey, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString
public ViewCountUpgradeProcess(String tableName, Class<?> clazz, String primaryColumnName, String viewCountColumnName)
protected void doUpgrade() throws Exception
doUpgrade
in class UpgradeProcess
Exception
protected UpgradeStep[] getPostUpgradeSteps()
getPostUpgradeSteps
in class UpgradeProcess