Class BinaryExpression<E>

java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.expression.AbstractExpression<E>
io.micronaut.data.model.jpa.criteria.impl.expression.BinaryExpression<E>
Type Parameters:
E - The expression type
All Implemented Interfaces:
IExpression<E>, ISelection<E>, jakarta.persistence.criteria.Expression<E>, jakarta.persistence.criteria.Selection<E>, jakarta.persistence.TupleElement<E>

@Internal public final class BinaryExpression<E> extends AbstractExpression<E>
The binary expression.
Since:
4.9
Author:
Denis Stepanov
  • Constructor Details

    • BinaryExpression

      public BinaryExpression(jakarta.persistence.criteria.Expression<?> left, jakarta.persistence.criteria.Expression<?> right, BinaryExpressionType type, @Nullable @Nullable Class<E> expressionType)
  • Method Details

    • getType

      @NonNull public @NonNull BinaryExpressionType getType()
    • getLeft

      @NonNull public @NonNull jakarta.persistence.criteria.Expression<?> getLeft()
    • getRight

      @NonNull public @NonNull jakarta.persistence.criteria.Expression<?> getRight()
    • visitExpression

      public void visitExpression(ExpressionVisitor expressionVisitor)
      Description copied from interface: IExpression
      Visit the expression.
      Parameters:
      expressionVisitor - The expression visitor
    • toString

      public String toString()
      Overrides:
      toString in class Object