Class ServiceJoinIterator

All Implemented Interfaces:
AutoCloseable, Iterator<BindingSet>, CloseableIteration<BindingSet>

public class ServiceJoinIterator extends JoinExecutorBase<BindingSet>
Iterator for efficient SERVICE evaluation (vectored). SERVICE is the right handside argument of this join.
Author:
Andreas Schwarte
  • Field Details Link icon

  • Constructor Details Link icon

  • Method Details Link icon

    • handleBindings Link icon

      protected void handleBindings() throws Exception
      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
      Specified by:
      handleBindings in class JoinExecutorBase<BindingSet>
      Throws:
      Exception