java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.step.util.AbstractStep<S,E>
org.apache.tinkerpop.gremlin.process.traversal.step.map.FlatMapStep<S,E>
All Implemented Interfaces:
Serializable, Cloneable, Iterator<Traverser.Admin<E>>, Step<S,E>
Direct Known Subclasses:
AbstractMergeElementStepPlaceholder, CoalesceStep, EdgeVertexStep, LabelsStep, LambdaFlatMapStep, MergeElementStep, ProfileTest.MockStep, PropertiesStep, TraversalFlatMapStep, UnfoldStep, VertexStep, VertexStepPlaceholder

public abstract class FlatMapStep<S,E> extends AbstractStep<S,E>
Author:
Marko A. Rodriguez (http://markorodriguez.com)
See Also:
  • Constructor Details

  • Method Details

    • processNextStart

      protected Traverser.Admin<E> processNextStart()
      Specified by:
      processNextStart in class AbstractStep<S,E>
    • flatMap

      protected abstract Iterator<E> flatMap(Traverser.Admin<S> traverser)
    • reset

      public void reset()
      Description copied from interface: Step
      Reset the state of the step such that it has no incoming starts. Internal states are to be reset, but any sideEffect data structures are not to be recreated.
      Specified by:
      reset in interface Step<S,E>
      Overrides:
      reset in class AbstractStep<S,E>
    • closeIterator

      protected void closeIterator()