public class Bigdata2ASTSPARQLParser extends Object implements org.openrdf.query.parser.QueryParser
SPARQLParser class which extracts
additional information required by bigdata and associates it with the
ParsedQuery or ParsedUpdate.| Constructor and Description |
|---|
Bigdata2ASTSPARQLParser() |
| Modifier and Type | Method and Description |
|---|---|
org.openrdf.query.parser.ParsedOperation |
parseOperation(String operation,
String baseURI)
Parse either a SPARQL QUERY or a SPARQL UPDATE request.
|
BigdataParsedQuery |
parseQuery(String queryStr,
String baseURI) |
ASTContainer |
parseQuery2(String queryStr,
String baseURI)
Parse a SPARQL query.
|
org.openrdf.query.parser.ParsedUpdate |
parseUpdate(String updateStr,
String baseURI) |
ASTContainer |
parseUpdate2(String updateStr,
String baseURI)
Parse a SPARQL 1.1 UPDATE request.
|
public org.openrdf.query.parser.ParsedOperation parseOperation(String operation, String baseURI) throws org.openrdf.query.MalformedQueryException
operation - The request.baseURI - The base URI.ParsedOperationorg.openrdf.query.MalformedQueryExceptionpublic BigdataParsedQuery parseQuery(String queryStr, String baseURI) throws org.openrdf.query.MalformedQueryException
The use of the alternative parseQuery2(String, String) is
strongly encouraged.
parseQuery in interface org.openrdf.query.parser.QueryParserASTContainer with the
ParsedQuery interface.org.openrdf.query.MalformedQueryExceptionpublic org.openrdf.query.parser.ParsedUpdate parseUpdate(String updateStr, String baseURI) throws org.openrdf.query.MalformedQueryException
parseUpdate in interface org.openrdf.query.parser.QueryParserorg.openrdf.query.MalformedQueryExceptionpublic ASTContainer parseUpdate2(String updateStr, String baseURI) throws org.openrdf.query.MalformedQueryException
org.openrdf.query.MalformedQueryExceptionpublic ASTContainer parseQuery2(String queryStr, String baseURI) throws org.openrdf.query.MalformedQueryException
queryStr - The query.baseURI - The base URI.org.openrdf.query.MalformedQueryExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.