Class JmixQueryLookupStrategy

java.lang.Object
io.jmix.core.impl.repository.query.utils.JmixQueryLookupStrategy
All Implemented Interfaces:
org.springframework.data.repository.query.QueryLookupStrategy

public class JmixQueryLookupStrategy extends Object implements org.springframework.data.repository.query.QueryLookupStrategy
Determines query type and creates RepositoryQueries for Jmix data repositories
  • 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
    JmixQueryLookupStrategy(DataManager dataManager, Metadata jmixMetadata)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.data.repository.query.RepositoryQuery
    resolveQuery(Method method, org.springframework.data.repository.core.RepositoryMetadata repositoryMetadata, org.springframework.data.projection.ProjectionFactory factory, org.springframework.data.repository.core.NamedQueries namedQueries)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JmixQueryLookupStrategy

      public JmixQueryLookupStrategy(DataManager dataManager, Metadata jmixMetadata)
  • Method Details

    • resolveQuery

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