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

Marko A. Rodriguez commented on TINKERPOP-1243:
-----------------------------------------------

The solution to this problem is found in TINKERPOP-1541. If TINKERPOP-1541 is 
merged/accepted, then we can do this ticket with ease.

> MatchStep should be a FilterStep, not a MapStep
> -----------------------------------------------
>
>                 Key: TINKERPOP-1243
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1243
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.1.1-incubating, 3.2.0-incubating
>            Reporter: Marko A. Rodriguez
>              Labels: breaking
>
> {{MatchStep}} should really be a {{FilterStep}}. It simply filters out all 
> traversers that don't match the patterns. However, given that you typically 
> {{select()}} after {{match()}}, a {{Map<String,Object>}} is generated. The 
> benefit of making it a {{FilterStep}} is that people can use {{match()}} to 
> filter without having to deal with unrolling the {{Map}}. Moreover, it feels 
> more consistent with the language constructs.



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

Reply via email to