Class AbstractTraverseStep
java.lang.Object
com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
com.orientechnologies.orient.core.sql.executor.AbstractTraverseStep
- All Implemented Interfaces:
OExecutionStepInternal
- Direct Known Subclasses:
BreadthFirstTraverseStep,DepthFirstTraverseStep
Created by luigidellaquila on 26/10/16.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final OIntegerprotected final List<OTraverseProjectionItem> protected final OWhereClauseFields inherited from class com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
prev -
Constructor Summary
ConstructorsConstructorDescriptionAbstractTraverseStep(List<OTraverseProjectionItem> projections, OWhereClause whileClause, OInteger maxDepth) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidfetchNextEntryPoints(OExecutionStream toFetch, OCommandContext ctx, List<OResult> entryPoints, Set<ORID> traversed) protected abstract voidfetchNextResults(OCommandContext ctx, List<OResult> results, List<OResult> entryPoints, Set<ORID> traversed) toString()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, wait, wait, waitMethods inherited from interface com.orientechnologies.orient.core.sql.executor.OExecutionStepInternal
canBeCached, copy, deserialize, getName, getSubExecutionPlans, getSubSteps, getTargetNode, getType, prettyPrint, serialize, serializeToResult, toResult, toResult
-
Field Details
-
whileClause
-
projections
-
maxDepth
-
-
Constructor Details
-
AbstractTraverseStep
public AbstractTraverseStep(List<OTraverseProjectionItem> projections, OWhereClause whileClause, OInteger maxDepth)
-
-
Method Details
-
internalStart
- Specified by:
internalStartin classAbstractExecutionStep- Throws:
OTimeoutException
-
fetchNextEntryPoints
protected abstract void fetchNextEntryPoints(OExecutionStream toFetch, OCommandContext ctx, List<OResult> entryPoints, Set<ORID> traversed) -
fetchNextResults
-
toString
-