java.lang.Object
com.espertech.esper.common.internal.epl.expression.core.ExprNodeBase
com.espertech.esper.common.internal.epl.expression.ops.ExprRegexpNode
All Implemented Interfaces:
ExprNode, ExprNodeRenderable, ExprValidator

public class ExprRegexpNode extends ExprNodeBase
Represents the regexp-clause in an expression tree.
  • Constructor Details

    • ExprRegexpNode

      public ExprRegexpNode(boolean not)
      Ctor.
      Parameters:
      not - is true if the it's a "not regexp" expression, of false for regular regexp
  • Method Details

    • getExprEvaluator

      public ExprEvaluator getExprEvaluator()
    • getForge

      public ExprForge getForge()
    • validate

      public ExprNode validate(ExprValidationContext validationContext) throws ExprValidationException
      Throws:
      ExprValidationException
    • getType

      public Class getType()
    • isConstantResult

      public boolean isConstantResult()
    • equalsNode

      public boolean equalsNode(ExprNode node, boolean ignoreStreamPrefix)
      Description copied from interface: ExprNode
      Return true if a expression node semantically equals the current node, or false if not.

      Concrete implementations should compare the type and any additional information that impact the evaluation of a node.

      Parameters:
      node - to compare to
      ignoreStreamPrefix - when the equals-comparison can ignore prefix of event properties
      Returns:
      true if semantically equal, or false if not equals
    • toPrecedenceFreeEPL

      public void toPrecedenceFreeEPL(StringWriter writer, ExprNodeRenderableFlags flags)
      Specified by:
      toPrecedenceFreeEPL in class ExprNodeBase
    • getPrecedence

      public ExprPrecedenceEnum getPrecedence()
      Description copied from interface: ExprNode
      Returns precedence.
      Returns:
      precedence
    • isNot

      public boolean isNot()
      Returns true if this is a "not regexp", or false if just a regexp
      Returns:
      indicator whether negated or not