You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Marko A. Rodriguez (JIRA)" <ji...@apache.org> on 2016/09/23 18:11:21 UTC

[jira] [Updated] (TINKERPOP-1462) Make it so you can explain() only certain strategies.

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

Marko A. Rodriguez updated TINKERPOP-1462:
------------------------------------------
    Affects Version/s: 3.2.2
          Component/s: process

> 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
>
> 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)