[ 
https://issues.apache.org/jira/browse/TINKERPOP3-982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15025533#comment-15025533
 ] 

Marko A. Rodriguez commented on TINKERPOP3-982:
-----------------------------------------------

[~dkuppitz] Check out this commit: 
https://github.com/apache/incubator-tinkerpop/commit/8771ee5f58c7ec133cfb50987fe91b862fb9ad14

Lots of stuff there. {{SelectColumnStep}} gone. 
{{order(local).by(values,decr)}}. {{GraphTraversal.by(Column,Comparator)}}. 
WDYT? 

Note that you can't use {{value}} cause that is {{T.value}} which is a 
{{Function<Element,Object>}}.

> 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
>             Fix For: 3.2.0-incubating
>
>
> 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)

Reply via email to