public class ReactiveFirestoreRepositoryFactory
extends org.springframework.data.repository.core.support.ReactiveRepositoryFactorySupport
Constructor and Description |
---|
ReactiveFirestoreRepositoryFactory(FirestoreTemplate firestoreTemplate,
FirestoreMappingContext firestoreMappingContext)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
<T,ID> org.springframework.data.repository.core.EntityInformation<T,ID> |
getEntityInformation(Class<T> aClass) |
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 repositoryMetadata) |
protected Object |
getTargetRepository(org.springframework.data.repository.core.RepositoryInformation repositoryInformation) |
validate
addQueryCreationListener, addRepositoryProxyPostProcessor, getProjectionFactory, getQueryMethods, getRepository, getRepository, getRepository, getRepositoryFragments, getRepositoryInformation, getRepositoryMetadata, getTargetRepositoryViaReflection, getTargetRepositoryViaReflection, setBeanClassLoader, setBeanFactory, setEvaluationContextProvider, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass
public ReactiveFirestoreRepositoryFactory(FirestoreTemplate firestoreTemplate, FirestoreMappingContext firestoreMappingContext)
firestoreTemplate
- the template that will be used by created repositories.firestoreMappingContext
- the mapping context used to look up type metadata.public <T,ID> org.springframework.data.repository.core.EntityInformation<T,ID> getEntityInformation(Class<T> aClass)
getEntityInformation
in class org.springframework.data.repository.core.support.RepositoryFactorySupport
protected Object getTargetRepository(org.springframework.data.repository.core.RepositoryInformation repositoryInformation)
getTargetRepository
in class org.springframework.data.repository.core.support.RepositoryFactorySupport
protected Class<?> getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata repositoryMetadata)
getRepositoryBaseClass
in class org.springframework.data.repository.core.support.RepositoryFactorySupport
protected Optional<org.springframework.data.repository.query.QueryLookupStrategy> getQueryLookupStrategy(@Nullable org.springframework.data.repository.query.QueryLookupStrategy.Key key, org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider)
getQueryLookupStrategy
in class org.springframework.data.repository.core.support.RepositoryFactorySupport
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.