[
https://issues.apache.org/jira/browse/JENA-222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Seaborne resolved JENA-222.
--------------------------------
Resolution: Fixed
Fix Version/s: TDB 0.9.1
Assignee: Andy Seaborne
> Graph.size() reports '0' for TDB "urn:x-arq:UnionGraph"
> -------------------------------------------------------
>
> Key: JENA-222
> URL: https://issues.apache.org/jira/browse/JENA-222
> Project: Apache Jena
> Issue Type: Bug
> Components: TDB
> Environment: tdb version 0.8.9 (via Apache Clerezza)
> Reporter: Rupert Westenthaler
> Assignee: Andy Seaborne
> Priority: Minor
> Fix For: TDB 0.9.1
>
>
> using
> Dataset dataset = TDBFactory.createDataset(dir);
> Model model dataset.getNamedModel("urn:x-arq:UnionGraph");
> Graph graph = model.getGraph();
> int size = graph.size();
> size will always report zero regardless of the amount of triples stored in
> the different named models of the dataset.
> I think this is because com.hp.hpl.jena.tdb.store.GraphNamedTDB#countThis()
> would need special treatment in case of "isQuadUnionGraph(graphNode) == true"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira