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 Details

    • JsonPathSpecification

      public JsonPathSpecification(String key, String value)
    • JsonPathSpecification

      public JsonPathSpecification(List<String> path, String value)
  • 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:
      toPredicate in interface org.springframework.data.jpa.domain.PredicateSpecification<T>