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/10/20 22:16:27 UTC
[jira] [Commented] (TINKERPOP3-762) Allow mid-traversal V() (and
E())
[ https://issues.apache.org/jira/browse/TINKERPOP3-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14965676#comment-14965676 ]
Marko A. Rodriguez commented on TINKERPOP3-762:
-----------------------------------------------
This is in the TINKERPOP3-763 branch.
Open items:
* Do we add {{E()}} support?
* Add more test cases to {{GraphTest}}.
* Add {{Graph Step}} to the documentation -- weird. :)
[~dkuppitz] -- if you want to handle all 3, please do. If you just do the test cases, ping me when you are done and I can do the docs and {{E()}}-support. However, we should decide wether we want {{E()}} and if we do, can you just add it cause you will need to test it.
> Allow mid-traversal V() (and E())
> ---------------------------------
>
> Key: TINKERPOP3-762
> URL: https://issues.apache.org/jira/browse/TINKERPOP3-762
> Project: TinkerPop 3
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.0.1-incubating
> Reporter: Daniel Kuppitz
> Assignee: Marko A. Rodriguez
> Fix For: 3.1.0-incubating
>
>
> We should allow mid-traversal {{V()}} and {{E()}}. It shouldn't be a technical problem, since we always know the traversal source, thus it's just a simple {{flatMap}}. Vendors could then implement mid-traversal global index lookups.
> *Example*:
> {code}
> g.V().hasLabel("company").has("name", "DataStax").in("worksFor").as("dse").
> V().hasLabel("company").has("name", "Aurelius").in("worksFor").as("ae").
> addOutE("dse", "knows", "ae", "since", "02/2015")
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)