You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Marko A. Rodriguez (JIRA)" <ji...@apache.org> on 2015/09/23 06:28:04 UTC
[jira] [Created] (TINKERPOP3-851) GroupCountStep needs a by() for
the count.
Marko A. Rodriguez created TINKERPOP3-851:
---------------------------------------------
Summary: GroupCountStep needs a by() for the count.
Key: TINKERPOP3-851
URL: https://issues.apache.org/jira/browse/TINKERPOP3-851
Project: TinkerPop 3
Issue Type: New Feature
Components: process
Reporter: Marko A. Rodriguez
Assignee: Marko A. Rodriguez
Fix For: 3.1.0-incubating
Currently {{groupCount()}} takes one {{by}}-modulator. That {{by()}} is the key-projection. In TP2, we had a second "by modulator" that was the number to "incr." In TP3, the number to incr is currently {{traverser.bulk()}}. We should keep this default, but we should support a user defined second {{by()}} modulator.
{code}
g.V.out.groupCount.by('name').by(sack())
g.V.out.groupCount.by('name').by('age')
{code}
This is necessary for 3.1.0 as it is necessary for the "signal processing" features available in the new sack-work.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)