Class SynchronousJoin

All Implemented Interfaces:
AutoCloseable, Runnable, Iterator<BindingSet>, CloseableIteration<BindingSet>, ParallelExecutor<BindingSet>
Direct Known Subclasses:
SynchronousBoundJoin

@Deprecated(forRemoval=true) public class SynchronousJoin extends JoinExecutorBase<BindingSet>
Deprecated, for removal: This API element is subject to removal in a future version.
Execute the nested loop join in a synchronous fashion, i.e. one binding after the other
Author:
Andreas Schwarte
  • Constructor Details

  • Method Details

    • handleBindings

      protected void handleBindings() throws Exception
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: JoinExecutorBase
      Implementations must implement this method to handle bindings. Use the following as a template while (!closed invalid input: '&'invalid input: '&' leftIter.hasNext()) { // your code } and add results to rightQueue. Note that addResult() is implemented synchronized and thus thread safe. In case you can guarantee sequential access, it is also possible to directly access rightQueue Note that the implementation must block until the entire join is executed.
      Specified by:
      handleBindings in class JoinExecutorBase<BindingSet>
      Throws:
      Exception