public class IsNullExpression extends BinaryExpression
left, right| 构造器和说明 |
|---|
IsNullExpression() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在类中 Expressionpublic boolean isTrue(Object o, Query q) throws QueryExecutionException
LHS = null or:
LHS != null.isTrue 在类中 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.Copyright © 2021. All rights reserved.