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

[jira] [Commented] (JENA-1064) Add DatasetGraphBaseFind.findInUnionGraph

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

A. Soroka commented on JENA-1064:
---------------------------------

[~andy.seaborne], might we not be able to do this with a {{default}} method on {{DatasetGraph}}? E.g.

final Set<Triple> seen = new HashSet<>();
return find(ANY, s, p, o).filter(q -> !q.isDefaultGraph() && seen.add(q.asTriple())).iterator();





> Add DatasetGraphBaseFind.findInUnionGraph
> -----------------------------------------
>
>                 Key: JENA-1064
>                 URL: https://issues.apache.org/jira/browse/JENA-1064
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: ARQ
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>
> Add operation {{DatasetGraphBaseFind.findInUnionGraph}} so that implementations can be told explicitly when a union graph access is being done.  This maybe the computed default graph or an explicit name of {{Quad.unionGraph}} i.e. {{<urn:x-arq:UnionGraph>}}. By the time it gets to this level, it is with a graph node name.



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