org.eclipse.rdf4j.queryrender

## Interface QueryRenderer

- All Known Implementing Classes:
    SeRQLQueryRenderer, 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 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

- - ### 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

Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.