Interface UpgradeTable
public interface UpgradeTable
- Author:
- Alexander Chow, Brian Wing Shun Chan
-
Method Summary
Modifier and TypeMethodDescriptionvoidappendColumn(StringBuilder sb, Object value, boolean last) voidappendColumn(StringBuilder sb, ResultSet resultSet, String name, Integer type, boolean last) voidcopyTable(Connection sourceConnection, Connection targetConnection) String[]booleanbooleanvoidsetAllowUniqueIndexes(boolean allowUniqueIndexes) voidsetColumn(PreparedStatement preparedStatement, int index, Integer type, String value) voidsetCreateSQL(String createSQL) voidsetDeleteTempFile(boolean deleteTempFile) voidsetIndexesSQL(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
-