public class IsNullExpression extends BinaryExpression
left, right| Constructor and Description |
|---|
IsNullExpression() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isNot() |
boolean |
isTrue(Object o,
Query q)
Determine whether the LHS of this expression is or is not null.
|
void |
setNot(boolean v) |
String |
toString()
Return a string representation of this expression.
|
getExpectedReturnType, getLeft, getRight, getValue, hasFixedResult, init, setLeft, setRightisBracketed, setBracketedpublic boolean isNot()
public void setNot(boolean v)
public String toString()
Expression.toString() IS [ NOT ] NULLtoString in class Expressionpublic boolean isTrue(Object o, Query q) throws QueryExecutionException
LHS = null or:
LHS != null.isTrue in class Expressiono - The current object to perform the expression on.q - The Query object.true if the LHS is null (or not null is specified).QueryExecutionException - If the expression cannot be evaluated.