Uses of Interface
org.springframework.data.repository.core.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
Modifier 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
Modifier and TypeInterfaceDescriptioninterface
Additional repository specific informationModifier and TypeClassDescriptionclass
Common base class forRepositoryInformation
that delays resolution ofRepositoryMetadata
and the repository base to the latest possible time.ModifierConstructorDescriptionRepositoryInformationSupport
(Supplier<RepositoryMetadata> metadata, Supplier<Class<?>> repositoryBaseClass) -
Uses of RepositoryMetadata in org.springframework.data.repository.core.support
Modifier and TypeClassDescriptionclass
Base class forRepositoryMetadata
implementations.class
RepositoryMetadata
implementation inspecting the given repository interface for aRepositoryDefinition
annotation.class
Default implementation ofRepositoryMetadata
.Modifier 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.Modifier 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
.ModifierConstructorDescriptionDefaultCrudMethods
(RepositoryMetadata metadata) Creates a newDefaultCrudMethods
using the givenRepositoryMetadata
. -
Uses of RepositoryMetadata in org.springframework.data.repository.query
Modifier 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.ModifierConstructorDescriptionQueryMethod
(Method method, RepositoryMetadata metadata, ProjectionFactory factory) Creates a newQueryMethod
from the given parameters.