| Package | Description |
|---|---|
| org.springframework.data.repository.config |
Support classes for repository namespace and JavaConfig integration.
|
| org.springframework.data.repository.core |
Core abstractions for repository implementation.
|
| org.springframework.data.repository.core.support |
Base classes to implement repositories for various data stores.
|
| org.springframework.data.repository.query |
Support classes to work with query methods.
|
| Modifier and Type | Method and Description |
|---|---|
protected 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.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
RepositoryInformation
Additional repository specific information
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractRepositoryMetadata
Base class for
RepositoryMetadata implementations. |
class |
AnnotationRepositoryMetadata
RepositoryMetadata implementation inspecting the given repository interface for a
RepositoryDefinition annotation. |
class |
DefaultRepositoryMetadata
Default implementation of
RepositoryMetadata. |
| Modifier and Type | Method and Description |
|---|---|
static RepositoryMetadata |
AbstractRepositoryMetadata.getMetadata(Class<?> repositoryInterface)
Creates a new
RepositoryMetadata for the given repository interface. |
protected RepositoryMetadata |
RepositoryFactorySupport.getRepositoryMetadata(Class<?> repositoryInterface)
Returns the
RepositoryMetadata for the given repository interface. |
| Modifier and Type | Method and Description |
|---|---|
static RepositoryComposition |
RepositoryComposition.fromMetadata(RepositoryMetadata metadata)
Create an
RepositoryComposition using the provided RepositoryMetadata to set method lookups depending in the repository type (reactive/imperative). |
protected abstract Class<?> |
RepositoryFactorySupport.getRepositoryBaseClass(RepositoryMetadata metadata)
Returns the base class backing the actual repository instance.
|
protected RepositoryComposition.RepositoryFragments |
RepositoryFactorySupport.getRepositoryFragments(RepositoryMetadata metadata)
Creates
RepositoryComposition.RepositoryFragments based on RepositoryMetadata to add repository-specific extensions. |
protected RepositoryInformation |
RepositoryFactorySupport.getRepositoryInformation(RepositoryMetadata metadata,
RepositoryComposition.RepositoryFragments fragments)
Returns the
RepositoryInformation for the given RepositoryMetadata and custom
RepositoryComposition.RepositoryFragments. |
protected void |
RepositoryFactorySupport.validate(RepositoryMetadata repositoryMetadata) |
protected void |
ReactiveRepositoryFactorySupport.validate(RepositoryMetadata repositoryMetadata) |
RepositoryComposition |
RepositoryComposition.withMetadata(RepositoryMetadata metadata)
Create a new
RepositoryComposition retaining current configuration and set metadata. |
| Constructor and Description |
|---|
DefaultCrudMethods(RepositoryMetadata metadata)
Creates a new
DefaultCrudMethods using the given RepositoryMetadata. |
| Modifier and Type | Method and Description |
|---|---|
RepositoryQuery |
QueryLookupStrategy.resolveQuery(Method method,
RepositoryMetadata metadata,
ProjectionFactory factory,
NamedQueries namedQueries)
Resolves a
RepositoryQuery from the given QueryMethod that can be executed afterwards. |
| Constructor and Description |
|---|
QueryMethod(Method method,
RepositoryMetadata metadata,
ProjectionFactory factory)
Creates a new
QueryMethod from the given parameters. |
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.