Class LikeIgnoreCase<T>

All Implemented Interfaces:
Serializable, LocaleAware, WithoutTypeConversion, org.springframework.data.jpa.domain.Specification<T>
Direct Known Subclasses:
EndingWithIgnoreCase, StartingWithIgnoreCase

public class LikeIgnoreCase<T> extends Like<T> implements LocaleAware
Filters with path like %pattern% where-clause and ignores pattern case
Author:
Michal Jankowski, Hazecod, Tomasz Kaczmarzyk
See Also:
  • Constructor Details

  • Method Details

    • toPredicate

      public jakarta.persistence.criteria.Predicate toPredicate(jakarta.persistence.criteria.Root<T> root, jakarta.persistence.criteria.CriteriaQuery<?> query, jakarta.persistence.criteria.CriteriaBuilder builder)
      Specified by:
      toPredicate in interface org.springframework.data.jpa.domain.Specification<T>
      Overrides:
      toPredicate in class Like<T>
    • setLocale

      public void setLocale(Locale locale)
      Specified by:
      setLocale in interface LocaleAware
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Like<T>
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Like<T>
    • toString

      public String toString()
      Overrides:
      toString in class Like<T>