Class ReactiveCosmosRepositoryFactory

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware

    public class ReactiveCosmosRepositoryFactory
    extends org.springframework.data.repository.core.support.ReactiveRepositoryFactorySupport
    Factory class for reactive cosmos repository contains application context and operations information
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T,​ID>
      org.springframework.data.repository.core.EntityInformation<T,​ID>
      getEntityInformation​(Class<T> domainType)  
      protected Optional<org.springframework.data.repository.query.QueryLookupStrategy> getQueryLookupStrategy​(org.springframework.data.repository.query.QueryLookupStrategy.Key key, org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider)  
      protected Class<?> getRepositoryBaseClass​(org.springframework.data.repository.core.RepositoryMetadata metadata)  
      protected Object getTargetRepository​(org.springframework.data.repository.core.RepositoryInformation information)  
      • Methods inherited from class org.springframework.data.repository.core.support.ReactiveRepositoryFactorySupport

        setEvaluationContextProvider, validate
      • Methods inherited from class org.springframework.data.repository.core.support.RepositoryFactorySupport

        addInvocationListener, addQueryCreationListener, addRepositoryProxyPostProcessor, getProjectionFactory, getProjectionFactory, getQueryMethods, getRepository, getRepository, getRepository, getRepositoryFragments, getRepositoryInformation, getRepositoryMetadata, getTargetRepositoryViaReflection, getTargetRepositoryViaReflection, instantiateClass, setBeanClassLoader, setBeanFactory, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass
    • Constructor Detail

      • ReactiveCosmosRepositoryFactory

        public ReactiveCosmosRepositoryFactory​(ReactiveCosmosOperations cosmosOperations)
        Initialization
        Parameters:
        cosmosOperations - for cosmosDB operations
    • Method Detail

      • getEntityInformation

        public <T,​ID> org.springframework.data.repository.core.EntityInformation<T,​ID> getEntityInformation​(Class<T> domainType)
        Specified by:
        getEntityInformation in class org.springframework.data.repository.core.support.RepositoryFactorySupport
      • getTargetRepository

        protected Object getTargetRepository​(org.springframework.data.repository.core.RepositoryInformation information)
        Specified by:
        getTargetRepository in class org.springframework.data.repository.core.support.RepositoryFactorySupport
      • getRepositoryBaseClass

        protected Class<?> getRepositoryBaseClass​(org.springframework.data.repository.core.RepositoryMetadata metadata)
        Specified by:
        getRepositoryBaseClass in class org.springframework.data.repository.core.support.RepositoryFactorySupport
      • getQueryLookupStrategy

        protected Optional<org.springframework.data.repository.query.QueryLookupStrategy> getQueryLookupStrategy​(org.springframework.data.repository.query.QueryLookupStrategy.Key key,
                                                                                                                 org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider)
        Overrides:
        getQueryLookupStrategy in class org.springframework.data.repository.core.support.RepositoryFactorySupport