[ 
https://issues.apache.org/jira/browse/TINKERPOP-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15523255#comment-15523255
 ] 

ASF GitHub Bot commented on TINKERPOP-1456:
-------------------------------------------

Github user okram commented on the issue:

    https://github.com/apache/tinkerpop/pull/434
  
    Added the `ProperyMapStep` propertyTraversal to the `toString()` if it 
exists.
    
    ```
    gremlin> g.V().valueMap().explain()
    ==>Traversal Explanation
    
=================================================================================================================================================================================================================================================================
    Original Traversal                 [GraphStep(vertex,[]), 
PropertyMapStep(value)]
    
    SubgraphStrategy             [D]   [GraphStep(vertex,[]), 
PropertyMapStep([PropertiesStep(property), 
OrStep([[ClassFilterStep(VertexProperty)], 
[TraversalFilterStep([HasStep([~label.eq(name)])])]]), 
TraversalFilterStep([HasStep([~label.eq(name)])])],value)]
    ConnectiveStrategy           [D]   [GraphStep(vertex,[]), 
PropertyMapStep([PropertiesStep(property), 
OrStep([[ClassFilterStep(VertexProperty)], 
[TraversalFilterStep([HasStep([~label.eq(name)])])]]), 
TraversalFilterStep([HasStep([~label.eq(name)])])],value)]
    RangeByIsCountStrategy       [O]   [GraphStep(vertex,[]), 
PropertyMapStep([PropertiesStep(property), 
OrStep([[ClassFilterStep(VertexProperty)], 
[TraversalFilterStep([HasStep([~label.eq(name)])])]]), 
TraversalFilterStep([HasStep([~label.eq(name)])])],value)]
    RepeatUnrollStrategy         [O]   [GraphStep(vertex,[]), 
PropertyMapStep([PropertiesStep(property), 
OrStep([[ClassFilterStep(VertexProperty)], 
[TraversalFilterStep([HasStep([~label.eq(name)])])]]), 
TraversalFilterStep([HasStep([~label.eq(name)])])],value)]
    MatchPredicateStrategy       [O]   [GraphStep(vertex,[]), 
PropertyMapStep([PropertiesStep(property), 
OrStep([[ClassFilterStep(VertexProperty)], 
[TraversalFilterStep([HasStep([~label.eq(name)])])]]), 
TraversalFilterStep([HasStep([~label.eq(name)])])],value)]
    PathRetractionStrategy       [O]   [GraphStep(vertex,[]), 
PropertyMapStep([PropertiesStep(property), 
OrStep([[ClassFilterStep(VertexProperty)], 
[TraversalFilterStep([HasStep([~label.eq(name)])])]]), 
TraversalFilterStep([HasStep([~label.eq(name)])])],value)]
    InlineFilterStrategy         [O]   [GraphStep(vertex,[]), 
PropertyMapStep([PropertiesStep(property), 
OrStep([[ClassFilterStep(VertexProperty)], [HasStep([~label.eq(name)])]]), 
HasStep([~label.eq(name)])],value)]
    FilterRankingStrategy        [O]   [GraphStep(vertex,[]), 
PropertyMapStep([PropertiesStep(property), 
OrStep([[ClassFilterStep(VertexProperty)], [HasStep([~label.eq(name)])]]), 
HasStep([~label.eq(name)])],value)]
    IncidentToAdjacentStrategy   [O]   [GraphStep(vertex,[]), 
PropertyMapStep([PropertiesStep(property), 
OrStep([[ClassFilterStep(VertexProperty)], [HasStep([~label.eq(name)])]]), 
HasStep([~label.eq(name)])],value)]
    AdjacentToIncidentStrategy   [O]   [GraphStep(vertex,[]), 
PropertyMapStep([PropertiesStep(property), 
OrStep([[ClassFilterStep(VertexProperty)], [HasStep([~label.eq(name)])]]), 
HasStep([~label.eq(name)])],value)]
    TinkerGraphStepStrategy      [P]   [TinkerGraphStep(vertex,[]), 
PropertyMapStep([PropertiesStep(property), 
OrStep([[ClassFilterStep(VertexProperty)], [HasStep([~label.eq(name)])]]), 
HasStep([~label.eq(name)])],value)]
    ProfileStrategy              [F]   [TinkerGraphStep(vertex,[]), 
PropertyMapStep([PropertiesStep(property), 
OrStep([[ClassFilterStep(VertexProperty)], [HasStep([~label.eq(name)])]]), 
HasStep([~label.eq(name)])],value)]
    StandardVerificationStrategy [V]   [TinkerGraphStep(vertex,[]), 
PropertyMapStep([PropertiesStep(property), 
OrStep([[ClassFilterStep(VertexProperty)], [HasStep([~label.eq(name)])]]), 
HasStep([~label.eq(name)])],value)]
    
    Final Traversal                    [TinkerGraphStep(vertex,[]), 
PropertyMapStep([PropertiesStep(property), 
OrStep([[ClassFilterStep(VertexProperty)], [HasStep([~label.eq(name)])]]), 
HasStep([~label.eq(name)])],value)]
    ```


> Support SubgraphStrategy.vertexProperties().
> --------------------------------------------
>
>                 Key: TINKERPOP-1456
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1456
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.1.4, 3.2.2
>            Reporter: Marko A. Rodriguez
>
> We currently support:
> {code}
> SubgraphStrategy.build().vertices()
> SubgraphStrategy.build().edges()
> {code}
> We should also support:
> {code}
> SubgraphStrategy.build().vertexProperties()
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to