Class AggregateProjectionCalculationStep
java.lang.Object
com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
com.orientechnologies.orient.core.sql.executor.ProjectionCalculationStep
com.orientechnologies.orient.core.sql.executor.AggregateProjectionCalculationStep
- All Implemented Interfaces:
OExecutionStep,OExecutionStepInternal
Created by luigidellaquila on 12/07/16.
-
Field Summary
Fields inherited from class com.orientechnologies.orient.core.sql.executor.ProjectionCalculationStep
projectionFields inherited from class com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
ctx, next, prev, profilingEnabled, timedOut -
Constructor Summary
ConstructorsConstructorDescriptionAggregateProjectionCalculationStep(OProjection projection, OGroupBy groupBy, long limit, OCommandContext ctx, long timeoutMillis, boolean profilingEnabled) -
Method Summary
Modifier and TypeMethodDescriptioncopy(OCommandContext ctx) longgetCost()returns the absolute cost (in nanoseconds) of the execution of this stepprettyPrint(int depth, int indent) syncPull(OCommandContext ctx, int nRecords) Methods inherited from class com.orientechnologies.orient.core.sql.executor.ProjectionCalculationStep
canBeCachedMethods inherited from class com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
close, 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
deserialize, getDescription, getName, getSubExecutionPlans, getSubSteps, getTargetNode, getType, reset, serialize
-
Constructor Details
-
AggregateProjectionCalculationStep
public AggregateProjectionCalculationStep(OProjection projection, OGroupBy groupBy, long limit, OCommandContext ctx, long timeoutMillis, boolean profilingEnabled)
-
-
Method Details
-
syncPull
- Specified by:
syncPullin interfaceOExecutionStepInternal- Overrides:
syncPullin classProjectionCalculationStep- Throws:
OTimeoutException
-
prettyPrint
- Specified by:
prettyPrintin interfaceOExecutionStepInternal- Overrides:
prettyPrintin classProjectionCalculationStep
-
copy
- Specified by:
copyin interfaceOExecutionStepInternal- Overrides:
copyin classProjectionCalculationStep
-
getCost
public long getCost()Description copied from interface:OExecutionStepreturns the absolute cost (in nanoseconds) of the execution of this step- Specified by:
getCostin interfaceOExecutionStep- Overrides:
getCostin classProjectionCalculationStep- Returns:
- the absolute cost (in nanoseconds) of the execution of this step, -1 if not calculated
-