EnableReactiveCosmosRepositories Interface
Implements
public interface EnableReactiveCosmosRepositories
implements Annotation
Interface to enable reactive cosmos repository
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Class<?>[] |
basePackageClasses()
To set base package class |
abstract String[] |
basePackages()
To set base packages |
abstract boolean |
considerNestedRepositories()
To set if consider nested repositories |
abstract org.springframework.context.annotation.ComponentScan.Filter[] |
excludeFilters()
To exclude filters |
abstract org.springframework.context.annotation.ComponentScan.Filter[] |
includeFilters()
To include filters |
abstract String |
namedQueriesLocation()
To set the named query location |
abstract org.springframework.data.repository.query.QueryLookupStrategy.Key |
queryLookupStrategy()
To set query look up strategy |
abstract String |
reactiveCosmosTemplateRef()
Configures the name of the ReactiveCosmosTemplate bean to be used with the repositories detected. |
abstract Class<?> |
repositoryBaseClass()
To set base class of repo |
abstract Class<?> |
repositoryFactoryBeanClass()
To set factory bean class of repo |
abstract String |
repositoryImplementationPostfix()
To set repo Implement postfix |
abstract String[] |
value()
To set repo value |
Method Details
basePackageClasses
public abstract Class[] basePackageClasses()
To set base package class
Returns:
basePackages
public abstract String[] basePackages()
To set base packages
Returns:
considerNestedRepositories
public abstract boolean considerNestedRepositories()
To set if consider nested repositories
Returns:
excludeFilters
public abstract ComponentScan.Filter[] excludeFilters()
To exclude filters
Returns:
includeFilters
public abstract ComponentScan.Filter[] includeFilters()
To include filters
Returns:
namedQueriesLocation
public abstract String namedQueriesLocation()
To set the named query location
Returns:
queryLookupStrategy
public abstract QueryLookupStrategy.Key queryLookupStrategy()
To set query look up strategy
Returns:
reactiveCosmosTemplateRef
public abstract String reactiveCosmosTemplateRef()
Configures the name of the ReactiveCosmosTemplate bean to be used with the repositories detected.
Returns:
repositoryBaseClass
public abstract Class repositoryBaseClass()
To set base class of repo
Returns:
repositoryFactoryBeanClass
public abstract Class repositoryFactoryBeanClass()
To set factory bean class of repo
Returns:
repositoryImplementationPostfix
public abstract String repositoryImplementationPostfix()
To set repo Implement postfix
Returns:
value
public abstract String[] value()
To set repo value
Returns:
Applies to
Azure SDK for Java