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