Class ParallelJoinTask
java.lang.Object
org.eclipse.rdf4j.federated.evaluation.concurrent.ParallelTaskBase<BindingSet>
org.eclipse.rdf4j.federated.evaluation.join.ParallelJoinTask
- All Implemented Interfaces:
ParallelTask<BindingSet>
A task implementation representing a join, i.e. the provided expression is evaluated with the given bindings.
- Author:
- Andreas Schwarte
-
Field Summary
Modifier and TypeFieldDescriptionprotected final BindingSet
protected final TupleExpr
protected final ParallelExecutor<BindingSet>
protected final FederationEvalStrategy
Fields inherited from class org.eclipse.rdf4j.federated.evaluation.concurrent.ParallelTaskBase
scheduledFuture
-
Constructor Summary
ConstructorDescriptionParallelJoinTask
(ParallelExecutor<BindingSet> joinControl, FederationEvalStrategy strategy, TupleExpr expr, BindingSet bindings) -
Method Summary
Modifier and TypeMethodDescriptionreturn the controlling instance, e.g.protected CloseableIteration<BindingSet>
Methods inherited from class org.eclipse.rdf4j.federated.evaluation.concurrent.ParallelTaskBase
cancel, close, performTask, setScheduledFuture, toString
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
-
strategy
-
expr
-
bindings
-
joinControl
-
-
Constructor Details
-
ParallelJoinTask
public ParallelJoinTask(ParallelExecutor<BindingSet> joinControl, FederationEvalStrategy strategy, TupleExpr expr, BindingSet bindings)
-
-
Method Details
-
performTaskInternal
- 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
-