[
https://issues.apache.org/jira/browse/TINKERPOP3-982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15016672#comment-15016672
]
Daniel Kuppitz commented on TINKERPOP3-982:
-------------------------------------------
What about:
{code}
g.V().blah().groupCount().order(local).by(value, decr) // "value" is a token,
like id, label and key
{code}
Cool? It probably even works already.
> valuesDecr, valuesIncr, keysDecr, and valuesDecr is lame.
> ---------------------------------------------------------
>
> Key: TINKERPOP3-982
> URL: https://issues.apache.org/jira/browse/TINKERPOP3-982
> Project: TinkerPop 3
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.0.1-incubating, 3.1.0-incubating
> Reporter: Marko A. Rodriguez
> Assignee: Marko A. Rodriguez
>
> I'm always doing this.
> {code}
> g.V().blah().groupCount().order(local).by(valuesDecr)
> {code}
> Why does this suck? Cause we already have {{decr}}. I think we should treat
> this like {{sample}}-step.
> {code}
> g.V().blah().groupCount().order(local).by(select(values),decr)
> {code}
> ......or something. Above is bad cause it would actually be
> {{by(select(values).unfold(),decr)}} which is even suckier................
> [~dkuppitz] help a poor dying man.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)