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 unaryNot
from a boolean literalNot(BooleanExpression operand)
Create a new instance of a unaryNot
from a boolean expressionNot(String value)
Create a new instance of a unaryNot
from a string literal
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(BooleanExpressionVisitor visitor)
Accept a visitorBooleanExpression
getOperand()
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 unaryNot
from a boolean literal- Parameters:
value
- boolean literal to be negated
-
Not
public Not(String value)
Create a new instance of a unaryNot
from a string literal- Parameters:
value
- string literal to be negated
-
Not
public Not(BooleanExpression operand)
Create a new instance of a unaryNot
from 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:BooleanExpression
Accept a visitor- Parameters:
visitor
- visitor to accept
-
-