Class FetchFromClassExecutionStep
java.lang.Object
com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
com.orientechnologies.orient.core.sql.executor.FetchFromClassExecutionStep
- All Implemented Interfaces:
OExecutionStepInternal
- Direct Known Subclasses:
FetchFromViewExecutionStep
Created by luigidellaquila on 08/07/16.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected booleanprotected booleanprotected List<OExecutionStepInternal> Fields inherited from class com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
prev -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFetchFromClassExecutionStep(String className, Set<String> clusters, OCommandContext ctx, Boolean ridOrder) FetchFromClassExecutionStep(String className, Set<String> clusters, QueryPlanningInfo planningInfo, OCommandContext ctx, Boolean ridOrder) iterates over a class and its subclasses -
Method Summary
Modifier and TypeMethodDescriptionbooleancopy(OCommandContext ctx) voiddeserialize(OResult fromResult) protected OClassloadClassFromSchema(String className, OCommandContext ctx) prettyPrint(OPrintContext ctx) Methods inherited from class com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
getPrev, setPrevious, startMethods 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.OExecutionStepInternal
getName, getSubExecutionPlans, getTargetNode, getType, serializeToResult, toResult, toResult
-
Field Details
-
className
-
orderByRidAsc
protected boolean orderByRidAsc -
orderByRidDesc
protected boolean orderByRidDesc -
subSteps
-
-
Constructor Details
-
FetchFromClassExecutionStep
protected FetchFromClassExecutionStep() -
FetchFromClassExecutionStep
public FetchFromClassExecutionStep(String className, Set<String> clusters, OCommandContext ctx, Boolean ridOrder) -
FetchFromClassExecutionStep
public FetchFromClassExecutionStep(String className, Set<String> clusters, QueryPlanningInfo planningInfo, OCommandContext ctx, Boolean ridOrder) 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
-
internalStart
- Specified by:
internalStartin classAbstractExecutionStep- Throws:
OTimeoutException
-
prettyPrint
-
serialize
-
deserialize
-
getSubSteps
-
canBeCached
public boolean canBeCached() -
copy
-