ReactiveCosmosRepositoryFactory Class

  • java.lang.Object
    • org.springframework.data.repository.core.support.RepositoryFactorySupport
      • org.springframework.data.repository.core.support.ReactiveRepositoryFactorySupport
        • com.azure.spring.data.cosmos.repository.support.ReactiveCosmosRepositoryFactory

public class ReactiveCosmosRepositoryFactory
extends org.springframework.data.repository.core.support.ReactiveRepositoryFactorySupport

Factory class for reactive cosmos repository contains application context and operations information

Constructor Summary

Constructor Description
ReactiveCosmosRepositoryFactory(ReactiveCosmosOperations cosmosOperations)

Initialization

Method Summary

Modifier and Type Method and Description
org.springframework.data.repository.core.EntityInformation<T,ID> <T,ID>getEntityInformation(Class<T> domainType)
protected Optional<org.springframework.data.repository.query.QueryLookupStrategy> getQueryLookupStrategy(QueryLookupStrategy.Key key, QueryMethodEvaluationContextProvider evaluationContextProvider)
protected Class<?> getRepositoryBaseClass(RepositoryMetadata metadata)
protected Object getTargetRepository(RepositoryInformation information)

Methods inherited from java.lang.Object

Methods inherited from org.springframework.data.repository.core.support.ReactiveRepositoryFactorySupport

org.springframework.data.repository.core.support.ReactiveRepositoryFactorySupport.setEvaluationContextProvider org.springframework.data.repository.core.support.ReactiveRepositoryFactorySupport.validate

Methods inherited from org.springframework.data.repository.core.support.RepositoryFactorySupport

org.springframework.data.repository.core.support.RepositoryFactorySupport.<R>getTargetRepositoryViaReflection(java.lang.Class< org.springframework.data.repository.core.support.RepositoryFactorySupport.<R>getTargetRepositoryViaReflection org.springframework.data.repository.core.support.RepositoryFactorySupport.<R>instantiateClass(java.lang.Class< org.springframework.data.repository.core.support.RepositoryFactorySupport.<T,ID>getEntityInformation org.springframework.data.repository.core.support.RepositoryFactorySupport.<T>getRepository org.springframework.data.repository.core.support.RepositoryFactorySupport.<T>getRepository org.springframework.data.repository.core.support.RepositoryFactorySupport.<T>getRepository org.springframework.data.repository.core.support.RepositoryFactorySupport.addInvocationListener org.springframework.data.repository.core.support.RepositoryFactorySupport.addQueryCreationListener(org.springframework.data.repository.core.support.QueryCreationListener< org.springframework.data.repository.core.support.RepositoryFactorySupport.addRepositoryProxyPostProcessor org.springframework.data.repository.core.support.RepositoryFactorySupport.getProjectionFactory org.springframework.data.repository.core.support.RepositoryFactorySupport.getProjectionFactory org.springframework.data.repository.core.support.RepositoryFactorySupport.getQueryLookupStrategy org.springframework.data.repository.core.support.RepositoryFactorySupport.getQueryMethods org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepositoryBaseClass org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepositoryFragments org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepositoryInformation org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepositoryMetadata(java.lang.Class< org.springframework.data.repository.core.support.RepositoryFactorySupport.getTargetRepository org.springframework.data.repository.core.support.RepositoryFactorySupport.setBeanClassLoader org.springframework.data.repository.core.support.RepositoryFactorySupport.setBeanFactory org.springframework.data.repository.core.support.RepositoryFactorySupport.setNamedQueries org.springframework.data.repository.core.support.RepositoryFactorySupport.setQueryLookupStrategyKey org.springframework.data.repository.core.support.RepositoryFactorySupport.setRepositoryBaseClass(java.lang.Class<

Constructor Details

ReactiveCosmosRepositoryFactory

public ReactiveCosmosRepositoryFactory(ReactiveCosmosOperations cosmosOperations)

Initialization

Parameters:

cosmosOperations - for cosmosDB operations

Method Details

<T,ID>getEntityInformation

public EntityInformation getEntityInformation(Class domainType)

Overrides:

ReactiveCosmosRepositoryFactory.<T,ID>getEntityInformation(Class<T> domainType)

Parameters:

domainType

getQueryLookupStrategy

protected Optional getQueryLookupStrategy(QueryLookupStrategy.Key key, QueryMethodEvaluationContextProvider evaluationContextProvider)

Overrides:

ReactiveCosmosRepositoryFactory.getQueryLookupStrategy(QueryLookupStrategy.Key key, QueryMethodEvaluationContextProvider evaluationContextProvider)

Parameters:

key
evaluationContextProvider

getRepositoryBaseClass

protected Class getRepositoryBaseClass(RepositoryMetadata metadata)

Overrides:

ReactiveCosmosRepositoryFactory.getRepositoryBaseClass(RepositoryMetadata metadata)

Parameters:

metadata

getTargetRepository

protected Object getTargetRepository(RepositoryInformation information)

Overrides:

ReactiveCosmosRepositoryFactory.getTargetRepository(RepositoryInformation information)

Parameters:

information

Applies to