Class ClassExpressionType<E>

java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.expression.ClassExpressionType<E>
Type Parameters:
E - The type
All Implemented Interfaces:
ExpressionType<E>

@Internal public final class ClassExpressionType<E> extends Object implements ExpressionType<E>
The expression type represented by a class.
Since:
4.10
Author:
Denis Stepanov
  • Constructor Details

    • ClassExpressionType

      public ClassExpressionType(Class<E> expressionType)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface ExpressionType<E>
      Returns:
      The type name
    • isBoolean

      public boolean isBoolean()
      Specified by:
      isBoolean in interface ExpressionType<E>
      Returns:
      true if the expression is of boolean type
    • isNumeric

      public boolean isNumeric()
      Specified by:
      isNumeric in interface ExpressionType<E>
      Returns:
      true if the expression is of numeric type
    • isComparable

      public boolean isComparable()
      Specified by:
      isComparable in interface ExpressionType<E>
      Returns:
      true if the expression is of comparable type
    • isTextual

      public boolean isTextual()
      Specified by:
      isTextual in interface ExpressionType<E>
      Returns:
      true if the expression is of string type
    • getJavaType

      public Class<E> getJavaType()
      Specified by:
      getJavaType in interface ExpressionType<E>
      Returns:
      The Java type