tinkerpop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Kuppitz (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (TINKERPOP-1084) Branch option tokens should be allowed to be traversals.
Date Mon, 10 Jun 2019 15:14:01 GMT

     [ https://issues.apache.org/jira/browse/TINKERPOP-1084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Kuppitz reassigned TINKERPOP-1084:
-----------------------------------------

    Assignee: Daniel Kuppitz

> Branch option tokens should be allowed to be traversals.
> --------------------------------------------------------
>
>                 Key: TINKERPOP-1084
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1084
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.1.0-incubating
>            Reporter: Marko A. Rodriguez
>            Assignee: Daniel Kuppitz
>            Priority: Major
>
> It would be cool if we could do this:
> {code}
> g.V().hasLabel("person").
>   choose(values("age")).
>     option(is(lt(28)), constant("low")).
>     option(is(between(29,30)), constant("medium"))
>     option(none,constant("high"))
> {code}
> That is, "option tokens" can be traversals and if they are evaluate the traversal as
a predicate.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message