Package com.redis.riot.core.function
Class ExpressionFunction<T,R>
java.lang.Object
com.redis.riot.core.function.ExpressionFunction<T,R>
- All Implemented Interfaces:
Function<T,
R>
- Direct Known Subclasses:
LongExpressionFunction
-
Constructor Summary
ConstructorsConstructorDescriptionExpressionFunction
(org.springframework.expression.EvaluationContext context, org.springframework.expression.Expression expression, Class<R> type) -
Method Summary
Modifier and TypeMethodDescriptionprotected R
static <T> ExpressionFunction<T,
String> of
(org.springframework.expression.EvaluationContext context, TemplateExpression expression) static <T> ExpressionFunction<T,
String> of
(org.springframework.expression.EvaluationContext context, org.springframework.expression.Expression expression)
-
Constructor Details
-
ExpressionFunction
-
-
Method Details
-
apply
-
getValue
-
of
public static <T> ExpressionFunction<T,String> of(org.springframework.expression.EvaluationContext context, org.springframework.expression.Expression expression) -
of
public static <T> ExpressionFunction<T,String> of(org.springframework.expression.EvaluationContext context, TemplateExpression expression)
-