Class RegExpExpression

java.lang.Object
com.espertech.esper.common.client.soda.ExpressionBase
com.espertech.esper.common.client.soda.RegExpExpression
All Implemented Interfaces:
Expression, Serializable

public class RegExpExpression extends ExpressionBase
Regular expression evaluates a "regexp" regular expression.
See Also:
  • Constructor Details

    • RegExpExpression

      public RegExpExpression(boolean isNot)
      Ctor - for use to create an expression tree, without child expression.
      Parameters:
      isNot - true for negated regex
    • RegExpExpression

      public RegExpExpression(Expression left, Expression right, boolean isNot)
      Ctor.
      Parameters:
      left - provides values to match against regexp string
      right - provides the regexp string
      isNot - true for negated regex
    • RegExpExpression

      public RegExpExpression(Expression left, Expression right, Expression escape, boolean isNot)
      Ctor.
      Parameters:
      left - provides values to match against regexp string
      right - provides the regexp string
      escape - provides the escape character
      isNot - true for negated regex
    • RegExpExpression

      public RegExpExpression()
      Ctor - for use to create an expression tree, without child expression.
    • RegExpExpression

      public RegExpExpression(Expression left, Expression right)
      Ctor.
      Parameters:
      left - provides values to match against regexp string
      right - provides the regexp string
    • RegExpExpression

      public RegExpExpression(Expression left, Expression right, Expression escape)
      Ctor.
      Parameters:
      left - provides values to match against regexp string
      right - provides the regexp string
      escape - provides the escape character
  • Method Details

    • getPrecedence

      public ExpressionPrecedenceEnum getPrecedence()
      Description copied from interface: Expression
      Returns precedence.
      Returns:
      precedence
    • toPrecedenceFreeEPL

      public void toPrecedenceFreeEPL(StringWriter writer)
      Description copied from class: ExpressionBase
      Renders the expressions and all it's child expression, in full tree depth, as a string in language syntax.
      Specified by:
      toPrecedenceFreeEPL in class ExpressionBase
      Parameters:
      writer - is the output to use
    • isNot

      public boolean isNot()
      Returns true if negated.
      Returns:
      indicator whether negated