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
Modifier and TypeMethodDescriptionReturn the language this QueryRenderer will render queries in.render
(ParsedQuery theQuery) Render the query object to a string in the language supported by this renderer
-
Method Details
-
getLanguage
QueryLanguage getLanguage()Return the language this QueryRenderer will render queries in.- Returns:
- the query language
-
render
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
-