You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2015/04/10 19:55:12 UTC

[jira] [Updated] (TINKERPOP3-626) Better interface for interval constraints

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

stephen mallette updated TINKERPOP3-626:
----------------------------------------
    Component/s:     (was: structure)
                 process

> Better interface for interval constraints
> -----------------------------------------
>
>                 Key: TINKERPOP3-626
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-626
>             Project: TinkerPop 3
>          Issue Type: Improvement
>          Components: process
>            Reporter: Matthias Broecheler
>            Assignee: Daniel Kuppitz
>            Priority: Minor
>             Fix For: 3.0.0.GA
>
>
> In java, one has to specify an interval constraint as:
> {{has('age',within,ImmutableList.of(20,30))}}
> which is quite ugly compared to the old:
> {{between('age',20,30)}}
> A vararg overload should be provided that constructs the list or a dedicated method should be considered.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)