Package com.arcadedb.query.sql.executor
Class AggregateProjectionCalculationStep
- java.lang.Object
-
- com.arcadedb.query.sql.executor.AbstractExecutionStep
-
- com.arcadedb.query.sql.executor.ProjectionCalculationStep
-
- com.arcadedb.query.sql.executor.AggregateProjectionCalculationStep
-
- All Implemented Interfaces:
ExecutionStep
,ExecutionStepInternal
public class AggregateProjectionCalculationStep extends ProjectionCalculationStep
Created by luigidellaquila on 12/07/16.
-
-
Field Summary
-
Fields inherited from class com.arcadedb.query.sql.executor.ProjectionCalculationStep
projection
-
Fields inherited from class com.arcadedb.query.sql.executor.AbstractExecutionStep
ctx, next, prev, profilingEnabled, timedOut
-
-
Constructor Summary
Constructors Constructor Description AggregateProjectionCalculationStep(Projection projection, GroupBy groupBy, long limit, CommandContext ctx, long timeoutMillis, 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 stepString
prettyPrint(int depth, int indent)
ResultSet
syncPull(CommandContext ctx, int nRecords)
-
Methods inherited from class com.arcadedb.query.sql.executor.ProjectionCalculationStep
canBeCached, copy
-
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
deserialize, getDescription, getName, getSubExecutionPlans, getSubSteps, getTargetNode, getType, reset, serialize
-
-
-
-
Constructor Detail
-
AggregateProjectionCalculationStep
public AggregateProjectionCalculationStep(Projection projection, GroupBy groupBy, long limit, CommandContext ctx, long timeoutMillis, boolean profilingEnabled)
-
-
Method Detail
-
syncPull
public ResultSet syncPull(CommandContext ctx, int nRecords)
- Specified by:
syncPull
in interfaceExecutionStepInternal
- Overrides:
syncPull
in classProjectionCalculationStep
-
prettyPrint
public String prettyPrint(int depth, int indent)
- Specified by:
prettyPrint
in interfaceExecutionStepInternal
- Overrides:
prettyPrint
in classProjectionCalculationStep
-
getCost
public long getCost()
Description copied from interface:ExecutionStep
returns the absolute cost (in nanoseconds) of the execution of this step- Specified by:
getCost
in interfaceExecutionStep
- Overrides:
getCost
in classProjectionCalculationStep
- Returns:
- the absolute cost (in nanoseconds) of the execution of this step, -1 if not calculated
-
-