Class TraversalMatrix<S,E>
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.process.traversal.util.TraversalMatrix<S,E>
-
public final class TraversalMatrix<S,E> extends Object
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 isTraversalVertexProgram
onGraphComputer
.- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
-
-
Constructor Summary
Constructors Constructor Description TraversalMatrix(Traversal.Admin<S,E> traversal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <A,B,C extends Step<A,B>>
CgetStepById(String stepId)
Traversal.Admin<S,E>
getTraversal()
-
-
-
Constructor Detail
-
TraversalMatrix
public TraversalMatrix(Traversal.Admin<S,E> traversal)
-
-
Method Detail
-
getTraversal
public Traversal.Admin<S,E> getTraversal()
-
-