Class TrackableJpaQueryLookupStrategy.AbstractQueryLookupStrategy

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.springframework.data.repository.query.QueryLookupStrategy

        org.springframework.data.repository.query.QueryLookupStrategy.Key
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractQueryLookupStrategy​(javax.persistence.EntityManager em, org.springframework.data.jpa.provider.QueryExtractor extractor)
      Creates a new JpaQueryLookupStrategy.AbstractQueryLookupStrategy.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.data.repository.query.RepositoryQuery resolveQuery​(Method method, org.springframework.data.repository.core.RepositoryMetadata metadata, org.springframework.data.projection.ProjectionFactory factory, org.springframework.data.repository.core.NamedQueries namedQueries)  
      protected abstract org.springframework.data.repository.query.RepositoryQuery resolveQuery​(org.springframework.data.jpa.repository.query.JpaQueryMethod method, javax.persistence.EntityManager em, org.springframework.data.repository.core.NamedQueries namedQueries, org.springframework.data.repository.core.RepositoryMetadata metadata)  
    • Constructor Detail

      • AbstractQueryLookupStrategy

        public AbstractQueryLookupStrategy​(javax.persistence.EntityManager em,
                                           org.springframework.data.jpa.provider.QueryExtractor extractor)
        Creates a new JpaQueryLookupStrategy.AbstractQueryLookupStrategy.
        Parameters:
        em -
        extractor -
    • Method Detail

      • resolveQuery

        public final org.springframework.data.repository.query.RepositoryQuery resolveQuery​(Method method,
                                                                                            org.springframework.data.repository.core.RepositoryMetadata metadata,
                                                                                            org.springframework.data.projection.ProjectionFactory factory,
                                                                                            org.springframework.data.repository.core.NamedQueries namedQueries)
        Specified by:
        resolveQuery in interface org.springframework.data.repository.query.QueryLookupStrategy
      • resolveQuery

        protected abstract org.springframework.data.repository.query.RepositoryQuery resolveQuery​(org.springframework.data.jpa.repository.query.JpaQueryMethod method,
                                                                                                  javax.persistence.EntityManager em,
                                                                                                  org.springframework.data.repository.core.NamedQueries namedQueries,
                                                                                                  org.springframework.data.repository.core.RepositoryMetadata metadata)