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

             Summary: PropertyMapStep should allow by modulation.
                 Key: TINKERPOP-1244
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1244
             Project: TinkerPop
          Issue Type: Improvement
          Components: process
    Affects Versions: 3.1.1-incubating
            Reporter: Marko A. Rodriguez


We have {{ProjectStep}} which allows to project traversals off the current 
object. {{PropertyMapStep}} should extend {{ProjectStep}} and then it will have 
{{by()}}-modulation capabilities. Why is this good?

{code}
// for each property, how many meta properties does it have?
g.V().propertyMap().by(properties().count())
{code}

A minor thing that gives us a bit more expressivity and allows {{ProjectStep}} 
to take its rightful place as a more fundamental step like {{SelectStep}}.




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

Reply via email to