Compartir a través de


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:

default as {}

basePackages

public abstract String[] basePackages()

To set base packages

Returns:

default as {}

considerNestedRepositories

public abstract boolean considerNestedRepositories()

To set if consider nested repositories

Returns:

default value is false

excludeFilters

public abstract ComponentScan.Filter[] excludeFilters()

To exclude filters

Returns:

default as {}

includeFilters

public abstract ComponentScan.Filter[] includeFilters()

To include filters

Returns:

default as {}

namedQueriesLocation

public abstract String namedQueriesLocation()

To set the named query location

Returns:

default as ""

queryLookupStrategy

public abstract QueryLookupStrategy.Key queryLookupStrategy()

To set query look up strategy

Returns:

QueryLookupStrategy.Key

reactiveCosmosTemplateRef

public abstract String reactiveCosmosTemplateRef()

Configures the name of the ReactiveCosmosTemplate bean to be used with the repositories detected.

Returns:

reactiveCosmosTemplate by default.

repositoryBaseClass

public abstract Class repositoryBaseClass()

To set base class of repo

Returns:

default value is DefaultRepositoryBaseClass.class

repositoryFactoryBeanClass

public abstract Class repositoryFactoryBeanClass()

To set factory bean class of repo

Returns:

default value is ReactiveCosmosRepositoryFactoryBean.class

repositoryImplementationPostfix

public abstract String repositoryImplementationPostfix()

To set repo Implement postfix

Returns:

default as "Impl"

value

public abstract String[] value()

To set repo value

Returns:

default as {}

Applies to