Class UserDefinedExpression.Declaration

java.lang.Object
org.seasar.doma.jdbc.criteria.expression.UserDefinedExpression.Declaration
Enclosing class:
UserDefinedExpression<PROPERTY>

public static class UserDefinedExpression.Declaration extends Object
Declaration of UserDefinedExpression
  • Field Details

    • dialect

      public final Dialect dialect
      Represents the specific database dialect. This is utilized to modify user-defined expressions based on the dialect in use.
  • Constructor Details

    • Declaration

      public Declaration(Dialect dialect)
  • Method Details

    • appendSql

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

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