Class RepositoryFederatedService.FallbackServiceIteration

All Implemented Interfaces:
AutoCloseable, CloseableIteration<BindingSet,QueryEvaluationException>, Iteration<BindingSet,QueryEvaluationException>
Enclosing class:
RepositoryFederatedService

private class RepositoryFederatedService.FallbackServiceIteration extends JoinExecutorBase<BindingSet>
Helper iteration to evaluate a block of BindingSets using the simple RepositoryFederatedService.select(Service, Set, BindingSet, String) routine.
  • Field Details

    • service

      private final Service service
    • allBindings

      private final List<BindingSet> allBindings
    • baseUri

      private final String baseUri
  • Constructor Details

  • Method Details

    • handleBindings

      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