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

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

Github user asfgit closed the pull request at:

    https://github.com/apache/tinkerpop/pull/477


> Given PathRetractionStrategy, PathProcessorStrategy can be extended to 
> support partial where() inlining.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: TINKERPOP-1473
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1473
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.2.2
>            Reporter: Marko A. Rodriguez
>            Assignee: Marko A. Rodriguez
>             Fix For: 3.2.4
>
>
> {{PathProcessorStrategy}} has a big chunk of code commented out in it that 
> says: "todo: need to be able to drop path labels for this to work."
> Given {{PathRetractionStrategy}}, we can now support:
> {code}
> where(as('a').out().as('b')) => select('a').where(out().as('b'))
> {code}
> This is useful for OLAP when you can only process the local star graph and 
> thus, if {{where()}} selects arbitrarily from a path, this rewrite will 
> ensure that the {{where()}} starts at a local star graph and not a "reference 
> element" in the path object.
> Note that {{PathProcessorStrategy}} already has test cases for this too 
> (commented out). Just uncomment stuff and go!



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

Reply via email to