Class JsonPathSpecification<T>
java.lang.Object
energy.eddie.outbound.rest.persistence.specifications.JsonPathSpecification<T>
- All Implemented Interfaces:
Serializable,org.springframework.data.jpa.domain.PredicateSpecification<T>
public class JsonPathSpecification<T>
extends Object
implements org.springframework.data.jpa.domain.PredicateSpecification<T>
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJsonPathSpecification(String key, String value) JsonPathSpecification(List<String> path, String value) -
Method Summary
Modifier and TypeMethodDescription@Nullable jakarta.persistence.criteria.PredicatetoPredicate(@NotNull jakarta.persistence.criteria.From<?, T> from, @Nullable 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.PredicateSpecification
and, or
-
Constructor Details
-
JsonPathSpecification
-
JsonPathSpecification
-
-
Method Details
-
toPredicate
public @Nullable jakarta.persistence.criteria.Predicate toPredicate(@NotNull @NotNull jakarta.persistence.criteria.From<?, T> from, @Nullable jakarta.persistence.criteria.CriteriaBuilder cb) - Specified by:
toPredicatein interfaceorg.springframework.data.jpa.domain.PredicateSpecification<T>
-