public class ExprEqualsNodeImpl extends ExprNodeBase implements ExprEqualsNode
Constructor and Description |
---|
ExprEqualsNodeImpl(boolean isNotEquals,
boolean isIs)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equalsNode(ExprNode node,
boolean ignoreStreamPrefix)
Return true if a expression node semantically equals the current node, or false if not.
|
Map<String,Object> |
getEventType() |
ExprEvaluator |
getExprEvaluator() |
ExprForge |
getForge() |
ExprPrecedenceEnum |
getPrecedence()
Returns precedence.
|
boolean |
isConstantResult() |
boolean |
isIs()
Returns true if this is a "IS" or "IS NOT" node, false if this is a EQUALS or NOT EQUALS node.
|
boolean |
isNotEquals()
Returns true if this is a NOT EQUALS node, false if this is a EQUALS node.
|
void |
toPrecedenceFreeEPL(StringWriter writer) |
ExprNode |
validate(ExprValidationContext validationContext) |
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, checkValidated, checkValidatedException, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accept, accept, acceptChildnodes, addChildNode, addChildNodes, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes
toEPL
public ExprEqualsNodeImpl(boolean isNotEquals, boolean isIs)
isNotEquals
- - true if this is a (!=) not equals rather then equals, false if its a '=' equalsisIs
- - true when "is" or "is not" (instead of = or <>)public ExprEvaluator getExprEvaluator()
public ExprNode validate(ExprValidationContext validationContext) throws ExprValidationException
validate
in interface ExprValidator
ExprValidationException
public boolean isConstantResult()
public void toPrecedenceFreeEPL(StringWriter writer)
toPrecedenceFreeEPL
in class ExprNodeBase
public ExprPrecedenceEnum getPrecedence()
ExprNode
getPrecedence
in interface ExprNode
public boolean equalsNode(ExprNode node, boolean ignoreStreamPrefix)
ExprNode
Concrete implementations should compare the type and any additional information that impact the evaluation of a node.
equalsNode
in interface ExprNode
node
- to compare toignoreStreamPrefix
- when the equals-comparison can ignore prefix of event propertiespublic boolean isNotEquals()
ExprEqualsNode
isNotEquals
in interface ExprEqualsNode
public boolean isIs()
ExprEqualsNode
isIs
in interface ExprEqualsNode
Copyright © 2005–2018. All rights reserved.