Package io.atlasmap.expression
Interface Expression
-
- All Known Subinterfaces:
BooleanExpression
- All Known Implementing Classes:
ArithmeticExpression,BinaryExpression,ComparisonExpression,ConstantExpression,LogicExpression,UnaryExpression,VariableExpression
public interface ExpressionParses and evaluates a simple expression language. This was originally based on the selector expression language found in ActiveMQ. It was modified so that it's supports custom functions and it's comparison expressions were less SQL like, and more script like.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static voidclearCache()io.atlasmap.v2.Fieldevaluate(ExpressionContext expressionContext)Execute the expression against the given context.static Expressionparse(String expessionText, FunctionResolver functionResolver)
-
-
-
Method Detail
-
evaluate
io.atlasmap.v2.Field evaluate(ExpressionContext expressionContext) throws ExpressionException
Execute the expression against the given context.- Parameters:
expressionContext-ExpressionContext- Returns:
Fieldrepresents a result- Throws:
ExpressionException- If evaluation fails
-
parse
static Expression parse(String expessionText, FunctionResolver functionResolver) throws ExpressionException
- Throws:
ExpressionException
-
clearCache
static void clearCache()
-
-