public class DefaultUpgradeTableImpl extends BaseUpgradeTableImpl implements com.liferay.portal.kernel.upgrade.util.UpgradeTable
Modifier | Constructor and Description |
---|---|
protected |
DefaultUpgradeTableImpl(String tableName,
Object[][] columns,
com.liferay.portal.kernel.upgrade.util.UpgradeColumn... upgradeColumns) |
Modifier and Type | Method and Description |
---|---|
void |
copyTable(Connection sourceConnection,
Connection targetConnection) |
String |
getExportedData(ResultSet rs) |
protected void |
getSortedColumnName(List<String> sortedColumnNames,
com.liferay.portal.kernel.upgrade.util.UpgradeColumn upgradeColumn) |
protected void |
prepareUpgradeColumns(com.liferay.portal.kernel.upgrade.util.UpgradeColumn upgradeColumn) |
void |
setColumn(PreparedStatement ps,
int index,
Integer type,
String value) |
getIndexesSQL, isAllowUniqueIndexes, isDeleteTempFile, setAllowUniqueIndexes, setCreateSQL, setDeleteTempFile, setIndexesSQL, updateTable, updateTable
appendColumn, appendColumn, generateTempFile, generateTempFile, getColumns, getCreateSQL, getDeleteSQL, getInsertSQL, getInsertTableName, getOrder, getSelectPreparedStatement, getSelectSQL, getTableName, getTempFileName, getTotalRows, getValue, populateTable, populateTable, populateTableRows, setColumns, setSelectSQL, updateColumnValue
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
appendColumn, appendColumn, getCreateSQL, getDeleteSQL, getIndexesSQL, getInsertSQL, getSelectSQL, getTempFileName, isAllowUniqueIndexes, isDeleteTempFile, setAllowUniqueIndexes, setCreateSQL, setDeleteTempFile, setIndexesSQL, updateTable
protected DefaultUpgradeTableImpl(String tableName, Object[][] columns, com.liferay.portal.kernel.upgrade.util.UpgradeColumn... upgradeColumns)
public void copyTable(Connection sourceConnection, Connection targetConnection) throws Exception
copyTable
in interface com.liferay.portal.kernel.upgrade.util.UpgradeTable
Exception
public String getExportedData(ResultSet rs) throws Exception
getExportedData
in class Table
Exception
public void setColumn(PreparedStatement ps, int index, Integer type, String value) throws Exception
protected void getSortedColumnName(List<String> sortedColumnNames, com.liferay.portal.kernel.upgrade.util.UpgradeColumn upgradeColumn)
protected void prepareUpgradeColumns(com.liferay.portal.kernel.upgrade.util.UpgradeColumn upgradeColumn)