Class DBPartitionMySQLDB
Object
com.liferay.portal.db.partition.db.DBPartitionMySQLDB
- All Implemented Interfaces:
DBPartitionDB
- Author:
- Alberto Chaparro
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCatalog(Connection connection, String partitionName) getCreatePartitionSQL(Connection connection, String partitionName) getCreateTableSQL(Connection connection, String fromPartitionName, String toPartitionName, String fromTableName, String toTableName) getDefaultPartitionName(Connection connection) getDropPartitionSQL(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
getCreateRulesSQL, getCreateTableSQL, getCreateViewSQL, getDropTableSQL, getDropViewSQL, getSafeAlterTable, getSchema
-
Constructor Details
-
DBPartitionMySQLDB
public DBPartitionMySQLDB()
-
-
Method Details
-
getCatalog
- Specified by:
getCatalogin interfaceDBPartitionDB- Throws:
SQLException
-
getCreatePartitionSQL
public String getCreatePartitionSQL(Connection connection, String partitionName) throws SQLException - Specified by:
getCreatePartitionSQLin interfaceDBPartitionDB- Throws:
SQLException
-
getCreateTableSQL
public String getCreateTableSQL(Connection connection, String fromPartitionName, String toPartitionName, String fromTableName, String toTableName) - Specified by:
getCreateTableSQLin interfaceDBPartitionDB
-
getDefaultPartitionName
- Specified by:
getDefaultPartitionNamein interfaceDBPartitionDB- Throws:
SQLException
-
getDropPartitionSQL
- Specified by:
getDropPartitionSQLin interfaceDBPartitionDB
-
isDDLTransactional
public boolean isDDLTransactional()- Specified by:
isDDLTransactionalin interfaceDBPartitionDB
-
setPartition
- Specified by:
setPartitionin interfaceDBPartitionDB- Throws:
SQLException
-