Class JsonPathSpecification<T>
java.lang.Object
energy.eddie.outbound.rest.persistence.specifications.JsonPathSpecification<T>
- All Implemented Interfaces:
Serializable,org.springframework.data.jpa.domain.Specification<T>
public class JsonPathSpecification<T>
extends Object
implements org.springframework.data.jpa.domain.Specification<T>
- See Also:
-
Field Summary
Fields inherited from interface org.springframework.data.jpa.domain.Specification
serialVersionUID -
Constructor Summary
ConstructorsConstructorDescriptionJsonPathSpecification(String key, String value) JsonPathSpecification(List<String> path, String value) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.persistence.criteria.PredicatetoPredicate(jakarta.persistence.criteria.Root<T> root, jakarta.persistence.criteria.CriteriaQuery<?> query, jakarta.persistence.criteria.CriteriaBuilder cb) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.jpa.domain.Specification
and, or
-
Constructor Details
-
JsonPathSpecification
-
JsonPathSpecification
-
-
Method Details
-
toPredicate
public jakarta.persistence.criteria.Predicate toPredicate(jakarta.persistence.criteria.Root<T> root, jakarta.persistence.criteria.CriteriaQuery<?> query, jakarta.persistence.criteria.CriteriaBuilder cb) - Specified by:
toPredicatein interfaceorg.springframework.data.jpa.domain.Specification<T>
-