public class ClientMysql extends ClientBase implements IMigrationClient
| Constructor and Description |
|---|
ClientMysql() |
| Modifier and Type | Method and Description |
|---|---|
void |
alterColumn(String tableName,
String columnName,
String columnDefinition) |
void |
createIndex(String indexSuffix,
String tableName,
String columnName) |
void |
dropSequence(String sequenceName) |
void |
renameColumn(String tableName,
String oldColumnName,
String newColumnName) |
void |
renameTable(String tableName,
String newTableName) |
addColumn, createTable, dropColumn, dropTable, dropTable, executeRaw, getAdminUser, getColumnName, getDatabaseSchemaVersion, getDatabaseSchemaVersionInt, getIndexName, getRow, getRow, getRows, getRowsByQuery, getSequenceName, getTableName, hasColumn, hasTable, renameSequenceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddColumn, createTable, dropColumn, dropTable, dropTable, executeRaw, getAdminUser, getColumnName, getDatabaseSchemaVersion, getDatabaseSchemaVersionInt, getRow, getRow, getRows, getTableName, hasColumn, hasTable, renameSequencepublic void renameColumn(String tableName, String oldColumnName, String newColumnName) throws SQLException
renameColumn in interface IMigrationClientSQLExceptionpublic void alterColumn(String tableName, String columnName, String columnDefinition) throws SQLException
alterColumn in interface IMigrationClientSQLExceptionpublic void renameTable(String tableName, String newTableName) throws SQLException
renameTable in interface IMigrationClientSQLExceptionpublic void createIndex(String indexSuffix, String tableName, String columnName) throws SQLException
createIndex in interface IMigrationClientcreateIndex in class ClientBaseSQLExceptionpublic void dropSequence(String sequenceName) throws SQLException
dropSequence in interface IMigrationClientSQLExceptionCopyright © 2015–2019. All rights reserved.