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

Updates to PrefixMap

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • Jena 3.14.0
    • Jena 3.15.0
    • RIOT
    • None

    Description

      This ticket is for maintenance work on PrefixMap, and how storage of prefix maps works in DBOE-based RDF storage.

      It replaces use of IRI in the PrefixMap and ParserProfile interfaces.

      Every retrieval use immediately does .toString() to get URI so base the interface using on Strings, not IRIs, makes more sense. It also localizes the use of class IRI.

      This prepares for the possible future of switching from jena-iri to a custom IRI parser/validator/resolver. jena-iri (IRI) is much more general but is a maintenance burden - it's too complicated.

      ParserProfile.makeIRI - becomes deprecated.

      oaj.riot.system.PrefixMap is the general interface. oaj.dboe.storage.prefixes.PrefixMapI can now inherit from PrefixMap. Storage and usage is better separated.

      It remains to add a point of indirection between PrefixMap and DBOE; it adds extends Iterable<PrefixEntry> (replacing PrefixMap with PrefixMapI would be a version disruption).

      Clear-up and renaming.

      The output optimizations for Turtle family writers is still in place.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h