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.ParsedOperation
org.openrdf.query.MalformedQueryException
public 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.QueryParser
ASTContainer
with the
ParsedQuery
interface.org.openrdf.query.MalformedQueryException
public org.openrdf.query.parser.ParsedUpdate parseUpdate(String updateStr, String baseURI) throws org.openrdf.query.MalformedQueryException
parseUpdate
in interface org.openrdf.query.parser.QueryParser
org.openrdf.query.MalformedQueryException
public ASTContainer parseUpdate2(String updateStr, String baseURI) throws org.openrdf.query.MalformedQueryException
org.openrdf.query.MalformedQueryException
public ASTContainer parseQuery2(String queryStr, String baseURI) throws org.openrdf.query.MalformedQueryException
queryStr
- The query.baseURI
- The base URI.org.openrdf.query.MalformedQueryException
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.