public class BetweenExpression extends BinaryExpression
left, right| 构造器和说明 |
|---|
BetweenExpression() |
| 限定符和类型 | 方法和说明 |
|---|---|
Expression |
getEnd()
Get the end expression.
|
Expression |
getStart()
Get the start expression.
|
void |
init(Query q)
Inits the expression.
|
boolean |
isNot() |
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 |
setEnd(ValueExpression e) |
void |
setNot(boolean v) |
void |
setStart(ValueExpression s) |
String |
toString()
Return a string representation of the expression, making this abstract forces
sub-classes to provide an implementation.
|
getExpectedReturnType, getLeft, getRight, getValue, hasFixedResult, setLeft, setRightisBracketed, setBracketedpublic void init(Query q) throws QueryParseException
init 在类中 BinaryExpressionq - The Query object.QueryParseException - If the LHS, start or end cannot be inited.public Expression getStart()
ValueExpression.public Expression getEnd()
ValueExpression.public void setEnd(ValueExpression e)
public void setStart(ValueExpression s)
public boolean isNot()
public void setNot(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()
ExpressiontoString 在类中 ExpressionCopyright © 2021. All rights reserved.