public class SPARQLQueryRenderer extends Object implements QueryRenderer
Implementation of the QueryRenderer
interface which renders queries into the SPARQL syntax.
Constructor and Description |
---|
SPARQLQueryRenderer() |
Modifier and Type | Method and Description |
---|---|
QueryLanguage |
getLanguage()
Return the language this QueryRenderer will render queries in.
|
String |
render(ParsedQuery theQuery)
Render the query object to a string in the language supported by this renderer
|
public QueryLanguage getLanguage()
QueryRenderer
getLanguage
in interface QueryRenderer
public String render(ParsedQuery theQuery) throws Exception
QueryRenderer
render
in interface QueryRenderer
theQuery
- the query to renderException
- if there is an error while renderingCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.