public class R2dbcRepositoryFactory extends ReactiveRepositoryFactorySupport
R2dbcRepository
instances.Constructor and Description |
---|
R2dbcRepositoryFactory(DatabaseClient databaseClient,
ReactiveDataAccessStrategy dataAccessStrategy)
|
R2dbcRepositoryFactory(R2dbcEntityOperations operations)
Creates a new
R2dbcRepositoryFactory given R2dbcEntityOperations . |
Modifier and Type | Method and Description |
---|---|
<T,ID> org.springframework.data.relational.repository.query.RelationalEntityInformation<T,ID> |
getEntityInformation(Class<T> domainClass) |
protected Optional<QueryLookupStrategy> |
getQueryLookupStrategy(QueryLookupStrategy.Key key,
QueryMethodEvaluationContextProvider evaluationContextProvider) |
protected Class<?> |
getRepositoryBaseClass(RepositoryMetadata metadata) |
protected Object |
getTargetRepository(RepositoryInformation information) |
setEvaluationContextProvider, validate
addInvocationListener, addQueryCreationListener, addRepositoryProxyPostProcessor, getProjectionFactory, getProjectionFactory, getQueryMethods, getRepository, getRepository, getRepository, getRepositoryFragments, getRepositoryInformation, getRepositoryMetadata, getTargetRepositoryViaReflection, getTargetRepositoryViaReflection, instantiateClass, setBeanClassLoader, setBeanFactory, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass
public R2dbcRepositoryFactory(DatabaseClient databaseClient, ReactiveDataAccessStrategy dataAccessStrategy)
databaseClient
- must not be null.dataAccessStrategy
- must not be null.public R2dbcRepositoryFactory(R2dbcEntityOperations operations)
R2dbcRepositoryFactory
given R2dbcEntityOperations
.operations
- must not be null.protected Class<?> getRepositoryBaseClass(RepositoryMetadata metadata)
getRepositoryBaseClass
in class RepositoryFactorySupport
protected Object getTargetRepository(RepositoryInformation information)
getTargetRepository
in class RepositoryFactorySupport
protected Optional<QueryLookupStrategy> getQueryLookupStrategy(@Nullable QueryLookupStrategy.Key key, QueryMethodEvaluationContextProvider evaluationContextProvider)
getQueryLookupStrategy
in class RepositoryFactorySupport
public <T,ID> org.springframework.data.relational.repository.query.RelationalEntityInformation<T,ID> getEntityInformation(Class<T> domainClass)
getEntityInformation
in class RepositoryFactorySupport
Copyright © 2018–2022 Pivotal Software, Inc.. All rights reserved.