public class SpelEvaluator extends Object
SpelQueryContext.SpelExtractor
based on parameter information from a method and
parameter values from a method call.Constructor and Description |
---|
SpelEvaluator(org.springframework.data.repository.query.EvaluationContextProvider evaluationCtxProvider,
org.springframework.data.repository.query.Parameters<?,?> parameters,
SpelQueryContext.SpelExtractor extractor) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
evaluate(Object[] values)
Evaluate all the SpEL expressions in
parameters based on values provided as an argument. |
String |
getQueryString()
Returns the query string produced by the intermediate SpEL expression collection step.
|
public SpelEvaluator(org.springframework.data.repository.query.EvaluationContextProvider evaluationCtxProvider, org.springframework.data.repository.query.Parameters<?,?> parameters, SpelQueryContext.SpelExtractor extractor)
evaluationCtxProvider
- Evaluation context provider.parameters
- Parameters.extractor
- Extractor.public Map<String,Object> evaluate(Object[] values)
parameters
based on values provided as an argument.values
- Parameter values. Must not be null.public String getQueryString()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020