|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EvaluationStrategy
Evaluates TupleExprs and ValueExprs.
| Method Summary | |
|---|---|
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. |
Value |
evaluate(ValueExpr expr,
BindingSet bindings)
Gets the value of this expression. |
boolean |
isTrue(ValueExpr expr,
BindingSet bindings)
Evaluates the boolean expression on the supplied TripleSource object. |
| Method Detail |
|---|
CloseableIteration<BindingSet,QueryEvaluationException> evaluate(TupleExpr expr,
BindingSet bindings)
throws QueryEvaluationException
expr - The Tuple Expression to evaluatebindings - The variables bindings to use for evaluating the expression, if
applicable.
QueryEvaluationException
Value evaluate(ValueExpr expr,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
bindings - The variables bindings to use for evaluating the expression, if
applicable.
ValueExprEvaluationException
QueryEvaluationException
boolean isTrue(ValueExpr expr,
BindingSet bindings)
throws ValueExprEvaluationException,
QueryEvaluationException
bindings - The variables bindings to use for evaluating the expression, if
applicable.
ValueExprEvaluationException - If the value expression could not be evaluated, for example when
comparing two incompatible operands. When thrown, the result of
the boolean expression is neither true nor
false, but unknown.
QueryEvaluationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||