[
https://issues.apache.org/jira/browse/JENA-882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14327347#comment-14327347
]
Magnus Knuth commented on JENA-882:
-----------------------------------
Alright, thanks for the clarification.
I wanted to use RDF for serialization (RDFOutput) and de-serialization
(RDFInput) of a SPARQL Result Set. That works fine for unordered sets. Couldn't
the index field be serialized optionally?
Suggestion:
public Resource asRDF(Model model, ResultSet resultSet) { return asRDF(model,
resultSet, false); }
public Resource asRDF(Model model, ResultSet resultSet, boolean sorted) { ... }
> Index support for ordered ResultSet
> -----------------------------------
>
> Key: JENA-882
> URL: https://issues.apache.org/jira/browse/JENA-882
> Project: Apache Jena
> Issue Type: Improvement
> Components: ARQ
> Affects Versions: Jena 2.12.1
> Reporter: Magnus Knuth
> Priority: Minor
>
> index statements are never created due to unreachable code:
> https://github.com/apache/jena/blob/95b1c7c20b0255715434b820b7c37c667d58a68f/jena-arq/src/main/java/com/hp/hpl/jena/sparql/resultset/RDFOutput.java#L85
> Is that because of any objections?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)