public static class UserDefinedExpression.Declaration
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
Dialect |
dialect
Represents the specific database dialect.
|
| Constructor and Description |
|---|
Declaration(Dialect dialect) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendExpression(PropertyMetamodel<?> propertyMetamodel)
Append a expression.
|
void |
appendSql(java.lang.String sql)
Appends SQL code to the declaration.
|
void |
cutBackSql(int length)
cutback SQL.
|
public final Dialect dialect
public Declaration(Dialect dialect)
public void appendSql(java.lang.String sql)
sql - the SQL code to be appendedpublic void cutBackSql(int length)
length - the length to cutback the SQL codepublic void appendExpression(PropertyMetamodel<?> propertyMetamodel)
propertyMetamodel - the PropertyMetamodel to be added as a expression in the
declaration