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, getStarts, getTraversal, hashCode, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversal
finalize, getClass, notify, notifyAll, wait, wait, wait
forEachRemaining, remove
public 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>
NoSuchElementException
public String toString()
toString
in class AbstractStep<ComputerResult,S>
public Set<TraverserRequirement> getRequirements()
Step
TraverserRequirement
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()
Step
Step.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–2022 Apache Software Foundation. All rights reserved.