tinkerpop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stephen mallette (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (TINKERPOP-1462) Make it so you can explain() only certain strategies.
Date Wed, 07 Aug 2019 15:14:00 GMT

     [ https://issues.apache.org/jira/browse/TINKERPOP-1462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

stephen mallette closed TINKERPOP-1462.
---------------------------------------
    Resolution: Won't Do

I haven't really run into a situation where having this feature would have been especially
helpful. Since this issue is rather old and not yet implemented, I'm just going to close it.

> 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
>          Components: process
>    Affects Versions: 3.2.2
>            Reporter: Marko A. Rodriguez
>            Priority: Major
>
> 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
(v7.6.14#76016)

Mime
View raw message