Class CheckSafeDeleteStep
java.lang.Object
com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
com.orientechnologies.orient.core.sql.executor.CheckSafeDeleteStep
- All Implemented Interfaces:
OExecutionStepInternal
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)
-
Field Summary
Fields inherited from class com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
prev -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
getPrev, setPrevious, startMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.core.sql.executor.OExecutionStepInternal
canBeCached, copy, deserialize, getName, getSubExecutionPlans, getSubSteps, getTargetNode, getType, serialize, serializeToResult, toResult, toResult
-
Constructor Details
-
CheckSafeDeleteStep
public CheckSafeDeleteStep()
-
-
Method Details
-
internalStart
- Specified by:
internalStartin classAbstractExecutionStep- Throws:
OTimeoutException
-
prettyPrint
-