public class CachingQueryEvaluator<ENV_NODE_TYPE> extends Object implements QueryEvaluator<ENV_NODE_TYPE>
Constructor and Description |
---|
CachingQueryEvaluator() |
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.
|
boolean |
isPresent(QueryExpression<?> exp) |
public <OUTPUT_TYPE extends QueryTarget> Set<OUTPUT_TYPE> eval(QueryExpression<ENV_NODE_TYPE> exp, QueryEnvironment<ENV_NODE_TYPE> env) throws QueryException
QueryEvaluator
eval
in interface QueryEvaluator<ENV_NODE_TYPE>
exp
- the query expression to be evaluated.env
- the environment used for evaluation of the given query.QueryException
- if evaluation fails.public boolean isPresent(QueryExpression<?> exp)