public interface DBPartitionDB
Modifier and Type | Method and Description |
---|---|
default String |
getCatalog(Connection connection,
String partitionName) |
String |
getCreatePartitionSQL(Connection connection,
String partitionName) |
default String |
getCreateTableSQL(String fromPartitionName,
String toPartitionName,
String tableName) |
String |
getCreateTableSQL(String fromPartitionName,
String toPartitionName,
String toTableName,
String fromTableName) |
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
SQLException
String getCreatePartitionSQL(Connection connection, String partitionName) throws SQLException
SQLException
default String getCreateTableSQL(String fromPartitionName, String toPartitionName, String tableName)
String getCreateTableSQL(String fromPartitionName, String toPartitionName, String toTableName, String fromTableName)
default String getCreateViewSQL(String fromPartitionName, String toPartitionName, String viewName)
String getDefaultPartitionName(Connection connection) throws SQLException
SQLException
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) throws SQLException
SQLException