Class SubqueryInExpression

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

public class SubqueryInExpression extends ExpressionBase
In-expression for a set of values returned by a lookup.
See Also:
  • Constructor Details

    • SubqueryInExpression

      public SubqueryInExpression()
      Ctor.
    • SubqueryInExpression

      public SubqueryInExpression(EPStatementObjectModel model, boolean isNotIn)
      Ctor - for use to create an expression tree, without child expression.
      Parameters:
      model - is the lookup statement object model
      isNotIn - is true for not-in
    • SubqueryInExpression

      public SubqueryInExpression(Expression expression, EPStatementObjectModel model, boolean isNotIn)
      Ctor - for use to create an expression tree, without child expression.
      Parameters:
      expression - is the expression providing the value to match
      model - is the lookup statement object model
      isNotIn - is true for not-in
  • Method Details

    • isNotIn

      public boolean isNotIn()
      Returns true for not-in, or false for in-lookup.
      Returns:
      true for not-in
    • setNotIn

      public void setNotIn(boolean notIn)
      Set to true for not-in, or false for in-lookup.
      Parameters:
      notIn - true for not-in
    • 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
    • getModel

      public EPStatementObjectModel getModel()
      Returns the lookup statement object model.
      Returns:
      lookup model
    • setModel

      public void setModel(EPStatementObjectModel model)
      Sets the lookup statement object model.
      Parameters:
      model - is the lookup model to set