public class UpgradeSharding
extends com.liferay.portal.kernel.upgrade.UpgradeProcess
| Constructor and Description |
|---|
UpgradeSharding() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyControlTable(java.sql.Connection sourceConnection,
java.sql.Connection targetConnection,
java.lang.String tableName,
java.lang.Object[][] columns,
java.lang.String createSQL) |
protected void |
copyControlTables(java.util.List<java.lang.String> shardNames) |
protected void |
copyControlTables(java.lang.String shardName) |
protected void |
doUpgrade() |
protected java.util.List<java.lang.String> |
getShardNames() |
doHasTable, getThreshold, hasTable, increment, increment, isSupportsAlterColumnName, isSupportsAlterColumnType, isSupportsStringCaseSensitiveQuery, isSupportsUpdateWithInnerJoin, tableHasColumn, tableHasData, upgrade, upgrade, upgrade, upgrade, upgradeTable, upgradeTableprotected void copyControlTable(java.sql.Connection sourceConnection,
java.sql.Connection targetConnection,
java.lang.String tableName,
java.lang.Object[][] columns,
java.lang.String createSQL)
throws java.lang.Exception
java.lang.Exceptionprotected void copyControlTables(java.util.List<java.lang.String> shardNames)
throws java.lang.Exception
java.lang.Exceptionprotected void copyControlTables(java.lang.String shardName)
throws java.lang.Exception
java.lang.Exceptionprotected void doUpgrade()
throws java.lang.Exception
doUpgrade in class com.liferay.portal.kernel.upgrade.UpgradeProcessjava.lang.Exceptionprotected java.util.List<java.lang.String> getShardNames()
throws java.lang.Exception
java.lang.Exception