Marko A. Rodriguez created TINKERPOP-1243:
---------------------------------------------

             Summary: 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


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