public class GrailsSqlProjectionFunction extends AbstractSqmSelfRenderingFunctionDescriptor
Renders the SQL of a SqlProjection or a SqlGroupProjection as is. The arguments are the SQL as a
literal and, if the SQL contains {alias}, a column of the queried entity whose table alias replaces it.
The function takes the type the criteria query gives it, as Hibernate's own sql function does.
| Modifiers | Name | Description |
|---|---|---|
static java.lang.String |
NAME |
| Constructor and description |
|---|
GrailsSqlProjectionFunction() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public java.lang.String |
getArgumentListSignature() |
|
public void |
render(SqlAppender sqlAppender, java.util.List<? extends SqlAstNode> arguments, ReturnableType<?> returnType, SqlAstTranslator<?> walker) |