public class DBPartitionMySQLDB extends Object implements DBPartitionDB
| Constructor and Description |
|---|
DBPartitionMySQLDB() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCatalog(Connection connection,
String partitionName) |
String |
getCreatePartitionSQL(Connection connection,
String partitionName) |
String |
getCreateTableSQL(String fromPartitionName,
String toPartitionName,
String fromTableName,
String toTableName) |
String |
getDefaultPartitionName(Connection connection) |
String |
getDropPartitionSQL(String partitionName) |
boolean |
isDDLTransactional() |
void |
setPartition(Connection connection,
String partitionName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCreateTableSQL, getCreateViewSQL, getDropTableSQL, getDropViewSQL, getSafeAlterTable, getSchemapublic String getCatalog(Connection connection,
String partitionName)
throws SQLException
getCatalog in interface DBPartitionDBSQLExceptionpublic String getCreatePartitionSQL(Connection connection,
String partitionName)
throws SQLException
getCreatePartitionSQL in interface DBPartitionDBSQLExceptionpublic String getCreateTableSQL(String fromPartitionName,
String toPartitionName,
String fromTableName,
String toTableName)
getCreateTableSQL in interface DBPartitionDBpublic String getDefaultPartitionName(Connection connection)
throws SQLException
getDefaultPartitionName in interface DBPartitionDBSQLExceptionpublic String getDropPartitionSQL(String partitionName)
getDropPartitionSQL in interface DBPartitionDBpublic boolean isDDLTransactional()
isDDLTransactional in interface DBPartitionDBpublic void setPartition(Connection connection,
String partitionName)
throws SQLException
setPartition in interface DBPartitionDBSQLException