Class ParallelPreparedAlgebraUnionTask
java.lang.Object
org.eclipse.rdf4j.federated.evaluation.concurrent.ParallelTaskBase<BindingSet>
org.eclipse.rdf4j.federated.evaluation.union.ParallelPreparedAlgebraUnionTask
- All Implemented Interfaces:
ParallelTask<BindingSet>
A task implementation representing a prepared union, i.e. the prepared query is executed on the provided triple
source.
- Author:
- Andreas Schwarte
-
Field Summary
Modifier and TypeFieldDescriptionprotected final BindingSet
protected final Endpoint
protected final FilterValueExpr
protected final TupleExpr
protected final QueryInfo
protected final ParallelExecutor
<BindingSet> Fields inherited from class org.eclipse.rdf4j.federated.evaluation.concurrent.ParallelTaskBase
scheduledFuture
-
Constructor Summary
ConstructorDescriptionParallelPreparedAlgebraUnionTask
(ParallelExecutor<BindingSet> unionControl, TupleExpr preparedQuery, Endpoint endpoint, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo) -
Method Summary
Modifier and TypeMethodDescriptionreturn the controlling instance, e.g.protected CloseableIteration
<BindingSet, QueryEvaluationException> toString()
Methods inherited from class org.eclipse.rdf4j.federated.evaluation.concurrent.ParallelTaskBase
cancel, close, performTask, setScheduledFuture
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.rdf4j.federated.evaluation.concurrent.ParallelTask
getQueryInfo
-
Field Details
-
endpoint
-
preparedQuery
-
bindings
-
unionControl
-
filterExpr
-
queryInfo
-
-
Constructor Details
-
ParallelPreparedAlgebraUnionTask
public ParallelPreparedAlgebraUnionTask(ParallelExecutor<BindingSet> unionControl, TupleExpr preparedQuery, Endpoint endpoint, BindingSet bindings, FilterValueExpr filterExpr, QueryInfo queryInfo)
-
-
Method Details
-
performTaskInternal
protected CloseableIteration<BindingSet,QueryEvaluationException> performTaskInternal() throws Exception- Specified by:
performTaskInternal
in classParallelTaskBase<BindingSet>
- Throws:
Exception
-
getControl
Description copied from interface:ParallelTask
return the controlling instance, e.g. in most cases the instance of a thread. Shared variables are used to inform the thread about new events.- Returns:
- the control executor
-
toString
- Overrides:
toString
in classParallelTaskBase<BindingSet>
-