Interface UserDefinedCriteriaContext.Builder

Enclosing interface:
UserDefinedCriteriaContext

public static interface UserDefinedCriteriaContext.Builder
  • Method Details

    • appendSql

      void appendSql(String sql)
      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

      void appendExpression(PropertyMetamodel<?> propertyMetamodel)
      Append a expression.
      Parameters:
      propertyMetamodel - the PropertyMetamodel to be added as a expression in the declaration
    • appendParameter

      <PROPERTY> void appendParameter(PropertyMetamodel<PROPERTY> propertyMetamodel, PROPERTY value)
      Appends a parameter.
      Type Parameters:
      PROPERTY - the type of the property
      Parameters:
      propertyMetamodel - the PropertyMetamodel to be added as a expression in the declaration
      value - 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.