[ https://issues.apache.org/jira/browse/TINKERPOP-1153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15151282#comment-15151282 ]
ASF GitHub Bot commented on TINKERPOP-1153: ------------------------------------------- Github user okram commented on the pull request: https://github.com/apache/incubator-tinkerpop/pull/230#issuecomment-185429165 I decided to write the docs. Docs written. Note that they don't build. This has nothing to do with this PR. It has to do with the recent fix to the `manifest` for Neo4j plugin. Neo4j pulls in Scala 2.11.x while Spark uses 2.10.x. The doc builder (having all plugins installed at once) makes it so Spark uses Scala 2.11.x and there are "NoMethodDefinedExceptions." This effects `tp31` branch, but not `master/` as master will (in a later ticket) bump to Spark 1.6.0 which uses Scala 2.11.x. > Add ByModulating and TimesModulating interfaces. > ------------------------------------------------ > > Key: TINKERPOP-1153 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1153 > Project: TinkerPop > Issue Type: Improvement > Components: process > Affects Versions: 3.1.2-incubating > Reporter: Marko A. Rodriguez > Fix For: 3.2.0-incubating > > > Currently {{GraphTraversal}} is responsible for the logic for {{by()}}- and > {{times()}}-modulators. For instance, if you do: > {code} > ...by('name') > {code} > It is {{GraphTraversal}} that will compile that to > {{__.values('name').limit(1)}}. This should not be the logic of > {{GraphTraversal}}, but instead, logic within the step being modulated. Thus, > I propose: > {code} > public interface ByModulating { > public void add(String string) throws UnsupportedOperationException > public void add(Traversal traversal) throws UnsupportedOperationException > public void add(T t) throws UnsupportedOperationException > } > {code} > Likewise for {{TimesModulating}} ... and any other modulators down the road. -- This message was sent by Atlassian JIRA (v6.3.4#6332)