Module org.seasar.doma.core
Class UserDefinedExpression.Declaration
java.lang.Object
org.seasar.doma.jdbc.criteria.expression.UserDefinedExpression.Declaration
- Enclosing class:
- UserDefinedExpression<PROPERTY>
Declaration of UserDefinedExpression
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendExpression(PropertyMetamodel<?> propertyMetamodel) Append a expression.voidAppends SQL code to the declaration.voidcutBackSql(int length) cutback SQL.
-
Field Details
-
dialect
Represents the specific database dialect. This is utilized to modify user-defined expressions based on the dialect in use.
-
-
Constructor Details
-
Declaration
-
-
Method Details
-
appendSql
Appends SQL code to the declaration.- Parameters:
sql- the SQL code to be appended
-
cutBackSql
public void cutBackSql(int length) cutback SQL.- Parameters:
length- the length to cutback the SQL code
-
appendExpression
Append a expression.- Parameters:
propertyMetamodel- thePropertyMetamodelto be added as a expression in the declaration
-