Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Done
-
Jena 3.14.0
-
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
- links to