Class TraversalExplanation

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    ImmutableExplanation

    public class TraversalExplanation
    extends AbstractExplanation
    implements Serializable
    A TraversalExplanation takes a Traversal and, for each registered TraversalStrategy, it creates a mapping reflecting how each strategy alters the traversal. This is useful for understanding how each traversal strategy mutates the traversal. This is useful in debugging and analysis of traversal compilation. The AbstractExplanation.toString() has a pretty-print representation that is useful in the Gremlin Console.
    Author:
    Marko A. Rodriguez (http://markorodriguez.com)
    See Also:
    Serialized Form