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

## Class QueryModelPruner

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

- All Implemented Interfaces:
    `QueryOptimizer`

      @Deprecated
      public class QueryModelPruner
      extends Object
      implements QueryOptimizer

  Deprecated.
  Replaced by `QueryModelNormalizer`.
  A query optimizer that prunes query model trees by removing superfluous parts and/or by reducing complex parts with simpler parts.
  Author:
    Arjohn Kampman

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `protected static class` | `QueryModelPruner.TreeSanitizer` | Deprecated.

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `QueryModelPruner()` | Deprecated.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `optimize​(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)` | Deprecated. Applies generally applicable optimizations: path expressions are sorted from more to less specific.

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

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

- - ### Constructor Detail

    - #### QueryModelPruner

          public QueryModelPruner()

      Deprecated.

  - ### Method Detail

    - #### optimize

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

      Deprecated.
      Applies generally applicable optimizations: path expressions are sorted from more to less specific.
      Specified by:
        `optimize` in interface `QueryOptimizer`
      Parameters:
        `tupleExpr` -