Package org.eclipse.rdf4j.queryrender
Interface QueryRenderer
-
- All Known Implementing Classes:
SparqlQueryRenderer
,SPARQLQueryRenderer
public interface QueryRenderer
Interface for RDF4J-based query renderers
- Author:
- Michael Grove
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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
-
-
-
Method Detail
-
getLanguage
QueryLanguage getLanguage()
Return the language this QueryRenderer will render queries in.- Returns:
- the query language
-
render
String render(ParsedQuery theQuery) throws Exception
Render the query object to a string in the language supported by this renderer- Parameters:
theQuery
- the query to render- Returns:
- the rendered query
- Throws:
Exception
- if there is an error while rendering
-
-