public interface QueryEvaluator<ENV_NODE_TYPE>
Modifier and Type | Method and Description |
---|---|
<OUTPUT_TYPE extends QueryTarget> |
eval(QueryExpression<ENV_NODE_TYPE> exp,
QueryEnvironment<ENV_NODE_TYPE> env)
Evaluates the result of a query expression in the given environment.
|
<OUTPUT_TYPE extends QueryTarget> Set<OUTPUT_TYPE> eval(QueryExpression<ENV_NODE_TYPE> exp, QueryEnvironment<ENV_NODE_TYPE> env) throws QueryException
exp
- the query expression to be evaluated.env
- the environment used for evaluation of the given query.QueryException
- if evaluation fails.