public class AndOrExpression extends BinaryExpression
left, right| 构造器和说明 |
|---|
AndOrExpression() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isAnd() |
boolean |
isTrue(Object o,
Query q)
This method allows ANY expression (including those that extend
ValueExpression)
to be used in the WHERE and HAVING clauses but ensuring that a boolean value is
available for every expression. |
void |
setAnd(boolean v) |
String |
toString()
Return a string version of this expression.
|
getExpectedReturnType, getLeft, getRight, getValue, hasFixedResult, init, setLeft, setRightisBracketed, setBracketedpublic boolean isAnd()
public void setAnd(boolean v)
public boolean isTrue(Object o, Query q) throws QueryExecutionException
ExpressionValueExpression)
to be used in the WHERE and HAVING clauses but ensuring that a boolean value is
available for every expression.isTrue 在类中 Expressiono - The current object to evaluate the expression on.q - The Query object.true if the expression evaluates to true (well duh...).QueryExecutionException - If there is a problem with the execution of the
expression.public String toString()
toString 在类中 ExpressionCopyright © 2021. All rights reserved.