public class ExprRegexpNode extends ExprNodeBase
Constructor and Description |
---|
ExprRegexpNode(boolean not)
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.
|
ExprEvaluator |
getExprEvaluator() |
ExprForge |
getForge() |
ExprPrecedenceEnum |
getPrecedence()
Returns precedence.
|
Class |
getType() |
boolean |
isConstantResult() |
boolean |
isNot()
Returns true if this is a "not regexp", or false if just a regexp
|
void |
toPrecedenceFreeEPL(StringWriter writer) |
ExprNode |
validate(ExprValidationContext validationContext) |
accept, accept, acceptChildnodes, addChildNode, addChildNodes, addChildNodeToFront, checkValidated, checkValidatedException, getChildNodes, replaceUnlistedChildNode, setChildNode, setChildNodes, toEPL
public ExprRegexpNode(boolean not)
not
- is true if the it's a "not regexp" expression, of false for regular regexppublic ExprEvaluator getExprEvaluator()
public ExprForge getForge()
public ExprNode validate(ExprValidationContext validationContext) throws ExprValidationException
ExprValidationException
public Class getType()
public boolean isConstantResult()
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.
node
- to compare toignoreStreamPrefix
- when the equals-comparison can ignore prefix of event propertiespublic void toPrecedenceFreeEPL(StringWriter writer)
toPrecedenceFreeEPL
in class ExprNodeBase
public ExprPrecedenceEnum getPrecedence()
ExprNode
public boolean isNot()
Copyright © 2005–2018. All rights reserved.