public class SpelEvaluator extends Object
SpelQueryContext.SpelExtractor based on parameter information from a method and
parameter values from a method call.SpelQueryContext.parse(String)| Constructor and Description |
|---|
SpelEvaluator(QueryMethodEvaluationContextProvider evaluationContextProvider,
Parameters<?,?> parameters,
SpelQueryContext.SpelExtractor extractor) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
evaluate(Object[] values)
Evaluate all the SpEL expressions in
SpelQueryContext.SpelExtractor based on values provided as an argument. |
String |
getQueryString()
Returns the query string produced by the intermediate SpEL expression collection step.
|
public SpelEvaluator(QueryMethodEvaluationContextProvider evaluationContextProvider, Parameters<?,?> parameters, SpelQueryContext.SpelExtractor extractor)
public Map<String,Object> evaluate(Object[] values)
SpelQueryContext.SpelExtractor based on values provided as an argument.values - Parameter values. Must not be null.public String getQueryString()
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.