public abstract class ValueExpression extends Expression
| 构造器和说明 |
|---|
ValueExpression() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract Object |
evaluate(Object o,
Query q) |
Object |
getValue(Object o,
Query q)
Get the value for this expression based upon the object passed in.
|
getExpectedReturnType, hasFixedResult, init, isBracketed, isTrue, setBracketed, toStringpublic Object getValue(Object o, Query q) throws QueryExecutionException
ExpressiongetValue 在类中 Expressiono - The current object that the expression should be evaluated on.q - The Query object.QueryExecutionException - If something goes wrong with gaining the value.public abstract Object evaluate(Object o, Query q) throws QueryExecutionException
Copyright © 2021. All rights reserved.