public class EvaluationStrategyImpl extends org.openrdf.query.algebra.evaluation.impl.EvaluationStrategyImpl implements FederatedEvaluationStrategy
Modifier and Type | Field and Description |
---|---|
static String |
provenanceField |
Constructor and Description |
---|
EvaluationStrategyImpl(QueryExecutor queryExecutor,
ExecutorService executor) |
EvaluationStrategyImpl(QueryExecutor queryExecutor,
ExecutorService executor,
org.openrdf.model.ValueFactory vf) |
Modifier and Type | Method and Description |
---|---|
info.aduna.iteration.CloseableIteration<org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> |
evaluate(BindJoin join,
org.openrdf.query.BindingSet bindings) |
info.aduna.iteration.CloseableIteration<org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> |
evaluate(HashJoin join,
org.openrdf.query.BindingSet bindings) |
info.aduna.iteration.CloseableIteration<org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> |
evaluate(org.openrdf.query.algebra.Join join,
org.openrdf.query.BindingSet bindings) |
info.aduna.iteration.CloseableIteration<org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> |
evaluate(org.openrdf.query.algebra.Projection projection,
org.openrdf.query.BindingSet bindings) |
info.aduna.iteration.CloseableIteration<org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> |
evaluate(SourceQuery expr,
org.openrdf.query.BindingSet bindings) |
info.aduna.iteration.CloseableIteration<org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> |
evaluate(Transform expr,
org.openrdf.query.BindingSet bindings) |
info.aduna.iteration.CloseableIteration<org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> |
evaluate(org.openrdf.query.algebra.TupleExpr expr,
info.aduna.iteration.CloseableIteration<org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> bIter)
Evaluates a @{link TupleExpr} under an iteration of @{link BindingSet}s.
|
info.aduna.iteration.CloseableIteration<org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> |
evaluate(org.openrdf.query.algebra.UnaryTupleOperator expr,
org.openrdf.query.BindingSet bindings) |
boolean |
getIncludeProvenance() |
QueryExecutor |
getQueryExecutor()
Returns the currently used Query Executor
|
void |
setIncludeProvenance(boolean includeProvenance)
Sets the option to include or not provenance data during the evaluation
|
void |
setQueryExecutor(QueryExecutor executor)
Sets the Query Executor to be used by the strategy
|
evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, evaluate, isTrue
public static String provenanceField
public EvaluationStrategyImpl(QueryExecutor queryExecutor, ExecutorService executor, org.openrdf.model.ValueFactory vf)
public EvaluationStrategyImpl(QueryExecutor queryExecutor, ExecutorService executor)
public void setIncludeProvenance(boolean includeProvenance)
FederatedEvaluationStrategy
setIncludeProvenance
in interface FederatedEvaluationStrategy
includeProvenance
- true if provenance is of interest; false otherwisepublic boolean getIncludeProvenance()
public void setQueryExecutor(QueryExecutor executor)
FederatedEvaluationStrategy
setQueryExecutor
in interface FederatedEvaluationStrategy
executor
- the query executorpublic QueryExecutor getQueryExecutor()
FederatedEvaluationStrategy
getQueryExecutor
in interface FederatedEvaluationStrategy
public info.aduna.iteration.CloseableIteration<org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> evaluate(org.openrdf.query.algebra.UnaryTupleOperator expr, org.openrdf.query.BindingSet bindings) throws org.openrdf.query.QueryEvaluationException
evaluate
in class org.openrdf.query.algebra.evaluation.impl.EvaluationStrategyImpl
org.openrdf.query.QueryEvaluationException
public info.aduna.iteration.CloseableIteration<org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> evaluate(org.openrdf.query.algebra.Projection projection, org.openrdf.query.BindingSet bindings) throws org.openrdf.query.QueryEvaluationException
evaluate
in class org.openrdf.query.algebra.evaluation.impl.EvaluationStrategyImpl
org.openrdf.query.QueryEvaluationException
public info.aduna.iteration.CloseableIteration<org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> evaluate(SourceQuery expr, org.openrdf.query.BindingSet bindings) throws org.openrdf.query.QueryEvaluationException
org.openrdf.query.QueryEvaluationException
public info.aduna.iteration.CloseableIteration<org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> evaluate(Transform expr, org.openrdf.query.BindingSet bindings) throws org.openrdf.query.QueryEvaluationException
org.openrdf.query.QueryEvaluationException
public info.aduna.iteration.CloseableIteration<org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> evaluate(org.openrdf.query.algebra.Join join, org.openrdf.query.BindingSet bindings) throws org.openrdf.query.QueryEvaluationException
evaluate
in class org.openrdf.query.algebra.evaluation.impl.EvaluationStrategyImpl
org.openrdf.query.QueryEvaluationException
public info.aduna.iteration.CloseableIteration<org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> evaluate(HashJoin join, org.openrdf.query.BindingSet bindings) throws org.openrdf.query.QueryEvaluationException
org.openrdf.query.QueryEvaluationException
public info.aduna.iteration.CloseableIteration<org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> evaluate(BindJoin join, org.openrdf.query.BindingSet bindings) throws org.openrdf.query.QueryEvaluationException
org.openrdf.query.QueryEvaluationException
public info.aduna.iteration.CloseableIteration<org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> evaluate(org.openrdf.query.algebra.TupleExpr expr, info.aduna.iteration.CloseableIteration<org.openrdf.query.BindingSet,org.openrdf.query.QueryEvaluationException> bIter) throws org.openrdf.query.QueryEvaluationException
EvaluationStrategy
expr
- the expression to evaluatebIter
- a closable iteration of @{link BindingSet}s to be used as different BindingSets
on the variables of the tupleExpr
tupleExpr
org.openrdf.query.QueryEvaluationException
- when the evaluation failsCopyright © 2015 SemaGrow - FP7. All rights reserved.