java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPredicate
io.micronaut.data.model.jpa.criteria.impl.predicate.BinaryPredicate
All Implemented Interfaces:
IExpression<Boolean>, IPredicate, ISelection<Boolean>, jakarta.persistence.criteria.Expression<Boolean>, jakarta.persistence.criteria.Predicate, jakarta.persistence.criteria.Selection<Boolean>, jakarta.persistence.TupleElement<Boolean>

@Internal public final class BinaryPredicate extends AbstractPredicate
The binary operation predicate implementation.
Since:
3.2
Author:
Denis Stepanov
  • Constructor Details

    • BinaryPredicate

      public BinaryPredicate(jakarta.persistence.criteria.Expression<?> leftExpression, jakarta.persistence.criteria.Expression<?> rightExpression, PredicateBinaryOp op)
  • Method Details

    • getLeftExpression

      public jakarta.persistence.criteria.Expression<?> getLeftExpression()
    • getRightExpression

      public jakarta.persistence.criteria.Expression<?> getRightExpression()
    • getOp

      public PredicateBinaryOp getOp()
    • not

      public jakarta.persistence.criteria.Predicate not()
      Specified by:
      not in interface jakarta.persistence.criteria.Predicate
      Overrides:
      not in class AbstractPredicate
    • visitPredicate

      public void visitPredicate(PredicateVisitor predicateVisitor)
      Description copied from interface: IPredicate
      Visit predicate.
      Parameters:
      predicateVisitor - The visitor
    • toString

      public String toString()
      Overrides:
      toString in class Object