Class ControlledWorkerBindJoinBase

java.lang.Object
All Implemented Interfaces:
AutoCloseable, Runnable, Iterator<BindingSet>, CloseableIteration<BindingSet>, ParallelExecutor<BindingSet>
Direct Known Subclasses:
ControlledWorkerBindJoin, ControlledWorkerBindLeftJoin

public abstract class ControlledWorkerBindJoinBase extends JoinExecutorBase<BindingSet>
Base class for executing joins as bind joins (i.e., the bindings of a block are injected in the SPARQL query as VALUES clause). The number of concurrent threads is controlled by a ControlledWorkerScheduler which works according to the FIFO principle and uses worker threads. This join cursor blocks until all scheduled tasks are finished, however the result iteration can be accessed from different threads to allow for pipelining.
Author:
Andreas Schwarte