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.
  Replaced by `QueryModelNormalizer`.

      @Deprecated
      public class QueryModelPruner
      extends Object
      implements QueryOptimizer

  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 and Description
    --- | ---
    `protected static class` | `QueryModelPruner.TreeSanitizer` Deprecated.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `QueryModelPruner()` Deprecated.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and 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` -

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