Class SPARQLParser
java.lang.Object
org.eclipse.rdf4j.query.parser.sparql.SPARQLParser
- All Implemented Interfaces:
QueryParser
-
Constructor Summary
ConstructorDescriptionCreate a new SPARQLParser without any default prefixes.SPARQLParser
(Set<Namespace> customPrefixes) Create a new SPARQLParser. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
parseQuery
(String queryStr, String baseURI) parseUpdate
(String updateStr, String baseURI)
-
Constructor Details
-
SPARQLParser
-
SPARQLParser
public SPARQLParser()Create a new SPARQLParser without any default prefixes.
-
-
Method Details
-
parseUpdate
- Specified by:
parseUpdate
in interfaceQueryParser
- Throws:
MalformedQueryException
-
parseQuery
- Specified by:
parseQuery
in interfaceQueryParser
- Throws:
MalformedQueryException
-
main
- Throws:
IOException
-