Marko A. Rodriguez created TINKERPOP-1462:
---------------------------------------------
Summary: Make it so you can explain() only certain strategies.
Key: TINKERPOP-1462
URL: https://issues.apache.org/jira/browse/TINKERPOP-1462
Project: TinkerPop
Issue Type: Improvement
Reporter: Marko A. Rodriguez
It would be nice to be able to do this:
{code}
gremlin> g.V().as('a').values('location').as('b').
......1> select('a','b').by('name').by().explain(SubgraphStrategy)
==>Traversal Explanation
==================================================================================================================================================================================================================================================
Original Traversal [GraphStep(vertex,[])@[a],
PropertiesStep([location],value)@[b], SelectStep([a, b],[value(name),
identity])]
SubgraphStrategy [D] [GraphStep(vertex,[])@[a],
PropertiesStep([location],property),
NotStep(![PropertiesStep([endTime],value)]), PropertyValueStep@[b],
SelectStep([a, b],[value(name), identity])]
Final Traversal [TinkerGraphStep(vertex,[])@[a],
PropertiesStep([location],property),
NotStep(![PropertiesStep([endTime],property)]), PropertyValueStep@[b],
SelectStep([a, b],[value(name), identity]), NoOpBarrierStep(2500)]
gremlin>
{code}
In general, {{explain(Class<? extends TraversalStrategy>...)}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)