public class SeRQLQueryRenderer extends Object implements QueryRenderer
Implementation of the QueryRenderer
interface which renders
ParsedQuery
objects as strings in SeRQL syntax
Modifier and Type | Field and Description |
---|---|
static boolean |
SERQL_ONE_X_COMPATIBILITY_MODE |
Constructor and Description |
---|
SeRQLQueryRenderer() |
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 static final boolean SERQL_ONE_X_COMPATIBILITY_MODE
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-2019 Eclipse Foundation. All Rights Reserved.