Class NotExpression

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

public class NotExpression extends ExpressionBase
Negates the contained-within subexpression.

Has a single child expression to be negated.

See Also:
  • Constructor Details

    • NotExpression

      public NotExpression(Expression inner)
      Ctor.
      Parameters:
      inner - is the expression to negate
    • NotExpression

      public NotExpression()
      Ctor - for use to create an expression tree, without child expression.
  • 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