Matt Frantz created TINKERPOP3-652:
--------------------------------------
Summary: select from Map should be explicit
Key: TINKERPOP3-652
URL: https://issues.apache.org/jira/browse/TINKERPOP3-652
Project: TinkerPop 3
Issue Type: Improvement
Components: process
Reporter: Matt Frantz
Currently, {{select}} looks at the value in the traverser, and if it is a
{{Map}}, it treats its arguments as keys, and extracts values from the {{Map}}.
Otherwise, it treats its arguments as step labels and extracts values from the
{{Path}}. It would seem less confusing to make this choice explicit.
The two modes of {{select}} feel a bit like the two modes of {{range}}
distinguished by the {{Scope}} parameter. Does {{select}} need a {{local}}
option to make it expect a {{Map}}?
Or would {{selectKeys}} be more consistent with {{hasKeys}}?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)