You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2015/12/11 15:24:10 UTC

[jira] [Comment Edited] (JENA-1082) Add to org.apache.jena.rdf.model.ModelCon interface a listLiteralStatements method that accepts ints.

    [ https://issues.apache.org/jira/browse/JENA-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15052825#comment-15052825 ] 

Andy Seaborne edited comment on JENA-1082 at 12/11/15 2:23 PM:
---------------------------------------------------------------

Please do submit a patch or pull request.

I'm interested in why the {{long}} version does not work for you - it might affect others if we add an additional one for int as int to long promotion will not then occur.

Which storage layer are you using?


was (Author: andy.seaborne):
Please do submit patch.

I'm interested in why the {{long}} version does not work for you - it might affect others if we add an additional one for int as int to long promotion will not then occur.

Which storage layer are you using?

> Add to org.apache.jena.rdf.model.ModelCon interface a listLiteralStatements method that accepts ints.
> -----------------------------------------------------------------------------------------------------
>
>                 Key: JENA-1082
>                 URL: https://issues.apache.org/jira/browse/JENA-1082
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: Jena 3.0.0
>            Reporter: Ramiro Pereira de Magalhães
>            Priority: Minor
>
> Add to org.apache.jena.rdf.model.ModelCon interface a {{StmtIterator listLiteralStatements(Resource subject, Property predicate, int object );}} method.
> Implement such method in classes that implement such interface. This method should be able to list literal integer statements, like the other listLiteralStatement methods do to other types.



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