Class ImmutableExplanation
java.lang.Object
org.apache.tinkerpop.gremlin.process.traversal.util.AbstractExplanation
org.apache.tinkerpop.gremlin.process.traversal.util.TraversalExplanation
org.apache.tinkerpop.gremlin.process.traversal.util.ImmutableExplanation
- All Implemented Interfaces:
Serializable
A data-only representation of a
TraversalExplanation which doesn't re-calculate the "explanation" from
the raw traversal data each time the explanation is displayed.- Author:
- Stephen Mallette (http://stephen.genoprime.com)
- See Also:
-
Field Summary
Fields inherited from class org.apache.tinkerpop.gremlin.process.traversal.util.TraversalExplanation
strategyTraversals, traversal -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFirst string is the traversal strategy, the second is the category and the third is the traversal representation at that point.Traversal.Admin<?,?> Get the originalTraversalused to create this explanation.protected StringList<org.javatuples.Pair<TraversalStrategy,Traversal.Admin<?, ?>>> Get the list ofTraversalStrategyapplications.Methods inherited from class org.apache.tinkerpop.gremlin.process.traversal.util.AbstractExplanation
prettyPrint, prettyPrint, spacing, toString
-
Constructor Details
-
ImmutableExplanation
-
-
Method Details
-
getStrategyTraversals
Description copied from class:TraversalExplanationGet the list ofTraversalStrategyapplications. For strategy, the resultant mutatedTraversalis provided.- Overrides:
getStrategyTraversalsin classTraversalExplanation- Returns:
- the list of strategy/traversal pairs
-
getOriginalTraversal
Description copied from class:TraversalExplanationGet the originalTraversalused to create this explanation.- Overrides:
getOriginalTraversalin classTraversalExplanation- Returns:
- the original traversal
-
asImmutable
- Overrides:
asImmutablein classTraversalExplanation
-
getStrategyTraversalsAsString
- Overrides:
getStrategyTraversalsAsStringin classTraversalExplanation
-
getTraversalStepsAsString
- Overrides:
getTraversalStepsAsStringin classAbstractExplanation
-
getOriginalTraversalAsString
- Overrides:
getOriginalTraversalAsStringin classTraversalExplanation
-
getIntermediates
Description copied from class:AbstractExplanationFirst string is the traversal strategy, the second is the category and the third is the traversal representation at that point.- Overrides:
getIntermediatesin classTraversalExplanation
-