Class MySQLDeleteNotExistsExecutor
- java.lang.Object
-
- org.alfresco.repo.domain.schema.script.DeleteNotExistsExecutor
-
- org.alfresco.repo.domain.schema.script.MySQLDeleteNotExistsExecutor
-
- All Implemented Interfaces:
StatementExecutor
public class MySQLDeleteNotExistsExecutor extends DeleteNotExistsExecutor
Extendsto cope with MySQL specific fetch size limitation and restrictions.DeleteNotExistsExecutor
-
-
Field Summary
-
Fields inherited from class org.alfresco.repo.domain.schema.script.DeleteNotExistsExecutor
batchSize, connection, deleteBatchSize, deletedCount, PROPERTY_BATCH_SIZE, PROPERTY_DELETE_BATCH_SIZE, PROPERTY_READ_ONLY, PROPERTY_TIMEOUT_SECONDS, readOnly, startTime
-
-
Constructor Summary
Constructors Constructor Description MySQLDeleteNotExistsExecutor(Connection connection, String sql, int line, File scriptFile, Properties globalProperties, DataSource dataSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcloseQuietly(Connection connection)protected voidcloseQuietly(Connection[] connections)protected voidprocess(Pair<String,String>[] tableColumn, Long[] tableUpperLimits, String[] optionalWhereClauses)-
Methods inherited from class org.alfresco.repo.domain.schema.script.DeleteNotExistsExecutor
checkProperties, closeQuietly, closeQuietly, closeQuietly, closeQuietly, createPreparedDeleteStatement, createPreparedSelectStatement, deleteFromPrimaryTable, execute, isTimeoutExceeded, processPrimaryTableResultSet
-
-
-
-
Constructor Detail
-
MySQLDeleteNotExistsExecutor
public MySQLDeleteNotExistsExecutor(Connection connection, String sql, int line, File scriptFile, Properties globalProperties, DataSource dataSource)
-
-
Method Detail
-
process
protected void process(Pair<String,String>[] tableColumn, Long[] tableUpperLimits, String[] optionalWhereClauses) throws SQLException
- Overrides:
processin classDeleteNotExistsExecutor- Throws:
SQLException
-
closeQuietly
protected void closeQuietly(Connection connection)
-
closeQuietly
protected void closeQuietly(Connection[] connections)
-
-