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

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.persistence.criteria.Predicate
    toPredicate(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, wait

    Methods inherited from interface org.springframework.data.jpa.domain.Specification

    and, or
  • Constructor Details

    • JsonPathSpecification

      public JsonPathSpecification(String key, String value)
    • JsonPathSpecification

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