Class DeleteFromIndexStep
java.lang.Object
com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
com.orientechnologies.orient.core.sql.executor.DeleteFromIndexStep
- All Implemented Interfaces:
OExecutionStep,OExecutionStepInternal
Created by luigidellaquila on 11/08/16.
-
Field Summary
FieldsFields inherited from class com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
ctx, next, prev, profilingEnabled, timedOut -
Constructor Summary
ConstructorsConstructorDescriptionDeleteFromIndexStep(OIndex index, OBooleanExpression condition, OBinaryCondition additionalRangeCondition, OBooleanExpression ridCondition, OCommandContext ctx, boolean profilingEnabled) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longgetCost()returns the absolute cost (in nanoseconds) of the execution of this stepprotected booleanprettyPrint(int depth, int indent) syncPull(OCommandContext ctx, int nRecords) Methods inherited from class com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
getContext, getCostFormatted, getNext, getPrev, isProfilingEnabled, sendTimeout, setNext, setPrevious, setProfilingEnabledMethods 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.OExecutionStep
toResultMethods inherited from interface com.orientechnologies.orient.core.sql.executor.OExecutionStepInternal
canBeCached, copy, deserialize, getDescription, getName, getSubExecutionPlans, getSubSteps, getTargetNode, getType, reset, serialize
-
Field Details
-
index
-
-
Constructor Details
-
DeleteFromIndexStep
public DeleteFromIndexStep(OIndex index, OBooleanExpression condition, OBinaryCondition additionalRangeCondition, OBooleanExpression ridCondition, OCommandContext ctx, boolean profilingEnabled)
-
-
Method Details
-
syncPull
- Throws:
OTimeoutException
-
close
public void close()- Specified by:
closein interfaceOExecutionStepInternal- Overrides:
closein classAbstractExecutionStep
-
isOrderAsc
protected boolean isOrderAsc() -
prettyPrint
-
getCost
public long getCost()Description copied from interface:OExecutionStepreturns the absolute cost (in nanoseconds) of the execution of this step- Returns:
- the absolute cost (in nanoseconds) of the execution of this step, -1 if not calculated
-