Package com.arcadedb.query.sql.executor
Class BreadthFirstTraverseStep
- java.lang.Object
-
- com.arcadedb.query.sql.executor.AbstractExecutionStep
-
- com.arcadedb.query.sql.executor.AbstractTraverseStep
-
- com.arcadedb.query.sql.executor.BreadthFirstTraverseStep
-
- All Implemented Interfaces:
ExecutionStep
,ExecutionStepInternal
public class BreadthFirstTraverseStep extends AbstractTraverseStep
Created by luigidellaquila on 26/10/16.
-
-
Field Summary
-
Fields inherited from class com.arcadedb.query.sql.executor.AbstractTraverseStep
entryPoints, maxDepth, projections, results, whileClause
-
Fields inherited from class com.arcadedb.query.sql.executor.AbstractExecutionStep
ctx, next, prev, profilingEnabled, timedOut
-
-
Constructor Summary
Constructors Constructor Description BreadthFirstTraverseStep(List<TraverseProjectionItem> projections, WhereClause whileClause, PInteger maxDepth, CommandContext ctx, boolean profilingEnabled)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
fetchNextEntryPoints(CommandContext ctx, int nRecords)
protected void
fetchNextResults(CommandContext ctx, int nRecords)
String
prettyPrint(int depth, int indent)
-
Methods inherited from class com.arcadedb.query.sql.executor.AbstractTraverseStep
getCost, isFinished, syncPull
-
Methods inherited from class com.arcadedb.query.sql.executor.AbstractExecutionStep
close, getContext, getCostFormatted, getNext, getPrev, isProfilingEnabled, isTimedOut, sendTimeout, setNext, setPrevious, setProfilingEnabled
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.arcadedb.query.sql.executor.ExecutionStep
toResult
-
Methods inherited from interface com.arcadedb.query.sql.executor.ExecutionStepInternal
canBeCached, copy, deserialize, getDescription, getName, getSubExecutionPlans, getSubSteps, getTargetNode, getType, reset, serialize
-
-
-
-
Constructor Detail
-
BreadthFirstTraverseStep
public BreadthFirstTraverseStep(List<TraverseProjectionItem> projections, WhereClause whileClause, PInteger maxDepth, CommandContext ctx, boolean profilingEnabled)
-
-
Method Detail
-
fetchNextEntryPoints
protected void fetchNextEntryPoints(CommandContext ctx, int nRecords)
- Specified by:
fetchNextEntryPoints
in classAbstractTraverseStep
-
fetchNextResults
protected void fetchNextResults(CommandContext ctx, int nRecords)
- Specified by:
fetchNextResults
in classAbstractTraverseStep
-
prettyPrint
public String prettyPrint(int depth, int indent)
-
-