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

## Class ParentReferenceCleaner

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

- All Implemented Interfaces:
    `QueryOptimizer`

      public class ParentReferenceCleaner
      extends Object
      implements QueryOptimizer

  Cleans up `QueryModelNode.getParentNode()` references that have become inconsistent with the actual algebra tree structure due to optimization operations. Typically used at the very end of the optimization pipeline.
  Author:
    Jeen Broekstra

- - ### Constructor Summary

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

  - ### 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

    - #### ParentReferenceCleaner

          public ParentReferenceCleaner()

  - ### Method Detail

    - #### optimize

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

      Specified by:
        `optimize` in interface `QueryOptimizer`