Class ParallelGetStatementsTask
java.lang.Object
org.eclipse.rdf4j.federated.evaluation.concurrent.ParallelTaskBase<Statement>
org.eclipse.rdf4j.federated.evaluation.union.ParallelGetStatementsTask
- All Implemented Interfaces:
ParallelTask<Statement>
A task implementation to retrieve statements for a given
StatementPattern
using the provided triple source.- Author:
- Andreas Schwarte
-
Field Summary
Modifier and TypeFieldDescriptionprotected Resource[]
protected Endpoint
protected Value
protected IRI
protected QueryInfo
protected Resource
protected ParallelExecutor<Statement>
Fields inherited from class org.eclipse.rdf4j.federated.evaluation.concurrent.ParallelTaskBase
scheduledFuture
-
Constructor Summary
ConstructorDescriptionParallelGetStatementsTask(ParallelExecutor<Statement> unionControl, Endpoint endpoint, Resource subj, IRI pred, Value obj, QueryInfo queryInfo, Resource... contexts)
-
Method Summary
Modifier and TypeMethodDescriptionreturn the controlling instance, e.g.protected CloseableIteration<Statement,QueryEvaluationException>
Methods inherited from class org.eclipse.rdf4j.federated.evaluation.concurrent.ParallelTaskBase
cancel, 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
-
unionControl
-
endpoint
-
subj
-
pred
-
obj
-
queryInfo
-
contexts
-
-
Constructor Details
-
ParallelGetStatementsTask
-
-
Method Details
-
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
-
performTaskInternal
protected CloseableIteration<Statement,QueryEvaluationException> performTaskInternal() throws Exception- Specified by:
performTaskInternal
in classParallelTaskBase<Statement>
- Throws:
Exception
-