Package org.apache.activemq.filter
Class MultiExpressionEvaluator.CacheExpression
java.lang.Object
org.apache.activemq.filter.UnaryExpression
org.apache.activemq.filter.MultiExpressionEvaluator.CacheExpression
- All Implemented Interfaces:
Expression
- Enclosing class:
- MultiExpressionEvaluator
A UnaryExpression that caches the result of the nested expression. The
cached value is valid if the
CacheExpression.cview==MultiExpressionEvaluator.view
-
Field Summary
Fields inherited from class org.apache.activemq.filter.UnaryExpression
right
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
TODO: more efficient hashCode()evaluate
(MessageEvaluationContext message) Returns the symbol that represents this binary expression.int
hashCode()
TODO: more efficient hashCode()toString()
Methods inherited from class org.apache.activemq.filter.UnaryExpression
createBooleanCast, createInExpression, createNegate, createNOT, createXPath, createXQuery, getRight, setRight
-
Constructor Details
-
CacheExpression
-
-
Method Details
-
evaluate
- Returns:
- the value of this expression
- Throws:
jakarta.jms.JMSException
- See Also:
-
hashCode
public int hashCode()Description copied from class:UnaryExpression
TODO: more efficient hashCode()- Overrides:
hashCode
in classUnaryExpression
- See Also:
-
equals
Description copied from class:UnaryExpression
TODO: more efficient hashCode()- Overrides:
equals
in classUnaryExpression
- See Also:
-
getExpressionSymbol
Description copied from class:UnaryExpression
Returns the symbol that represents this binary expression. For example, addition is represented by "+"- Specified by:
getExpressionSymbol
in classUnaryExpression
- Returns:
-
toString
- Overrides:
toString
in classUnaryExpression
- See Also:
-