Class SpringJpaSpecificationDecoder<T>

  • Type Parameters:
    T -
    All Implemented Interfaces:
    Serializable, org.springframework.data.jpa.domain.Specification<T>

    public class SpringJpaSpecificationDecoder<T>
    extends QueryDecoder<javax.persistence.criteria.Predicate>
    implements org.springframework.data.jpa.domain.Specification<T>
    Author:
    paulo
    See Also:
    Serialized Form
    • Constructor Detail

      • SpringJpaSpecificationDecoder

        public SpringJpaSpecificationDecoder​(String query)
    • Method Detail

      • toPredicate

        public javax.persistence.criteria.Predicate toPredicate​(javax.persistence.criteria.Root<T> root,
                                                                javax.persistence.criteria.CriteriaQuery<?> criteriaQuery,
                                                                javax.persistence.criteria.CriteriaBuilder criteriaBuilder)
        Specified by:
        toPredicate in interface org.springframework.data.jpa.domain.Specification<T>
      • decode

        public javax.persistence.criteria.Predicate decode​(javax.persistence.criteria.Root<T> root,
                                                           javax.persistence.criteria.CriteriaBuilder criteriaBuilder)