public interface UpgradeTable
| Modifier and Type | Method and Description |
|---|---|
void |
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 |
getCreateSQL() |
String |
getDeleteSQL() |
String[] |
getIndexesSQL() |
String |
getInsertSQL() |
String |
getSelectSQL() |
String |
getTempFileName() |
boolean |
isAllowUniqueIndexes() |
boolean |
isDeleteTempFile() |
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 |
updateTable() |
void appendColumn(StringBuilder sb,
Object value,
boolean last)
throws Exception
Exceptionvoid appendColumn(StringBuilder sb,
ResultSet resultSet,
String name,
Integer type,
boolean last)
throws Exception
Exceptionvoid copyTable(Connection sourceConnection,
Connection targetConnection)
throws Exception
ExceptionString getCreateSQL()
throws Exception
ExceptionString getDeleteSQL()
throws Exception
ExceptionString[] getIndexesSQL()
throws Exception
ExceptionString getInsertSQL()
throws Exception
ExceptionString getSelectSQL()
throws Exception
ExceptionString getTempFileName()
boolean isAllowUniqueIndexes()
throws Exception
Exceptionboolean isDeleteTempFile()
void setAllowUniqueIndexes(boolean allowUniqueIndexes)
throws Exception
Exceptionvoid setColumn(PreparedStatement preparedStatement,
int index,
Integer type,
String value)
throws Exception
Exceptionvoid setCreateSQL(String createSQL)
throws Exception
Exceptionvoid setDeleteTempFile(boolean deleteTempFile)
void setIndexesSQL(String[] indexesSQL)
throws Exception
Exceptionvoid updateTable()
throws Exception
Exception