Class ConstantOptimizer

java.lang.Object
org.eclipse.rdf4j.query.algebra.evaluation.optimizer.ConstantOptimizer
All Implemented Interfaces:
QueryOptimizer
Direct Known Subclasses:
ConstantOptimizer

public class ConstantOptimizer extends Object implements QueryOptimizer
A query optimizer that optimizes constant value expressions.
Author:
James Leigh, Arjohn Kampman
  • Constructor Details

  • 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