inetsoft.uql.path.expr
Class QueryExpr
java.lang.Object
inetsoft.uql.path.ConditionExpression
inetsoft.uql.path.expr.Expr
inetsoft.uql.path.expr.QueryExpr
- All Implemented Interfaces:
- Serializable
public class QueryExpr
- extends Expr
A subquery expression.
- See Also:
- Serialized Form
| Methods inherited from class inetsoft.uql.path.expr.Expr |
aggregate, append, booleanValue, compare, compare, doubleValue, getScalar, getScalarString, getVariables, toArray, toString, toStringNot, toVector |
QueryExpr
public QueryExpr(String name)
- Create a subquery.
- Parameters:
name - the name of the subquery as defined in query registry.
setParameter
public void setParameter(String pname,
Expr pval)
- Set the parameter value.
execute
public Object execute(XNode tree,
VariableTable vars)
throws Exception
- Execute the expression on a data tree.
- Specified by:
execute in class ConditionExpression
- Parameters:
tree - data tree.vars - variable table.
- Throws:
Exception
getExpressions
public Expr[] getExpressions()
- Get the expressions used in this expr. This is used for traversal down
the expr tree.
- Specified by:
getExpressions in class Expr
toString
public String toString()
- Overrides:
toString in class Object