Package com.arcadedb.query.sql.executor
Class FetchFromIndexStep
- java.lang.Object
-
- com.arcadedb.query.sql.executor.AbstractExecutionStep
-
- com.arcadedb.query.sql.executor.FetchFromIndexStep
-
- All Implemented Interfaces:
ExecutionStep
,ExecutionStepInternal
- Direct Known Subclasses:
FetchFromIndexValuesStep
public class FetchFromIndexStep extends AbstractExecutionStep
Created by luigidellaquila on 23/07/16.
-
-
Field Summary
Fields Modifier and Type Field Description protected BooleanExpression
condition
protected RangeIndex
index
protected String
indexName
-
Fields inherited from class com.arcadedb.query.sql.executor.AbstractExecutionStep
context, cost, DEFAULT_FETCH_RECORDS_PER_PULL, prev, timedOut
-
-
Constructor Summary
Constructors Constructor Description FetchFromIndexStep(RangeIndex index, BooleanExpression condition, BinaryCondition additionalRangeCondition, boolean orderAsc, CommandContext context)
FetchFromIndexStep(RangeIndex index, BooleanExpression condition, BinaryCondition additionalRangeCondition, CommandContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canBeCached()
ExecutionStep
copy(CommandContext context)
protected boolean
isOrderAsc()
String
prettyPrint(int depth, int indent)
void
reset()
ResultSet
syncPull(CommandContext context, int nRecords)
-
Methods inherited from class com.arcadedb.query.sql.executor.AbstractExecutionStep
checkForPrevious, checkForPrevious, close, getContext, getCost, getCostFormatted, getPrev, isTimedOut, pullPrevious, sendTimeout, setPrevious
-
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
getDescription, getName, getSubExecutionPlans, getSubSteps, getType
-
-
-
-
Field Detail
-
indexName
protected final String indexName
-
index
protected RangeIndex index
-
condition
protected BooleanExpression condition
-
-
Constructor Detail
-
FetchFromIndexStep
public FetchFromIndexStep(RangeIndex index, BooleanExpression condition, BinaryCondition additionalRangeCondition, CommandContext context)
-
FetchFromIndexStep
public FetchFromIndexStep(RangeIndex index, BooleanExpression condition, BinaryCondition additionalRangeCondition, boolean orderAsc, CommandContext context)
-
-
Method Detail
-
syncPull
public ResultSet syncPull(CommandContext context, int nRecords) throws TimeoutException
- Throws:
TimeoutException
-
isOrderAsc
protected boolean isOrderAsc()
-
prettyPrint
public String prettyPrint(int depth, int indent)
-
reset
public void reset()
-
canBeCached
public boolean canBeCached()
-
copy
public ExecutionStep copy(CommandContext context)
-
-