public interface DBPartitionDB
| Modifier and Type | Method and Description |
|---|---|
default String |
getCatalog(Connection connection,
String partitionName) |
String |
getCreatePartitionSQL(Connection connection,
String partitionName) |
String |
getCreateTableSQL(String fromPartitionName,
String toPartitionName,
String tableName) |
default String |
getCreateViewSQL(String fromPartitionName,
String toPartitionName,
String viewName) |
String |
getDefaultPartitionName(Connection connection) |
String |
getDropPartitionSQL(String partitionName) |
default String |
getDropTableSQL(String partitionName,
String tableName) |
default String |
getDropViewSQL(String partitionName,
String viewName) |
default String |
getSafeAlterTable(String alterTableSQL) |
default String |
getSchema(Connection connection,
String partitionName) |
boolean |
isDDLTransactional() |
void |
setPartition(Connection connection,
String partitionName) |
default String getCatalog(Connection connection,
String partitionName)
throws SQLException
SQLExceptionString getCreatePartitionSQL(Connection connection,
String partitionName)
throws SQLException
SQLExceptionString getCreateTableSQL(String fromPartitionName,
String toPartitionName,
String tableName)
default String getCreateViewSQL(String fromPartitionName,
String toPartitionName,
String viewName)
String getDefaultPartitionName(Connection connection)
throws SQLException
SQLExceptionString getDropPartitionSQL(String partitionName)
default String getDropTableSQL(String partitionName,
String tableName)
default String getDropViewSQL(String partitionName,
String viewName)
default String getSafeAlterTable(String alterTableSQL)
default String getSchema(Connection connection,
String partitionName)
boolean isDDLTransactional()
void setPartition(Connection connection,
String partitionName)
throws SQLException
SQLException