Class TraversalMatrix<S,E>
java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.util.TraversalMatrix<S,E>
A TraversalMatrix provides random, non-linear access to the steps of a traversal by their step id.
This is useful in situations where traversers becomes detached from their traversal (and step) and later need to be re-attached.
A classic use case is
TraversalVertexProgram on GraphComputer.- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TraversalMatrix
-
-
Method Details
-
getStepById
-
getTraversal
-