| Package | Description | 
|---|---|
| org.apache.tinkerpop.gremlin.process.traversal | |
| org.apache.tinkerpop.gremlin.process.traversal.dsl.graph | 
| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | Traverser.Admin<T>The methods in System.Traverser are useful to underlying Step and Traversal implementations. | 
| Modifier and Type | Method and Description | 
|---|---|
| Traverser<T> | Traverser. clone()Traverser cloning is important when splitting a traverser at a bifurcation point in a traversal. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Step. addStart(Traverser<S> start)Add a single  Traverserto the step. | 
| default void | Traversal.Admin. addStart(Traverser<S> start)Add a single  Traverserobject to the head of the traversal. | 
| default int | Traverser. compareTo(Traverser<T> other)If the underlying object of the traverser is comparable, compare it with the other traverser. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Step. addStarts(Iterator<Traverser<S>> starts)Add a iterator of  Traverserobjects of type S to the step. | 
| default void | Traversal.Admin. addStarts(Iterator<Traverser<S>> starts)Add an iterator of  Traverserobjects to the head/start of the traversal. | 
| Modifier and Type | Method and Description | 
|---|---|
| default <M,E2> GraphTraversal<S,E2> | GraphTraversal. branch(Function<Traverser<E>,M> function) | 
| default GraphTraversal<S,E> | GraphTraversal. emit(Predicate<Traverser<E>> emitPredicate) | 
| default GraphTraversal<S,E> | GraphTraversal. filter(Predicate<Traverser<E>> predicate) | 
| default <E2> GraphTraversal<S,E2> | GraphTraversal. flatMap(Function<Traverser<E>,Iterator<E2>> function) | 
| default <E2> GraphTraversal<S,E2> | GraphTraversal. map(Function<Traverser<E>,E2> function)Map a traverser referencing an object of type  Eto an object of typeE2. | 
| default GraphTraversal<S,E> | GraphTraversal. sideEffect(Consumer<Traverser<E>> consumer) | 
| default GraphTraversal<S,E> | GraphTraversal. until(Predicate<Traverser<E>> untilPredicate) | 
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.