Class PrefixIndex
java.lang.Object
org.eclipse.rdf4j.queryrender.sparql.PrefixIndex
Small utility to compact IRIs using a prefix map. Maintains the insertion order of prefixes and returns the first
namespace that matches the given IRI.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongestMatch(String iri) Return the longest matching namespace for the given IRI, or null if none match.
-
Constructor Details
-
PrefixIndex
-
-
Method Details
-
longestMatch
Return the longest matching namespace for the given IRI, or null if none match.
-