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

    • LikePredicate

      public LikePredicate(jakarta.persistence.criteria.Expression<String> expression, jakarta.persistence.criteria.Expression<String> pattern)
    • LikePredicate

      public LikePredicate(jakarta.persistence.criteria.Expression<String> expression, jakarta.persistence.criteria.Expression<String> pattern, jakarta.persistence.criteria.Expression<Character> escapeChar, boolean negated)
    • LikePredicate

      public LikePredicate(jakarta.persistence.criteria.Expression<String> expression, jakarta.persistence.criteria.Expression<String> pattern, jakarta.persistence.criteria.Expression<Character> escapeChar, boolean negated, boolean caseInsensitive)
  • Method Details

    • not

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

      public jakarta.persistence.criteria.Expression<String> getExpression()
    • getPattern

      public jakarta.persistence.criteria.Expression<String> getPattern()
    • getEscapeChar

      @Nullable public @Nullable jakarta.persistence.criteria.Expression<Character> getEscapeChar()
    • isNegated

      public boolean isNegated()
      Specified by:
      isNegated in interface jakarta.persistence.criteria.Predicate
      Overrides:
      isNegated in class AbstractPredicate
    • isCaseInsensitive

      public boolean isCaseInsensitive()
    • visitPredicate

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