public abstract class FlatMapStep<S,E> extends AbstractStep<S,E>
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
Constructor and Description |
---|
FlatMapStep(Traversal.Admin traversal) |
Modifier and Type | Method and Description |
---|---|
protected void |
closeIterator() |
protected abstract Iterator<E> |
flatMap(Traverser.Admin<S> traverser) |
protected Traverser.Admin<E> |
processNextStart() |
void |
reset()
Reset the state of the step such that it has no incoming starts.
|
addLabel, addStart, addStarts, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getTraversal, hashCode, hasNext, next, removeLabel, setId, setNextStep, setPreviousStep, setTraversal, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
equals, getRequirements
forEachRemaining, remove
public FlatMapStep(Traversal.Admin traversal)
protected Traverser.Admin<E> processNextStart()
processNextStart
in class AbstractStep<S,E>
protected abstract Iterator<E> flatMap(Traverser.Admin<S> traverser)
public void reset()
Step
protected void closeIterator()
Copyright © 2013–2017 Apache Software Foundation. All rights reserved.