public class DBPartitionPostgreSQLDB extends Object implements DBPartitionDB
| Constructor and Description |
|---|
DBPartitionPostgreSQLDB() |
| Modifier and Type | Method and Description |
|---|---|
String |
getCreatePartitionSQL(Connection connection,
String partitionName) |
String |
getCreateTableSQL(String fromPartitionName,
String toPartitionName,
String fromTableName,
String toTableName) |
String |
getDefaultPartitionName(Connection connection) |
String |
getDropPartitionSQL(String partitionName) |
String |
getSafeAlterTable(String alterTableSQL) |
String |
getSchema(Connection connection,
String partitionName) |
boolean |
isDDLTransactional() |
void |
setPartition(Connection connection,
String partitionName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCatalog, getCreateTableSQL, getCreateViewSQL, getDropTableSQL, getDropViewSQLpublic 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 String getSafeAlterTable(String alterTableSQL)
getSafeAlterTable in interface DBPartitionDBpublic String getSchema(Connection connection,
String partitionName)
getSchema in interface DBPartitionDBpublic boolean isDDLTransactional()
isDDLTransactional in interface DBPartitionDBpublic void setPartition(Connection connection,
String partitionName)
throws SQLException
setPartition in interface DBPartitionDBSQLException