Interface UpgradeTable
public interface UpgradeTable
- Author:
- Alexander Chow, Brian Wing Shun Chan
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendColumn
(StringBuilder sb, Object value, boolean last) void
appendColumn
(StringBuilder sb, ResultSet resultSet, String name, Integer type, boolean last) void
copyTable
(Connection sourceConnection, Connection targetConnection) String[]
boolean
boolean
void
setAllowUniqueIndexes
(boolean allowUniqueIndexes) void
setColumn
(PreparedStatement preparedStatement, int index, Integer type, String value) void
setCreateSQL
(String createSQL) void
setDeleteTempFile
(boolean deleteTempFile) void
setIndexesSQL
(String[] indexesSQL) void
-
Method Details
-
appendColumn
- Throws:
Exception
-
appendColumn
void appendColumn(StringBuilder sb, ResultSet resultSet, String name, Integer type, boolean last) throws Exception - Throws:
Exception
-
copyTable
- Throws:
Exception
-
getCreateSQL
- Throws:
Exception
-
getDeleteSQL
- Throws:
Exception
-
getIndexesSQL
- Throws:
Exception
-
getInsertSQL
- Throws:
Exception
-
getSelectSQL
- Throws:
Exception
-
getTempFileName
String getTempFileName() -
isAllowUniqueIndexes
- Throws:
Exception
-
isDeleteTempFile
boolean isDeleteTempFile() -
setAllowUniqueIndexes
- Throws:
Exception
-
setColumn
void setColumn(PreparedStatement preparedStatement, int index, Integer type, String value) throws Exception - Throws:
Exception
-
setCreateSQL
- Throws:
Exception
-
setDeleteTempFile
void setDeleteTempFile(boolean deleteTempFile) -
setIndexesSQL
- Throws:
Exception
-
updateTable
- Throws:
Exception
-