Package org.apache.activemq.filter
Class UnaryExpression
java.lang.Object
org.apache.activemq.filter.UnaryExpression
- All Implemented Interfaces:
Expression
- Direct Known Subclasses:
MultiExpressionEvaluator.CacheExpression
An expression which performs an operation on two expression values
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic BooleanExpression
createBooleanCast
(Expression left) static BooleanExpression
createInExpression
(PropertyExpression right, List<Object> elements, boolean not) static Expression
createNegate
(Expression left) static BooleanExpression
createNOT
(BooleanExpression left) static BooleanExpression
createXPath
(String xpath) static BooleanExpression
createXQuery
(String xpath) boolean
TODO: more efficient hashCode()abstract String
Returns the symbol that represents this binary expression.getRight()
int
hashCode()
TODO: more efficient hashCode()void
setRight
(Expression expression) toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.activemq.filter.Expression
evaluate
-
Field Details
-
right
-
-
Constructor Details
-
UnaryExpression
-
-
Method Details
-
createNegate
-
createInExpression
public static BooleanExpression createInExpression(PropertyExpression right, List<Object> elements, boolean not) -
createNOT
-
createXPath
-
createXQuery
-
createBooleanCast
-
getRight
-
setRight
-
toString
-
hashCode
public int hashCode()TODO: more efficient hashCode() -
equals
TODO: more efficient hashCode() -
getExpressionSymbol
Returns the symbol that represents this binary expression. For example, addition is represented by "+"- Returns:
-