Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1074

Add find operations for DatasetGraph for the union graph.

    XMLWordPrintableJSON

Details

    • Brainstorming
    • Status: Closed
    • Minor
    • Resolution: Done
    • Jena 3.0.0
    • Jena 3.4.0
    • ARQ
    • None

    Description

      (This follows on from JENA-1064)

      DatasetGraphBaseFind now has a find operations for the union graph added to make implementation easier.

      Should operation(s) be exposed in the core interface DatasetGraph (the application contract)? If so, how?

      The operations to consider include:

      • findInUnionGraph (Iterator<Triple>)
      • findQuadsInUnionGraph (Iterator<Quad>)
      • findInDftGraph (Iterator<Quad> - inconsistent naming with above)

      At the moment findInDftGraph returns quads and documents DatasetGraph.getDefaultGraph().find() as being the way to get triples. This suggests a different style where DatasetGraph has:

      • DatasetGraph.getUnionGraph()
      • DatasetGraphFind.findInUnionGraph (Iterator<Quad>)

      Attachments

        Issue Links

          Activity

            People

              andy Andy Seaborne
              andy Andy Seaborne
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: