Class DBPartitionPostgreSQLDB
Object
com.liferay.portal.db.partition.db.DBPartitionPostgreSQLDB
- All Implemented Interfaces:
DBPartitionDB
- Author:
- Alberto Chaparro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCreatePartitionSQL(Connection connection, String partitionName) getCreateRulesSQL(String partitionName) getCreateTableSQL(Connection connection, String fromPartitionName, String toPartitionName, String fromTableName, String toTableName) getDefaultPartitionName(Connection connection) getDropPartitionSQL(String partitionName) static String[]getRuleTableColumn(String ruleSQL) getSafeAlterTable(String alterTableSQL) getSchema(Connection connection, String partitionName) booleanvoidsetPartition(Connection connection, String partitionName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.db.partition.db.DBPartitionDB
getCatalog, getCreateTableSQL, getCreateViewSQL, getDropTableSQL, getDropViewSQL
-
Constructor Details
-
DBPartitionPostgreSQLDB
public DBPartitionPostgreSQLDB()
-
-
Method Details
-
getRuleTableColumn
-
getCreatePartitionSQL
public String getCreatePartitionSQL(Connection connection, String partitionName) throws SQLException - Specified by:
getCreatePartitionSQLin interfaceDBPartitionDB- Throws:
SQLException
-
getCreateRulesSQL
- Specified by:
getCreateRulesSQLin interfaceDBPartitionDB- Throws:
SQLException
-
getCreateTableSQL
public String getCreateTableSQL(Connection connection, String fromPartitionName, String toPartitionName, String fromTableName, String toTableName) throws SQLException - Specified by:
getCreateTableSQLin interfaceDBPartitionDB- Throws:
SQLException
-
getDefaultPartitionName
- Specified by:
getDefaultPartitionNamein interfaceDBPartitionDB- Throws:
SQLException
-
getDropPartitionSQL
- Specified by:
getDropPartitionSQLin interfaceDBPartitionDB
-
getSafeAlterTable
- Specified by:
getSafeAlterTablein interfaceDBPartitionDB
-
getSchema
- Specified by:
getSchemain interfaceDBPartitionDB
-
isDDLTransactional
public boolean isDDLTransactional()- Specified by:
isDDLTransactionalin interfaceDBPartitionDB
-
setPartition
- Specified by:
setPartitionin interfaceDBPartitionDB- Throws:
SQLException
-