public abstract class AbstractTraverseStep extends AbstractExecutionStep
Modifier and Type | Field and Description |
---|---|
protected List<OResult> |
entryPoints |
protected OInteger |
maxDepth |
protected List<OTraverseProjectionItem> |
projections |
protected List<OResult> |
results |
protected Set<ORID> |
traversed |
protected OWhereClause |
whileClause |
ctx, next, prev, profilingEnabled, timedOut
Constructor and Description |
---|
AbstractTraverseStep(List<OTraverseProjectionItem> projections,
OWhereClause whileClause,
OInteger maxDepth,
OCommandContext ctx,
boolean profilingEnabled) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
fetchNextEntryPoints(OCommandContext ctx,
int nRecords) |
protected abstract void |
fetchNextResults(OCommandContext ctx,
int nRecords) |
long |
getCost()
returns the absolute cost (in nanoseconds) of the execution of this step
|
protected boolean |
isFinished() |
OResultSet |
syncPull(OCommandContext ctx,
int nRecords) |
String |
toString() |
close, getContext, getCostFormatted, getNext, getPrev, isProfilingEnabled, sendTimeout, setNext, setPrevious, setProfilingEnabled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
basicDeserialize, basicSerialize, canBeCached, copy, deserialize, getDescription, getIndent, getName, getSubExecutionPlans, getSubSteps, getTargetNode, getType, prettyPrint, reset, serialize
toResult
protected final OWhereClause whileClause
protected final List<OTraverseProjectionItem> projections
protected final OInteger maxDepth
public AbstractTraverseStep(List<OTraverseProjectionItem> projections, OWhereClause whileClause, OInteger maxDepth, OCommandContext ctx, boolean profilingEnabled)
public OResultSet syncPull(OCommandContext ctx, int nRecords) throws OTimeoutException
OTimeoutException
protected abstract void fetchNextEntryPoints(OCommandContext ctx, int nRecords)
protected abstract void fetchNextResults(OCommandContext ctx, int nRecords)
protected boolean isFinished()
public long getCost()
OExecutionStep
Copyright © 2009–2020 OrientDB. All rights reserved.