Class Like<T>
java.lang.Object
net.kaczmarzyk.spring.data.jpa.domain.PathSpecification<T>
net.kaczmarzyk.spring.data.jpa.domain.Like<T>
- All Implemented Interfaces:
Serializable,WithoutTypeConversion,org.springframework.data.jpa.domain.Specification<T>
- Direct Known Subclasses:
EndingWith,LikeIgnoreCase,StartingWith
Filters with
path like %pattern% where-clause.- Author:
- Tomasz Kaczmarzyk
- See Also:
-
Field Summary
FieldsFields inherited from class net.kaczmarzyk.spring.data.jpa.domain.PathSpecification
path -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.kaczmarzyk.spring.data.jpa.domain.PathSpecification
pathMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.data.jpa.domain.Specification
and, or
-
Field Details
-
pattern
-
-
Constructor Details
-
Like
-
-
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:
toPredicatein interfaceorg.springframework.data.jpa.domain.Specification<T>
-
hashCode
public int hashCode()- Overrides:
hashCodein classPathSpecification<T>
-
equals
- Overrides:
equalsin classPathSpecification<T>
-
toString
-