Package org.eclipse.rdf4j.query.algebra.evaluation.impl

## Class UnionScopeChangeOptimizer

- java.lang.Object
- - org.eclipse.rdf4j.query.algebra.evaluation.impl.UnionScopeChangeOptimizer

- All Implemented Interfaces:
    `QueryOptimizer`

      public class UnionScopeChangeOptimizer
      extends Object
      implements QueryOptimizer

  Inspect Union clauses to check if scope change can be avoided (allowing injection of pre-bound vars into union arguments).
  Author:
    Jeen Broekstra

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `UnionScopeChangeOptimizer()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `optimize​(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### UnionScopeChangeOptimizer

          public UnionScopeChangeOptimizer()

  - ### Method Detail

    - #### optimize

          public void optimize​(TupleExpr tupleExpr,
                               Dataset dataset,
                               BindingSet bindings)

      Specified by:
        `optimize` in interface `QueryOptimizer`