Class BreadthFirstTraverseStep
java.lang.Object
com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
com.orientechnologies.orient.core.sql.executor.AbstractTraverseStep
com.orientechnologies.orient.core.sql.executor.BreadthFirstTraverseStep
- All Implemented Interfaces:
OExecutionStepInternal
Created by luigidellaquila on 26/10/16.
-
Field Summary
Fields inherited from class com.orientechnologies.orient.core.sql.executor.AbstractTraverseStep
maxDepth, projections, whileClauseFields inherited from class com.orientechnologies.orient.core.sql.executor.AbstractExecutionStep
prev -
Constructor Summary
ConstructorsConstructorDescriptionBreadthFirstTraverseStep(List<OTraverseProjectionItem> projections, OWhereClause whileClause, OInteger maxDepth) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfetchNextEntryPoints(OExecutionStream nextN, OCommandContext ctx, List<OResult> entryPoints, Set<ORID> traversed) protected voidfetchNextResults(OCommandContext ctx, List<OResult> results, List<OResult> entryPoints, Set<ORID> traversed) prettyPrint(OPrintContext ctx) Methods inherited from class com.orientechnologies.orient.core.sql.executor.AbstractTraverseStep
internalStart, toStringMethods 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, serialize, serializeToResult, toResult, toResult
-
Constructor Details
-
BreadthFirstTraverseStep
public BreadthFirstTraverseStep(List<OTraverseProjectionItem> projections, OWhereClause whileClause, OInteger maxDepth)
-
-
Method Details
-
fetchNextEntryPoints
protected void fetchNextEntryPoints(OExecutionStream nextN, OCommandContext ctx, List<OResult> entryPoints, Set<ORID> traversed) - Specified by:
fetchNextEntryPointsin classAbstractTraverseStep
-
fetchNextResults
protected void fetchNextResults(OCommandContext ctx, List<OResult> results, List<OResult> entryPoints, Set<ORID> traversed) - Specified by:
fetchNextResultsin classAbstractTraverseStep
-
prettyPrint
-