Package com.arcadedb.query.sql.executor
Class FetchFromClusterExecutionStep
- java.lang.Object
-
- com.arcadedb.query.sql.executor.AbstractExecutionStep
-
- com.arcadedb.query.sql.executor.FetchFromClusterExecutionStep
-
- All Implemented Interfaces:
ExecutionStep
,ExecutionStepInternal
public class FetchFromClusterExecutionStep extends AbstractExecutionStep
- Author:
- Luigi Dell'Aquila (luigi.dellaquila-(at)-gmail.com)
-
-
Field Summary
Fields Modifier and Type Field Description static Object
ORDER_ASC
static Object
ORDER_DESC
-
Fields inherited from class com.arcadedb.query.sql.executor.AbstractExecutionStep
ctx, next, prev, profilingEnabled, timedOut
-
-
Constructor Summary
Constructors Constructor Description FetchFromClusterExecutionStep(int bucketId, CommandContext ctx, boolean profilingEnabled)
FetchFromClusterExecutionStep(int bucketId, QueryPlanningInfo queryPlanning, CommandContext ctx, boolean profilingEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canBeCached()
ExecutionStep
copy(CommandContext ctx)
void
deserialize(Result fromResult)
long
getCost()
returns the absolute cost (in nanoseconds) of the execution of this stepString
prettyPrint(int depth, int indent)
Result
serialize()
void
setOrder(Object order)
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
getDescription, getName, getSubExecutionPlans, getSubSteps, getTargetNode, getType, reset
-
-
-
-
Constructor Detail
-
FetchFromClusterExecutionStep
public FetchFromClusterExecutionStep(int bucketId, CommandContext ctx, boolean profilingEnabled)
-
FetchFromClusterExecutionStep
public FetchFromClusterExecutionStep(int bucketId, QueryPlanningInfo queryPlanning, CommandContext ctx, boolean profilingEnabled)
-
-
Method Detail
-
syncPull
public ResultSet syncPull(CommandContext ctx, int nRecords) throws TimeoutException
- Throws:
TimeoutException
-
prettyPrint
public String prettyPrint(int depth, int indent)
-
setOrder
public void setOrder(Object order)
-
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
-
serialize
public Result serialize()
-
deserialize
public void deserialize(Result fromResult)
-
canBeCached
public boolean canBeCached()
-
copy
public ExecutionStep copy(CommandContext ctx)
-
-