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, wait
getCreateTableSQL, getCreateViewSQL, getDropTableSQL, getDropViewSQL, getSafeAlterTable, getSchema
public String getCatalog(Connection connection, String partitionName) throws SQLException
getCatalog
in interface DBPartitionDB
SQLException
public String getCreatePartitionSQL(Connection connection, String partitionName) throws SQLException
getCreatePartitionSQL
in interface DBPartitionDB
SQLException
public String getCreateTableSQL(String fromPartitionName, String toPartitionName, String fromTableName, String toTableName)
getCreateTableSQL
in interface DBPartitionDB
public String getDefaultPartitionName(Connection connection) throws SQLException
getDefaultPartitionName
in interface DBPartitionDB
SQLException
public String getDropPartitionSQL(String partitionName)
getDropPartitionSQL
in interface DBPartitionDB
public boolean isDDLTransactional()
isDDLTransactional
in interface DBPartitionDB
public void setPartition(Connection connection, String partitionName) throws SQLException
setPartition
in interface DBPartitionDB
SQLException