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