Interface ReactiveQueryMethodEvaluationContextProvider
- All Superinterfaces:
QueryMethodEvaluationContextProvider
- All Known Implementing Classes:
ReactiveExtensionAwareQueryMethodEvaluationContextProvider
public interface ReactiveQueryMethodEvaluationContextProvider
extends QueryMethodEvaluationContextProvider
Provides a way to access a centrally defined potentially shared
EvaluationContext
by considering
ReactiveEvaluationContextExtension
.- Since:
- 2.4
- Author:
- Mark Paluch
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends Parameters<?,
?>>
reactor.core.publisher.Mono<org.springframework.expression.EvaluationContext>getEvaluationContextLater
(T parameters, Object[] parameterValues) Return aEvaluationContext
built using the givenParameters
and parameter values.<T extends Parameters<?,
?>>
reactor.core.publisher.Mono<org.springframework.expression.EvaluationContext>getEvaluationContextLater
(T parameters, Object[] parameterValues, ExpressionDependencies dependencies) Return aEvaluationContext
built using the givenParameters
and parameter values.Methods inherited from interface org.springframework.data.repository.query.QueryMethodEvaluationContextProvider
getEvaluationContext, getEvaluationContext
-
Field Details
-
DEFAULT
-
-
Method Details
-
getEvaluationContextLater
<T extends Parameters<?,?>> reactor.core.publisher.Mono<org.springframework.expression.EvaluationContext> getEvaluationContextLater(T parameters, Object[] parameterValues) Return aEvaluationContext
built using the givenParameters
and parameter values.- Parameters:
parameters
- theParameters
instance obtained from the query method the context is built for.parameterValues
- the values for the parameters.- Returns:
- a mono that emits exactly one
EvaluationContext
.
-
getEvaluationContextLater
<T extends Parameters<?,?>> reactor.core.publisher.Mono<org.springframework.expression.EvaluationContext> getEvaluationContextLater(T parameters, Object[] parameterValues, ExpressionDependencies dependencies) Return aEvaluationContext
built using the givenParameters
and parameter values.- Parameters:
parameters
- theParameters
instance obtained from the query method the context is built for.parameterValues
- the values for the parameters.- Returns:
- a mono that emits exactly one
EvaluationContext
.
-