public class GTLTExpression extends BinaryExpression
left, right| 构造器和说明 |
|---|
GTLTExpression() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getType() |
boolean |
isIgnoreCase() |
boolean |
isTrue(Object o,
Query q)
Return whether this expression evaluates to true.
|
void |
setIgnoreCase(boolean v) |
void |
setType(int t)
Type is an integer here for speed purposes, however one of the constants
should be used.
|
String |
toString()
Return a string representation of the expression, making this abstract forces
sub-classes to provide an implementation.
|
getExpectedReturnType, getLeft, getRight, getValue, hasFixedResult, init, setLeft, setRightisBracketed, setBracketedpublic int getType()
public void setType(int t)
t - The type of expression.public void setIgnoreCase(boolean v)
public boolean isIgnoreCase()
public boolean isTrue(Object o, Query q) throws QueryExecutionException
Utilities.compare(Object,Object) which copes with
the object types.isTrue 在类中 Expressiono - The current object to evaluate the expression on.q - The Query object.true if the expression evaluates to true.QueryExecutionException - If the expression cannot be evaluated.public String toString()
ExpressiontoString 在类中 ExpressionCopyright © 2021. All rights reserved.