java.lang.Object
io.micronaut.data.model.jpa.criteria.impl.predicate.AbstractPredicate
io.micronaut.data.model.jpa.criteria.impl.predicate.UnaryPredicate
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 UnaryPredicate extends AbstractPredicate
The unary predicate implementation.
Since:
3.2
Author:
Denis Stepanov
  • Constructor Details

    • UnaryPredicate

      public UnaryPredicate(@NonNull @NonNull jakarta.persistence.criteria.Expression<?> expression, @NonNull @NonNull PredicateUnaryOp op)
  • Method Details

    • getExpression

      @NonNull public @NonNull jakarta.persistence.criteria.Expression<?> getExpression()
    • getOp

      @NonNull public @NonNull PredicateUnaryOp 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