Package | Description |
---|---|
org.springframework.data.repository.cdi |
Base classes to implement CDI support for repositories.
|
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 |
---|---|
default Optional<QueryMethodEvaluationContextProvider> |
CdiRepositoryConfiguration.getEvaluationContextProvider()
Return the
QueryMethodEvaluationContextProvider to use. |
Modifier and Type | Method and Description |
---|---|
protected Optional<QueryMethodEvaluationContextProvider> |
RepositoryFactoryBeanSupport.createDefaultQueryMethodEvaluationContextProvider(ListableBeanFactory beanFactory)
Create a default
QueryMethodEvaluationContextProvider (or subclass) from ListableBeanFactory . |
Modifier and Type | Method and Description |
---|---|
protected Optional<QueryLookupStrategy> |
RepositoryFactorySupport.getQueryLookupStrategy(QueryLookupStrategy.Key key,
QueryMethodEvaluationContextProvider evaluationContextProvider)
Returns the
QueryLookupStrategy for the given QueryLookupStrategy.Key and QueryMethodEvaluationContextProvider . |
void |
RepositoryFactorySupport.setEvaluationContextProvider(QueryMethodEvaluationContextProvider evaluationContextProvider)
Sets the
QueryMethodEvaluationContextProvider to be used to evaluate SpEL expressions in manually defined
queries. |
void |
RepositoryFactoryBeanSupport.setEvaluationContextProvider(QueryMethodEvaluationContextProvider evaluationContextProvider)
Sets the
QueryMethodEvaluationContextProvider to be used to evaluate SpEL expressions in manually defined
queries. |
void |
ReactiveRepositoryFactorySupport.setEvaluationContextProvider(QueryMethodEvaluationContextProvider evaluationContextProvider)
Sets the
QueryMethodEvaluationContextProvider to be used to evaluate SpEL expressions in manually defined
queries. |
Modifier and Type | Interface and Description |
---|---|
interface |
ReactiveQueryMethodEvaluationContextProvider
Provides a way to access a centrally defined potentially shared
EvaluationContext by considering
ReactiveEvaluationContextExtension . |
Modifier and Type | Class and Description |
---|---|
class |
ExtensionAwareQueryMethodEvaluationContextProvider
An
QueryMethodEvaluationContextProvider that assembles an EvaluationContext from a list of
EvaluationContextExtension instances. |
class |
ReactiveExtensionAwareQueryMethodEvaluationContextProvider
An reactive
QueryMethodEvaluationContextProvider that assembles an EvaluationContext from a list of
EvaluationContextExtension and ReactiveEvaluationContextExtension . |
Modifier and Type | Field and Description |
---|---|
static QueryMethodEvaluationContextProvider |
QueryMethodEvaluationContextProvider.DEFAULT |
Modifier and Type | Method and Description |
---|---|
SpelQueryContext.EvaluatingSpelQueryContext |
SpelQueryContext.withEvaluationContextProvider(QueryMethodEvaluationContextProvider provider)
Createsa
SpelQueryContext.EvaluatingSpelQueryContext from the current one and the given
QueryMethodEvaluationContextProvider . |
Constructor and Description |
---|
SpelEvaluator(QueryMethodEvaluationContextProvider evaluationContextProvider,
Parameters<?,?> parameters,
SpelQueryContext.SpelExtractor extractor) |
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.