Interface TraverserGenerator
-
public interface TraverserGenerator
A TraverserGenerator will generate traversers for a particularTraversal
. In essence, wrap objects in aTraverser
. Typically theTraverserGenerator
chosen is determined by theTraverserRequirement
of theTraversal
. 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 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)
-
-