public class UpgradeViewCount extends UpgradeProcess
UpgradeProcess.Alterable, UpgradeProcess.AlterColumnName, UpgradeProcess.AlterColumnType, UpgradeProcess.AlterTableAddColumn, UpgradeProcess.AlterTableDropColumn
connection
Constructor and Description |
---|
UpgradeViewCount(String tableName,
Class<?> clazz,
String primaryColumnName,
String viewCountColumnName) |
Modifier and Type | Method and Description |
---|---|
protected void |
doUpgrade() |
alter, clearIndexesCache, getIndexesSQL, getIndexSQLs, getTableColumnsMap, getTableName, getThreshold, increment, increment, increment, isPortal62TableName, isSkipUpgradeProcess, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, removePrimaryKey, upgrade, upgrade, upgrade, upgradeTable, upgradeTable
doHasTable, hasColumn, hasColumnType, hasColumnType, hasIndex, hasRows, hasRows, hasTable, runSQL, runSQL, runSQL, runSQL, runSQLTemplate, runSQLTemplate, runSQLTemplateString, runSQLTemplateString
public UpgradeViewCount(String tableName, Class<?> clazz, String primaryColumnName, String viewCountColumnName)
protected void doUpgrade() throws Exception
doUpgrade
in class UpgradeProcess
Exception