Class TupleFunctionEvaluationStrategy
java.lang.Object
org.eclipse.rdf4j.query.algebra.evaluation.impl.DefaultEvaluationStrategy
org.eclipse.rdf4j.query.algebra.evaluation.impl.StrictEvaluationStrategy
org.eclipse.rdf4j.query.algebra.evaluation.impl.TupleFunctionEvaluationStrategy
- All Implemented Interfaces:
EvaluationStrategy
,FederatedServiceResolver
,FederatedServiceResolverClient
@Deprecated(since="4.3.0",
forRemoval=true)
public class TupleFunctionEvaluationStrategy
extends StrictEvaluationStrategy
Deprecated, for removal: This API element is subject to removal in a future version.
An
EvaluationStrategy
that has support for TupleFunction
s.-
Field Summary
Fields inherited from class org.eclipse.rdf4j.query.algebra.evaluation.impl.DefaultEvaluationStrategy
dataset, serviceResolver, tripleSource
-
Constructor Summary
ConstructorDescriptionTupleFunctionEvaluationStrategy
(TripleSource tripleSource, Dataset dataset, FederatedServiceResolver serviceResolver) Deprecated, for removal: This API element is subject to removal in a future version.TupleFunctionEvaluationStrategy
(TripleSource tripleSource, Dataset dataset, FederatedServiceResolver serviceResolver, long iterationCacheSyncThreshold) Deprecated, for removal: This API element is subject to removal in a future version.TupleFunctionEvaluationStrategy
(TripleSource tripleSource, Dataset dataset, FederatedServiceResolver serviceResolver, long iterationCacheSyncThreshold, EvaluationStatistics evaluationStatistics) Deprecated, for removal: This API element is subject to removal in a future version.TupleFunctionEvaluationStrategy
(TripleSource tripleSource, Dataset dataset, FederatedServiceResolver serviceResolver, TupleFunctionRegistry tupleFunctionRegistry) Deprecated, for removal: This API element is subject to removal in a future version.TupleFunctionEvaluationStrategy
(TripleSource tripleSource, Dataset dataset, FederatedServiceResolver serviceResolver, TupleFunctionRegistry tupleFuncRegistry, long iterationCacheSyncThreshold, EvaluationStatistics evaluationStatistics) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionstatic CloseableIteration<BindingSet>
evaluate
(TupleFunction func, List<Var> resultVars, BindingSet bindings, ValueFactory valueFactory, Value... argValues) Deprecated, for removal: This API element is subject to removal in a future version.evaluate
(TupleExpr expr, BindingSet bindings) Deprecated, for removal: This API element is subject to removal in a future version.evaluate
(TupleFunctionCall expr, BindingSet bindings) Deprecated, for removal: This API element is subject to removal in a future version.precompile
(TupleExpr expr, QueryEvaluationContext context) Deprecated, for removal: This API element is subject to removal in a future version.protected QueryEvaluationStep
prepare
(TupleFunctionCall expr, QueryEvaluationContext context) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class org.eclipse.rdf4j.query.algebra.evaluation.impl.DefaultEvaluationStrategy
evaluate, evaluate, evaluate, evaluate, getCollectionFactory, getFederatedServiceResolver, getLimit, getQueryEvaluationMode, getService, getVarValue, isReducedOrDistinct, isTrue, isTrue, optimize, precompile, precompile, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepare, setCollectionFactory, setFederatedServiceResolver, setOptimizerPipeline, setQueryEvaluationMode, setTrackResultSize, setTrackTime, supplyBinaryValueEvaluation, supplyUnaryValueEvaluation
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.rdf4j.query.algebra.evaluation.EvaluationStrategy
isTrackResultSize, makeQueue, makeSet
-
Constructor Details
-
TupleFunctionEvaluationStrategy
public TupleFunctionEvaluationStrategy(TripleSource tripleSource, Dataset dataset, FederatedServiceResolver serviceResolver) Deprecated, for removal: This API element is subject to removal in a future version. -
TupleFunctionEvaluationStrategy
public TupleFunctionEvaluationStrategy(TripleSource tripleSource, Dataset dataset, FederatedServiceResolver serviceResolver, long iterationCacheSyncThreshold) Deprecated, for removal: This API element is subject to removal in a future version. -
TupleFunctionEvaluationStrategy
public TupleFunctionEvaluationStrategy(TripleSource tripleSource, Dataset dataset, FederatedServiceResolver serviceResolver, TupleFunctionRegistry tupleFunctionRegistry) Deprecated, for removal: This API element is subject to removal in a future version. -
TupleFunctionEvaluationStrategy
public TupleFunctionEvaluationStrategy(TripleSource tripleSource, Dataset dataset, FederatedServiceResolver serviceResolver, TupleFunctionRegistry tupleFuncRegistry, long iterationCacheSyncThreshold, EvaluationStatistics evaluationStatistics) Deprecated, for removal: This API element is subject to removal in a future version. -
TupleFunctionEvaluationStrategy
public TupleFunctionEvaluationStrategy(TripleSource tripleSource, Dataset dataset, FederatedServiceResolver serviceResolver, long iterationCacheSyncThreshold, EvaluationStatistics evaluationStatistics) Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
evaluate
@Deprecated(forRemoval=true) public CloseableIteration<BindingSet> evaluate(TupleExpr expr, BindingSet bindings) throws QueryEvaluationException Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:EvaluationStrategy
Evaluates the tuple expression against the supplied triple source with the specified set of variable bindings as input.- Specified by:
evaluate
in interfaceEvaluationStrategy
- Overrides:
evaluate
in classDefaultEvaluationStrategy
- Parameters:
expr
- The Tuple Expression to evaluatebindings
- The variables bindings to use for evaluating the expression, if applicable.- Returns:
- A closeable iterator over the variable binding sets that match the tuple expression.
- Throws:
QueryEvaluationException
-
precompile
public QueryEvaluationStep precompile(TupleExpr expr, QueryEvaluationContext context) throws QueryEvaluationException Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
precompile
in interfaceEvaluationStrategy
- Overrides:
precompile
in classDefaultEvaluationStrategy
- Throws:
QueryEvaluationException
-
evaluate
@Deprecated(forRemoval=true) public CloseableIteration<BindingSet> evaluate(TupleFunctionCall expr, BindingSet bindings) throws QueryEvaluationException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
QueryEvaluationException
-
prepare
protected QueryEvaluationStep prepare(TupleFunctionCall expr, QueryEvaluationContext context) throws QueryEvaluationException Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
prepare
in classDefaultEvaluationStrategy
- Throws:
QueryEvaluationException
-
evaluate
public static CloseableIteration<BindingSet> evaluate(TupleFunction func, List<Var> resultVars, BindingSet bindings, ValueFactory valueFactory, Value... argValues) throws QueryEvaluationException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
QueryEvaluationException
-
DefaultEvaluationStrategy
instead.