org.apache.tinkerpop.gremlin.process.traversal

## Interface TraverserGenerator

-     public interface TraverserGenerator

  A TraverserGenerator will generate traversers for a particular `Traversal`. In essence, wrap objects in a `Traverser`. Typically the `TraverserGenerator` chosen is determined by the `TraverserRequirement` of the `Traversal`. Simple requirements, simpler traversers. Complex requirements, complex traversers.
  Author:
    Marko A. Rodriguez (http://markorodriguez.com)

- - ### Method Summary

    All Methods Instance Methods Abstract Methods Default Methods
    Modifier and Type | Method and Description
    --- | ---
    `<S> Traverser.Admin<S>` | `generate(S start, Step<S,?> startStep, long initialBulk)`
    `default <S> Iterator<Traverser.Admin<S>>` | `generateIterator(Iterator<S> starts, Step<S,?> startStep, long initialBulk)`
    `Set<org.apache.tinkerpop.gremlin.process.traversal.traverser.TraverserRequirement>` | `getProvidedRequirements()`

- - ### Method Detail

    - #### getProvidedRequirements

          Set<org.apache.tinkerpop.gremlin.process.traversal.traverser.TraverserRequirement> getProvidedRequirements()

    - #### generate

          <S> Traverser.Admin<S> generate(S start,
                                          Step<S,?> startStep,
                                          long initialBulk)

    - #### generateIterator

          default <S> Iterator<Traverser.Admin<S>> generateIterator(Iterator<S> starts,
                                                                    Step<S,?> startStep,
                                                                    long initialBulk)

Copyright © 2013–2019 Apache Software Foundation. All rights reserved.