[
https://issues.apache.org/jira/browse/TINKERPOP3-652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stephen mallette closed TINKERPOP3-652.
---------------------------------------
Resolution: Fixed
Fix Version/s: 3.0.0.GA
> 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
> Assignee: Marko A. Rodriguez
> Fix For: 3.0.0.GA
>
>
> 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)