public static class SpelQueryContext.EvaluatingSpelQueryContext extends SpelQueryContext
SpelQueryContext
that can create SpelEvaluator
instances as it also knows about a
EvaluationContextProvider
.SpelQueryContext.EvaluatingSpelQueryContext, SpelQueryContext.SpelExtractor
Modifier and Type | Method and Description |
---|---|
SpelEvaluator |
parse(String qry,
org.springframework.data.repository.query.Parameters<?,?> parameters)
Parses the query for SpEL expressions using the pattern:
<prefix>#{<spel>}
with prefix being the character ':' or '?'.
|
of, parse, withEvaluationContextProvider
public SpelEvaluator parse(String qry, org.springframework.data.repository.query.Parameters<?,?> parameters)
<prefix>#{<spel>}
with prefix being the character ':' or '?'. Parsing honors quoted Strings enclosed in single or double quotation marks.
qry
- a query containing SpEL expressions in the format described above. Must not be null.parameters
- a Parameters
instance describing query method parametersSpelEvaluator
which allows to evaluate the SpEL expressions. Will never be null.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020