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

Streaming support for SPARQL Update queries and streaming support for quads in INSERT DATA / DELETE DATA queries

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Jena 2.11.0
    • Component/s: ARQ
    • Labels:
      None

      Description

      The SPARQL Update parser currently parses all update queries into a single UpdateRequest object which holds them in memory. Instead the parser should insert queries into something like a Sink<Update>. Additionally it should put the quads from INSERT_DATA and DELETE_DATA into a Sink<Quad> instead of an ArrayList.

      This should allow the creation of a streaming update parser, which could be combined with JENA-309 to have full streaming into an underlying transactional store and the ability to handle arbitrarily large INSERT_DATA or DELETE_DATA queries (to the limits of the transaction system).

        Attachments

        1. config-null.ttl
          0.9 kB
          Stephen Allen
        2. JENA-330_20121016.patch
          126 kB
          Stephen Allen
        3. TestLargeUpdates.java
          2 kB
          Stephen Allen

          Issue Links

            Activity

              People

              • Assignee:
                sallen Stephen Allen
                Reporter:
                sallen Stephen Allen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: