| org.openrdf.query.algebra.evaluation.EvaluationStrategy
All known Subclasses: org.openrdf.query.algebra.evaluation.impl.EvaluationStrategyImpl,
EvaluationStrategy | public interface EvaluationStrategy (Code) | | Evaluates
TupleExpr s and
ValueExpr s.
author: Arjohn Kampman author: James Leigh |
Method Summary | |
public CloseableIteration<BindingSet, QueryEvaluationException> | evaluate(TupleExpr expr, BindingSet bindings) Evaluates the tuple expression against the supplied triple source with the
specified set of variable bindings as input.
Parameters: expr - The Tuple Expression to evaluate Parameters: bindings - The variables bindings to use for evaluating the expression, ifapplicable. | public Value | evaluate(ValueExpr expr, BindingSet bindings) Gets the value of this expression.
Parameters: bindings - The variables bindings to use for evaluating the expression, ifapplicable. | public boolean | isTrue(ValueExpr expr, BindingSet bindings) Evaluates the boolean expression on the supplied TripleSource object.
Parameters: bindings - The variables bindings to use for evaluating the expression, ifapplicable. |
evaluate | public CloseableIteration<BindingSet, QueryEvaluationException> evaluate(TupleExpr expr, BindingSet bindings) throws QueryEvaluationException(Code) | | Evaluates the tuple expression against the supplied triple source with the
specified set of variable bindings as input.
Parameters: expr - The Tuple Expression to evaluate Parameters: bindings - The variables bindings to use for evaluating the expression, ifapplicable. A closeable iterator over the variable binding sets that match thetuple expression. |
isTrue | public boolean isTrue(ValueExpr expr, BindingSet bindings) throws ValueExprEvaluationException, QueryEvaluationException(Code) | | Evaluates the boolean expression on the supplied TripleSource object.
Parameters: bindings - The variables bindings to use for evaluating the expression, ifapplicable. The result of the evaluation. throws: ValueExprEvaluationException - If the value expression could not be evaluated, for example whencomparing two incompatible operands. When thrown, the result ofthe boolean expression is neither true norfalse, but unknown. |
|
|