Constructor and Description |
---|
QueryParser() |
Modifier and Type | Method and Description |
---|---|
static QueryParser |
getInstance()
Returns an instance of this class.
|
Query |
parse(String queryString)
Parses a SPARQL query string into a
Query object. |
public static QueryParser getInstance()
public Query parse(String queryString) throws ParseException
Query
object.queryString
- SPARQL query stringQuery
object corresponding to the specified query stringParseException
Copyright © 2015–2022 The Apache Software Foundation. All rights reserved.