incubator-jena-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rupert Westenthaler (Created) (JIRA)" <>
Subject [jira] [Created] (JENA-222) Graph.size() reports '0' for TDB "urn:x-arq:UnionGraph"
Date Tue, 20 Mar 2012 11:51:38 GMT
Graph.size() reports '0' for TDB "urn:x-arq:UnionGraph"

                 Key: JENA-222
             Project: Apache Jena
          Issue Type: Bug
          Components: TDB
         Environment: tdb version 0.8.9 (via Apache Clerezza)
            Reporter: Rupert Westenthaler
            Priority: Minor


    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 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:!default.jspa
For more information on JIRA, see:


View raw message