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/04/24 22:49:39 UTC
[jira] [Closed] (TINKERPOP3-626) Better interface for interval
constraints
[ https://issues.apache.org/jira/browse/TINKERPOP3-626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marko A. Rodriguez closed TINKERPOP3-626.
-----------------------------------------
Resolution: Fixed
This is complete. Have a note to do {{order.by()}} with this model.
> 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)