org.eclipse.rdf4j.federated.evaluation.join

## Class ParallelLeftJoinTask

- java.lang.Object
- - org.eclipse.rdf4j.federated.evaluation.concurrent.ParallelTaskBase<BindingSet>
  - - org.eclipse.rdf4j.federated.evaluation.join.ParallelLeftJoinTask

- All Implemented Interfaces:
    ParallelTask<BindingSet>

      public class ParallelLeftJoinTask
      extends ParallelTaskBase<BindingSet>

  A task implementation representing a join, i.e. the provided expression is evaluated with the given bindings.
  Author:
    Andreas Schwarte

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected LeftJoin` | `join`
    `protected ParallelExecutor<BindingSet>` | `joinControl`
    `protected BindingSet` | `leftBindings`
    `protected FederationEvalStrategy` | `strategy`

    - ### Fields inherited from class org.eclipse.rdf4j.federated.evaluation.concurrent.ParallelTaskBase

      `scheduledFuture`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ParallelLeftJoinTask(ParallelExecutor<BindingSet> joinControl, FederationEvalStrategy strategy, LeftJoin join, BindingSet leftBindings)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ParallelExecutor<BindingSet>` | `getControl()` return the controlling instance, e.g.
    `protected CloseableIteration<BindingSet,QueryEvaluationException>` | `performTaskInternal()`

    - ### Methods inherited from class org.eclipse.rdf4j.federated.evaluation.concurrent.ParallelTaskBase

      `cancel, 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 Detail

    - #### strategy

          protected final FederationEvalStrategy strategy

    - #### join

          protected final LeftJoin join

    - #### leftBindings

          protected final BindingSet leftBindings

    - #### joinControl

          protected final ParallelExecutor<BindingSet> joinControl

  - ### Constructor Detail

    - #### ParallelLeftJoinTask

          public ParallelLeftJoinTask(ParallelExecutor<BindingSet> joinControl,
                                      FederationEvalStrategy strategy,
                                      LeftJoin join,
                                      BindingSet leftBindings)

  - ### Method Detail

    - #### performTaskInternal

          protected CloseableIteration<BindingSet,QueryEvaluationException> performTaskInternal()
                                                                                         throws Exception

      Specified by:
        `performTaskInternal` in class `ParallelTaskBase<BindingSet>`
      Throws:
        `Exception`

    - #### getControl

          public ParallelExecutor<BindingSet> 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

Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.