Class SpelUtils
java.lang.Object
org.springframework.data.cassandra.util.SpelUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate(CharSequence value, EvaluationContext context) Evaluates the given value against the given context as a string.static <T> @Nullable Tevaluate(CharSequence value, EvaluationContext context, Class<T> clazz) Evaluates the given value against the given context as an object of the given class.static <T> @Nullable Tevaluate(CharSequence value, EvaluationContext context, Class<T> clazz, ExpressionParser parser) Evaluates the given value against the given context as an object of the given class using the given parser.evaluate(CharSequence value, EvaluationContext context, ExpressionParser parser) Evaluates the given value against the given context as a string using the given parser.
-
Field Details
-
DEFAULT_PARSER
-
-
Constructor Details
-
SpelUtils
public SpelUtils()
-
-
Method Details
-
evaluate
Evaluates the given value against the given context as a string. -
evaluate
public static @Nullable String evaluate(CharSequence value, EvaluationContext context, ExpressionParser parser) Evaluates the given value against the given context as a string using the given parser. -
evaluate
public static <T> @Nullable T evaluate(CharSequence value, EvaluationContext context, Class<T> clazz) Evaluates the given value against the given context as an object of the given class. -
evaluate
public static <T> @Nullable T evaluate(CharSequence value, EvaluationContext context, Class<T> clazz, ExpressionParser parser) Evaluates the given value against the given context as an object of the given class using the given parser.
-