Class CheckSafeDeleteStep

java.lang.Object
com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
com.orientechnologies.orient.core.sql.executor.CheckSafeDeleteStep
All Implemented Interfaces:
OExecutionStepInternal

public class CheckSafeDeleteStep extends AbstractExecutionStep
Checks if a record can be safely deleted (throws OCommandExecutionException in case). A record cannot be safely deleted if it's a vertex or an edge (it requires additional operations).

The result set returned by syncPull() throws an OCommandExecutionException as soon as it finds a record that cannot be safely deleted (eg. a vertex or an edge)

This step is used used in DELETE statement to make sure that you are not deleting vertices or edges without passing for an explicit DELETE VERTEX/EDGE

Author:
Luigi Dell'Aquila (l.dellaquila-(at)-orientdb.com)