java.lang.Object
org.springframework.data.keyvalue.core.SpelCriteria
SpelCriteria allows to pass on a SpelExpression and EvaluationContext to the actual query
processor. This decouples the SpelExpression from the context it is used in.- Author:
- Christoph Strobl, Oliver Gierke
-
Constructor Summary
ConstructorsConstructorDescriptionSpelCriteria(SpelExpression expression) Creates a newSpelCriteriafor the givenSpelExpression.SpelCriteria(SpelExpression expression, EvaluationContext context) Creates newSpelCriteria. -
Method Summary
-
Constructor Details
-
SpelCriteria
Creates a newSpelCriteriafor the givenSpelExpression.- Parameters:
expression- must not be null.
-
SpelCriteria
Creates newSpelCriteria.- Parameters:
expression- must not be null.context- must not be null.
-
-
Method Details
-
getContext
- Returns:
- will never be null.
-
getExpression
- Returns:
- will never be null.
-