public final class ComputerResultStep<S> extends AbstractStep<ComputerResult,S>
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild| Constructor and Description |
|---|
ComputerResultStep(Traversal.Admin traversal) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<Traverser.Admin<S>> |
attach(Iterator<Traverser.Admin<S>> iterator,
Graph graph) |
ComputerResultStep<S> |
clone()
Cloning is used to duplicate steps for the purpose of traversal optimization and OLTP replication.
|
Set<TraverserRequirement> |
getRequirements()
Provide the necessary
TraverserRequirement that must be met by the traverser in order for the step to
function properly. |
protected Traverser.Admin<S> |
processNextStart() |
String |
toString() |
addLabel, addStart, addStarts, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hashCode, hasNext, next, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversalfinalize, getClass, notify, notifyAll, wait, wait, waitforEachRemaining, removepublic ComputerResultStep(Traversal.Admin traversal)
public Iterator<Traverser.Admin<S>> attach(Iterator<Traverser.Admin<S>> iterator, Graph graph)
protected Traverser.Admin<S> processNextStart() throws NoSuchElementException
processNextStart in class AbstractStep<ComputerResult,S>NoSuchElementExceptionpublic String toString()
toString in class AbstractStep<ComputerResult,S>public Set<TraverserRequirement> getRequirements()
StepTraverserRequirement that must be met by the traverser in order for the step to
function properly. The provided default implements returns an empty set.public ComputerResultStep<S> clone()
StepStep.reset() is called. Moreover, the previous and next steps should be set to EmptyStep.clone in interface Step<ComputerResult,S>clone in class AbstractStep<ComputerResult,S>Copyright © 2013–2020 Apache Software Foundation. All rights reserved.