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) boolean
void
setPartition
(Connection connection, String partitionName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getCatalog
in interfaceDBPartitionDB
- Throws:
SQLException
-
getCreatePartitionSQL
public String getCreatePartitionSQL(Connection connection, String partitionName) throws SQLException - Specified by:
getCreatePartitionSQL
in interfaceDBPartitionDB
- Throws:
SQLException
-
getCreateTableSQL
public String getCreateTableSQL(Connection connection, String fromPartitionName, String toPartitionName, String fromTableName, String toTableName) - Specified by:
getCreateTableSQL
in interfaceDBPartitionDB
-
getDefaultPartitionName
- Specified by:
getDefaultPartitionName
in interfaceDBPartitionDB
- Throws:
SQLException
-
getDropPartitionSQL
- Specified by:
getDropPartitionSQL
in interfaceDBPartitionDB
-
isDDLTransactional
public boolean isDDLTransactional()- Specified by:
isDDLTransactional
in interfaceDBPartitionDB
-
setPartition
- Specified by:
setPartition
in interfaceDBPartitionDB
- Throws:
SQLException
-