Uses of Interface
org.springframework.data.repository.core.RepositoryMetadata
Packages that use RepositoryMetadata
Package
Description
Support classes for repository namespace and JavaConfig integration.
Core abstractions for repository implementation.
Base classes to implement repositories for various data stores.
Support classes to work with query methods.
-
Uses of RepositoryMetadata in org.springframework.data.repository.config
Methods in org.springframework.data.repository.config with parameters of type RepositoryMetadataModifier and TypeMethodDescriptionprotected boolean
RepositoryConfigurationExtensionSupport.isStrictRepositoryCandidate
(RepositoryMetadata metadata) Returns whether the given repository metadata is a candidate for bean definition creation in the strict repository detection mode.protected boolean
RepositoryConfigurationExtensionSupport.useRepositoryConfiguration
(RepositoryMetadata metadata) Return whether to use the configuration for the repository with the given metadata. -
Uses of RepositoryMetadata in org.springframework.data.repository.core
Subinterfaces of RepositoryMetadata in org.springframework.data.repository.coreModifier and TypeInterfaceDescriptioninterface
Additional repository specific informationClasses in org.springframework.data.repository.core that implement RepositoryMetadataModifier and TypeClassDescriptionclass
Common base class forRepositoryInformation
that delays resolution ofRepositoryMetadata
and the repository base to the latest possible time.Constructor parameters in org.springframework.data.repository.core with type arguments of type RepositoryMetadataModifierConstructorDescriptionRepositoryInformationSupport
(Supplier<RepositoryMetadata> metadata, Supplier<Class<?>> repositoryBaseClass) -
Uses of RepositoryMetadata in org.springframework.data.repository.core.support
Classes in org.springframework.data.repository.core.support that implement RepositoryMetadataModifier and TypeClassDescriptionclass
Base class forRepositoryMetadata
implementations.class
RepositoryMetadata
implementation inspecting the given repository interface for aRepositoryDefinition
annotation.class
Default implementation ofRepositoryMetadata
.Methods in org.springframework.data.repository.core.support that return RepositoryMetadataModifier and TypeMethodDescriptionstatic RepositoryMetadata
AbstractRepositoryMetadata.getMetadata
(Class<?> repositoryInterface) Creates a newRepositoryMetadata
for the given repository interface.protected RepositoryMetadata
RepositoryFactorySupport.getRepositoryMetadata
(Class<?> repositoryInterface) Returns theRepositoryMetadata
for the given repository interface.Methods in org.springframework.data.repository.core.support with parameters of type RepositoryMetadataModifier and TypeMethodDescriptionstatic RepositoryComposition
RepositoryComposition.fromMetadata
(RepositoryMetadata metadata) Create anRepositoryComposition
using the providedRepositoryMetadata
to setmethod lookups
depending in the repository type (reactive/imperative).protected abstract Class<?>
RepositoryFactorySupport.getRepositoryBaseClass
(RepositoryMetadata metadata) Returns the base class backing the actual repository instance.RepositoryFactorySupport.getRepositoryFragments
(RepositoryMetadata metadata) CreatesRepositoryComposition.RepositoryFragments
based onRepositoryMetadata
to add repository-specific extensions.protected RepositoryInformation
RepositoryFactorySupport.getRepositoryInformation
(RepositoryMetadata metadata, RepositoryComposition.RepositoryFragments fragments) Returns theRepositoryInformation
for the givenRepositoryMetadata
and customRepositoryComposition.RepositoryFragments
.protected void
ReactiveRepositoryFactorySupport.validate
(RepositoryMetadata repositoryMetadata) protected void
RepositoryFactorySupport.validate
(RepositoryMetadata repositoryMetadata) RepositoryComposition.withMetadata
(RepositoryMetadata metadata) Create a newRepositoryComposition
retaining current configuration and setmetadata
.Constructors in org.springframework.data.repository.core.support with parameters of type RepositoryMetadataModifierConstructorDescriptionDefaultCrudMethods
(RepositoryMetadata metadata) Creates a newDefaultCrudMethods
using the givenRepositoryMetadata
. -
Uses of RepositoryMetadata in org.springframework.data.repository.query
Methods in org.springframework.data.repository.query with parameters of type RepositoryMetadataModifier and TypeMethodDescriptionstatic ParametersSource
ParametersSource.of
(RepositoryMetadata metadata, Method method) Create a new parameter source for the givenMethod
in the context ofRepositoryMetadata
.QueryLookupStrategy.resolveQuery
(Method method, RepositoryMetadata metadata, ProjectionFactory factory, NamedQueries namedQueries) Resolves aRepositoryQuery
from the givenQueryMethod
that can be executed afterwards.Constructors in org.springframework.data.repository.query with parameters of type RepositoryMetadataModifierConstructorDescriptionQueryMethod
(Method method, RepositoryMetadata metadata, ProjectionFactory factory) Creates a newQueryMethod
from the given parameters.