Class InExpression


public class InExpression extends BooleanExpression
Expression representing the SQL construct "IN (expr1, expr2, ...)".
  • Field Details

  • Constructor Details

    • InExpression

      public InExpression(SQLExpression expr, SQLExpression[] exprs)
      Constructor for an IN expression.
      Parameters:
      expr - The expression that is contained.
      exprs - The expressions that it is contained in
    • InExpression

      public InExpression(SQLExpression expr, List<SQLExpression> exprList)
      Constructor for an IN expression.
      Parameters:
      expr - The expression that is contained.
      exprList - List of expressions that it is contained in
  • Method Details

    • not

      public BooleanExpression not()
      Description copied from class: SQLExpression
      Logical complement
      Overrides:
      not in class BooleanExpression
      Returns:
      the result value is false if operand is true; otherwise, the result is true.
    • setStatement

      protected void setStatement()