Class FetchFromClassExecutionStep
java.lang.Object
com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
com.orientechnologies.orient.core.sql.executor.FetchFromClassExecutionStep
- All Implemented Interfaces:
OExecutionStep,OExecutionStepInternal
- Direct Known Subclasses:
FetchFromViewExecutionStep
Created by luigidellaquila on 08/07/16.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected booleanprotected booleanprotected List<OExecutionStep> Fields inherited from class com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
ctx, next, prev, profilingEnabled, timedOut -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFetchFromClassExecutionStep(OCommandContext ctx, boolean profilingEnabled) FetchFromClassExecutionStep(String className, Set<String> clusters, OCommandContext ctx, Boolean ridOrder, boolean profilingEnabled) FetchFromClassExecutionStep(String className, Set<String> clusters, QueryPlanningInfo planningInfo, OCommandContext ctx, Boolean ridOrder, boolean profilingEnabled) iterates over a class and its subclasses -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidclose()copy(OCommandContext ctx) voiddeserialize(OResult fromResult) longgetCost()returns the absolute cost (in nanoseconds) of the execution of this stepprotected OClassloadClassFromSchema(String className, OCommandContext ctx) prettyPrint(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
getDescription, getName, getSubExecutionPlans, getTargetNode, getType, reset
-
Field Details
-
className
-
orderByRidAsc
protected boolean orderByRidAsc -
orderByRidDesc
protected boolean orderByRidDesc -
subSteps
-
-
Constructor Details
-
FetchFromClassExecutionStep
-
FetchFromClassExecutionStep
public FetchFromClassExecutionStep(String className, Set<String> clusters, OCommandContext ctx, Boolean ridOrder, boolean profilingEnabled) -
FetchFromClassExecutionStep
public FetchFromClassExecutionStep(String className, Set<String> clusters, QueryPlanningInfo planningInfo, OCommandContext ctx, Boolean ridOrder, boolean profilingEnabled) iterates over a class and its subclasses- Parameters:
className- the class nameclusters- if present (it can be null), filter by only these clustersctx- the query contextridOrder- true to sort by RID asc, false to sort by RID desc, null for no sort.
-
-
Method Details
-
loadClassFromSchema
-
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
-
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
-
getSubSteps
-
canBeCached
public boolean canBeCached() -
copy
-