Package com.arcadedb.query.sql.executor
Class LimitExecutionStep
- java.lang.Object
-
- com.arcadedb.query.sql.executor.AbstractExecutionStep
-
- com.arcadedb.query.sql.executor.LimitExecutionStep
-
- All Implemented Interfaces:
ExecutionStep
,ExecutionStepInternal
public class LimitExecutionStep extends AbstractExecutionStep
Created by luigidellaquila on 08/07/16.
-
-
Field Summary
-
Fields inherited from class com.arcadedb.query.sql.executor.AbstractExecutionStep
ctx, next, prev, profilingEnabled, timedOut
-
-
Constructor Summary
Constructors Constructor Description LimitExecutionStep(Limit limit, CommandContext ctx, boolean profilingEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
String
prettyPrint(int depth, int indent)
void
sendTimeout()
ResultSet
syncPull(CommandContext ctx, int nRecords)
-
Methods inherited from class com.arcadedb.query.sql.executor.AbstractExecutionStep
getContext, getCostFormatted, getNext, getPrev, isProfilingEnabled, isTimedOut, 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
getCost, toResult
-
Methods inherited from interface com.arcadedb.query.sql.executor.ExecutionStepInternal
canBeCached, copy, deserialize, getDescription, getName, getSubExecutionPlans, getSubSteps, getTargetNode, getType, reset, serialize
-
-
-
-
Constructor Detail
-
LimitExecutionStep
public LimitExecutionStep(Limit limit, CommandContext ctx, boolean profilingEnabled)
-
-
Method Detail
-
syncPull
public ResultSet syncPull(CommandContext ctx, int nRecords) throws TimeoutException
- Throws:
TimeoutException
-
sendTimeout
public void sendTimeout()
- Specified by:
sendTimeout
in interfaceExecutionStepInternal
- Overrides:
sendTimeout
in classAbstractExecutionStep
-
close
public void close()
- Specified by:
close
in interfaceExecutionStepInternal
- Overrides:
close
in classAbstractExecutionStep
-
prettyPrint
public String prettyPrint(int depth, int indent)
-
-