Module org.seasar.doma.core
Interface UserDefinedCriteriaContext.Builder
- Enclosing interface:
- UserDefinedCriteriaContext
public static interface UserDefinedCriteriaContext.Builder
-
Method Summary
Modifier and TypeMethodDescriptionvoidappendExpression(PropertyMetamodel<?> propertyMetamodel) Append a expression.<PROPERTY> voidappendParameter(PropertyMetamodel<PROPERTY> propertyMetamodel, PROPERTY value) Appends a parameter.voidAppends SQL code to the declaration.voidcutBackSql(int length) cutback SQL.Represents the specific database dialect.
-
Method Details
-
appendSql
Appends SQL code to the declaration.- Parameters:
sql- the SQL code to be appended
-
cutBackSql
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
-
appendParameter
Appends a parameter.- Type Parameters:
PROPERTY- the type of the property- Parameters:
propertyMetamodel- thePropertyMetamodelto be added as a expression in the declarationvalue- the value of the property
-
getDialect
Dialect getDialect()Represents the specific database dialect. This is utilized to modify user-defined expressions based on the dialect in use.
-