public interface UESQuerySQLBuilder
| Modifier and Type | Method and Description |
|---|---|
void |
addAttributeMapping(java.lang.String attributeName,
/** Specifies mapping of UES query attribute to SQL.
|
void |
addAttributeMappingCustom(java.lang.String attributeName,
Specifies mapping of UES query attribute to SQL.
|
java.util.LinkedHashMap<java.lang.String,java.lang.Object> |
getSqlParameters()
Return the list of parameters prepared to be bound to the generated SQL.
|
java.lang.String |
getSqlString()
Return the generated SQL string.
|
void |
process()
Iterates over UES query AST tree and generates the SQL.
|
attributeName - name of the UES query attribute (as specified in the
DTO, with @UESQueryAttribute annotation)sqlPart - string directly placed in the generated SQLvalueTransformer - object converting value of an attribute specified
in the UES query to the value for SQL.additionalSqlParts - attributeName - name of the UES query attribute (as specified in the
DTO, with @UESQueryAttribute annotation)mappingStrategy - object used for generating SQL in "where" and
"order by" SQL clauses