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 final Endpoint
protected final Value
protected final IRI
protected final QueryInfo
protected final Resource
protected final 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> 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
-
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
- Specified by:
performTaskInternal
in classParallelTaskBase<Statement>
- Throws:
Exception
-