Class FetchFromIndexStep
java.lang.Object
com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
com.orientechnologies.orient.core.sql.executor.FetchFromIndexStep
- All Implemented Interfaces:
OExecutionStep,OExecutionStepInternal
- Direct Known Subclasses:
FetchFromIndexValuesStep
Created by luigidellaquila on 23/07/16.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected OBooleanExpressionprotected OIndexInternalprotected StringFields inherited from class com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
ctx, next, prev, profilingEnabled, timedOut -
Constructor Summary
ConstructorsConstructorDescriptionFetchFromIndexStep(OIndex index, OBooleanExpression condition, OBinaryCondition additionalRangeCondition, boolean orderAsc, OCommandContext ctx, boolean profilingEnabled) FetchFromIndexStep(OIndex index, OBooleanExpression condition, OBinaryCondition additionalRangeCondition, OCommandContext ctx, boolean profilingEnabled) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidclose()copy(OCommandContext ctx) voiddeserialize(OResult fromResult) longgetCost()returns the absolute cost (in nanoseconds) of the execution of this stepprotected booleanprettyPrint(int depth, int indent) voidreset()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
getDescription, getName, getSubExecutionPlans, getSubSteps, getTargetNode, getType
-
Field Details
-
index
-
condition
-
indexName
-
-
Constructor Details
-
FetchFromIndexStep
public FetchFromIndexStep(OIndex index, OBooleanExpression condition, OBinaryCondition additionalRangeCondition, OCommandContext ctx, boolean profilingEnabled) -
FetchFromIndexStep
public FetchFromIndexStep(OIndex index, OBooleanExpression condition, OBinaryCondition additionalRangeCondition, boolean orderAsc, OCommandContext ctx, boolean profilingEnabled)
-
-
Method Details
-
syncPull
- Throws:
OTimeoutException
-
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
-
serialize
-
deserialize
-
reset
public void reset() -
canBeCached
public boolean canBeCached() -
copy
-
close
public void close()- Specified by:
closein interfaceOExecutionStepInternal- Overrides:
closein classAbstractExecutionStep
-
getIndexName
-