Class DeleteNotExistsExecutor

java.lang.Object
org.alfresco.repo.domain.schema.script.DeleteNotExistsExecutor
All Implemented Interfaces:
StatementExecutor
Direct Known Subclasses:
DeleteNotExistsV3Executor, MySQLDeleteNotExistsExecutor

public class DeleteNotExistsExecutor extends Object implements StatementExecutor
The --DELETE_NOT_EXISTS primaryTable.columnName,secondaryTable1.columnName1,...,secondaryTableN.columnNameN batch.size.property statement is used to delete all the items that don't have any corresponding key in any of the secondary tables (e.g. secondaryTable1.columnName1,...,secondaryTableN.columnNameN).

The processing of the tables and the actual deletes are done in batches to support a high volume of data. It can be influenced using:
system.delete_not_exists.batchsize and/or system.delete_not_exists.delete_batchsize

The statement can be executed in read only mode using: system.delete_not_exists.read_only.

In case of high volume of data we can limit the processing time using: system.delete_not_exists.timeout_seconds.

Author:
Cristian Turlica