Package com.arcadedb.query.sql.executor
Class DeleteFromIndexStep
- java.lang.Object
-
- com.arcadedb.query.sql.executor.AbstractExecutionStep
-
- com.arcadedb.query.sql.executor.DeleteFromIndexStep
-
- All Implemented Interfaces:
ExecutionStep
,ExecutionStepInternal
public class DeleteFromIndexStep extends AbstractExecutionStep
Created by luigidellaquila on 11/08/16.
-
-
Field Summary
Fields Modifier and Type Field Description protected RangeIndex
index
-
Fields inherited from class com.arcadedb.query.sql.executor.AbstractExecutionStep
ctx, next, prev, profilingEnabled, timedOut
-
-
Constructor Summary
Constructors Constructor Description DeleteFromIndexStep(RangeIndex index, BooleanExpression condition, BinaryCondition additionalRangeCondition, BooleanExpression ridCondition, boolean orderAsc, CommandContext ctx, boolean profilingEnabled)
DeleteFromIndexStep(RangeIndex index, BooleanExpression condition, BinaryCondition additionalRangeCondition, BooleanExpression ridCondition, CommandContext ctx, boolean profilingEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCost()
returns the absolute cost (in nanoseconds) of the execution of this stepprotected boolean
isOrderAsc()
String
prettyPrint(int depth, int indent)
ResultSet
syncPull(CommandContext ctx, int nRecords)
-
Methods inherited from class com.arcadedb.query.sql.executor.AbstractExecutionStep
close, getContext, getCostFormatted, getNext, getPrev, isProfilingEnabled, isTimedOut, sendTimeout, setNext, setPrevious, setProfilingEnabled
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.arcadedb.query.sql.executor.ExecutionStep
toResult
-
Methods inherited from interface com.arcadedb.query.sql.executor.ExecutionStepInternal
canBeCached, copy, deserialize, getDescription, getName, getSubExecutionPlans, getSubSteps, getTargetNode, getType, reset, serialize
-
-
-
-
Field Detail
-
index
protected final RangeIndex index
-
-
Constructor Detail
-
DeleteFromIndexStep
public DeleteFromIndexStep(RangeIndex index, BooleanExpression condition, BinaryCondition additionalRangeCondition, BooleanExpression ridCondition, CommandContext ctx, boolean profilingEnabled)
-
DeleteFromIndexStep
public DeleteFromIndexStep(RangeIndex index, BooleanExpression condition, BinaryCondition additionalRangeCondition, BooleanExpression ridCondition, boolean orderAsc, CommandContext ctx, boolean profilingEnabled)
-
-
Method Detail
-
syncPull
public ResultSet syncPull(CommandContext ctx, int nRecords) throws TimeoutException
- Throws:
TimeoutException
-
isOrderAsc
protected boolean isOrderAsc()
-
prettyPrint
public String prettyPrint(int depth, int indent)
-
getCost
public long getCost()
Description copied from interface:ExecutionStep
returns 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
-
-