Class CompareOptimizer

java.lang.Object
org.eclipse.rdf4j.query.algebra.evaluation.impl.CompareOptimizer
All Implemented Interfaces:
QueryOptimizer

public class CompareOptimizer extends Object implements QueryOptimizer
A query optimizer that replaces Compare operators with SameTerms, if possible.
Author:
Arjohn Kampman
  • Constructor Details

    • CompareOptimizer

      public CompareOptimizer()
  • Method Details

    • optimize

      public void optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)
      Applies generally applicable optimizations to the supplied query: variable assignments are inlined.
      Specified by:
      optimize in interface QueryOptimizer