Class FetchFromClustersExecutionStep
java.lang.Object
com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
com.orientechnologies.orient.core.sql.executor.FetchFromClustersExecutionStep
- All Implemented Interfaces:
OExecutionStep,OExecutionStepInternal
Created by luigidellaquila on 21/07/16.
-
Field Summary
Fields inherited from class com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
ctx, next, prev, profilingEnabled, timedOut -
Constructor Summary
ConstructorsConstructorDescriptionFetchFromClustersExecutionStep(int[] clusterIds, OCommandContext ctx, Boolean ridOrder, boolean profilingEnabled) iterates over a class and its subclasses -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voiddeserialize(OResult fromResult) longgetCost()returns the absolute cost (in nanoseconds) of the execution of this stepprettyPrint(int depth, int indent) voidsyncPull(OCommandContext ctx, int nRecords) Methods inherited from class com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
getContext, getCostFormatted, getNext, getPrev, isProfilingEnabled, 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
canBeCached, copy, getDescription, getName, getSubExecutionPlans, getTargetNode, getType, reset
-
Constructor Details
-
FetchFromClustersExecutionStep
public FetchFromClustersExecutionStep(int[] clusterIds, OCommandContext ctx, Boolean ridOrder, boolean profilingEnabled) iterates over a class and its subclasses- Parameters:
clusterIds- the clustersctx- the query contextridOrder- true to sort by RID asc, false to sort by RID desc, null for no sort.
-
-
Method Details
-
syncPull
- Throws:
OTimeoutException
-
sendTimeout
public void sendTimeout()- Specified by:
sendTimeoutin interfaceOExecutionStepInternal- Overrides:
sendTimeoutin classAbstractExecutionStep
-
close
public void close()- Specified by:
closein interfaceOExecutionStepInternal- Overrides:
closein classAbstractExecutionStep
-
prettyPrint
-
getSubSteps
-
getCost
public long getCost()Description copied from interface:OExecutionStepreturns 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
-
deserialize
-