public class CheckSafeDeleteStep extends AbstractExecutionStep
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
ctx, next, prev, profilingEnabled, timedOut
Constructor and Description |
---|
CheckSafeDeleteStep(OCommandContext ctx,
boolean profilingEnabled) |
Modifier and Type | Method and Description |
---|---|
long |
getCost()
returns the absolute cost (in nanoseconds) of the execution of this step
|
String |
prettyPrint(int depth,
int indent) |
OResultSet |
syncPull(OCommandContext ctx,
int nRecords) |
close, getContext, getCostFormatted, getNext, getPrev, isProfilingEnabled, sendTimeout, setNext, setPrevious, setProfilingEnabled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
basicDeserialize, basicSerialize, canBeCached, copy, deserialize, getDescription, getIndent, getName, getSubExecutionPlans, getSubSteps, getTargetNode, getType, reset, serialize
toResult
public CheckSafeDeleteStep(OCommandContext ctx, boolean profilingEnabled)
public OResultSet syncPull(OCommandContext ctx, int nRecords) throws OTimeoutException
OTimeoutException
public String prettyPrint(int depth, int indent)
public long getCost()
OExecutionStep
Copyright © 2009–2020 OrientDB. All rights reserved.