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()
QueryRenderergetLanguage in interface QueryRendererpublic String render(ParsedQuery theQuery) throws Exception
QueryRendererrender in interface QueryRenderertheQuery - the query to renderException - if there is an error while renderingCopyright © 2015-2022 Eclipse Foundation. All Rights Reserved.