Class CaseExpression


  • public class CaseExpression
    extends SQLExpression
    Expression representing the SQL construct
    CASE WHEN expr1 THEN val1 WHEN expr2 THEN val2 ELSE valN END
    .
    • Method Detail

      • ge

        public BooleanExpression ge​(SQLExpression expr)
        Description copied from class: SQLExpression
        Relational operator (greater than or equals)
        Overrides:
        ge in class SQLExpression
        Parameters:
        expr - the right-hand operand
        Returns:
        true if the value of the left-hand operand is greater than or equal the value of the right-hand operand, and otherwise is false.
      • gt

        public BooleanExpression gt​(SQLExpression expr)
        Description copied from class: SQLExpression
        Relational operator (greater than)
        Overrides:
        gt in class SQLExpression
        Parameters:
        expr - the right-hand operand
        Returns:
        true if the value of the left-hand operand is greater than the value of the right-hand operand, and otherwise is false.
      • le

        public BooleanExpression le​(SQLExpression expr)
        Description copied from class: SQLExpression
        Relational operator (lower than or equals)
        Overrides:
        le in class SQLExpression
        Parameters:
        expr - the right-hand operand
        Returns:
        true if the value of the left-hand operand is less than or equal to the value of the right-hand operand, and otherwise is false.
      • lt

        public BooleanExpression lt​(SQLExpression expr)
        Description copied from class: SQLExpression
        Relational operator (lower than)
        Overrides:
        lt in class SQLExpression
        Parameters:
        expr - the right-hand operand
        Returns:
        true if the value of the left-hand operand is less than the value of the right-hand operand, and otherwise is false.