Package com.exasol.sql.expression
Class Not
- java.lang.Object
-
- com.exasol.sql.expression.AbstractBooleanExpression
-
- com.exasol.sql.expression.Not
-
- All Implemented Interfaces:
BooleanExpression,ValueExpression
public class Not extends AbstractBooleanExpression
This class implements the logical unary NOT predicate.
-
-
Constructor Summary
Constructors Constructor Description Not(boolean value)Create a new instance of a unaryNotfrom a boolean literalNot(BooleanExpression operand)Create a new instance of a unaryNotfrom a boolean expressionNot(String value)Create a new instance of a unaryNotfrom a string literal
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(BooleanExpressionVisitor visitor)Accept a visitorBooleanExpressiongetOperand()Get the boolean expression literal to be negated.-
Methods inherited from class com.exasol.sql.expression.AbstractBooleanExpression
accept
-
-
-
-
Constructor Detail
-
Not
public Not(boolean value)
Create a new instance of a unaryNotfrom a boolean literal- Parameters:
value- boolean literal to be negated
-
Not
public Not(String value)
Create a new instance of a unaryNotfrom a string literal- Parameters:
value- string literal to be negated
-
Not
public Not(BooleanExpression operand)
Create a new instance of a unaryNotfrom a boolean expression- Parameters:
operand- boolean expression literal to be negated
-
-
Method Detail
-
getOperand
public BooleanExpression getOperand()
Get the boolean expression literal to be negated.- Returns:
- boolean expression literal to be negated
-
accept
public void accept(BooleanExpressionVisitor visitor)
Description copied from interface:BooleanExpressionAccept a visitor- Parameters:
visitor- visitor to accept
-
-