public class OperandEvaluator
extends java.lang.Object
operands. This class evaluates operands
in the context of a value factory, a set of bind
variables and possibly a query result row.| Constructor and Description |
|---|
OperandEvaluator(ValueFactory factory,
java.util.Map<java.lang.String,Value> variables)
Deprecated.
Creates an operand evaluator for the given value factory and set of
bind variables.
|
| Modifier and Type | Method and Description |
|---|---|
Value |
getValue(Operand operand,
Row row)
Deprecated.
Returns the value of the given operand in the context of the given row.
|
Value |
getValue(StaticOperand operand)
Deprecated.
Returns the value of the given static operand
(
literal or bind variable). |
Value |
getValue(StaticOperand operand,
int type)
Deprecated.
|
Value[] |
getValues(Operand operand,
Row row)
Deprecated.
Evaluates the given operand in the context of the given row.
|
public OperandEvaluator(ValueFactory factory,
java.util.Map<java.lang.String,Value> variables)
factory - value factoryvariables - bind variablespublic Value getValue(StaticOperand operand,
int type)
throws RepositoryException
RepositoryExceptionpublic Value getValue(StaticOperand operand)
throws RepositoryException
literal or bind variable).operand - static operand to be evaluatedRepositoryException - if a named bind variable is not found,
or if the operand type is unknownpublic Value getValue(Operand operand,
Row row)
throws RepositoryException
getValues(Operand, Row) method for more accurate results.operand - operand to be evaluatedrow - query result rowRepositoryExceptionpublic Value[] getValues(Operand operand,
Row row)
throws RepositoryException
operand - operand to be evaluatedrow - query result rowRepositoryException - if the operand can't be evaluated"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"