Class ConstantOptimizer

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

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

    • logger

      protected static final org.slf4j.Logger logger
    • strategy

      protected final EvaluationStrategy strategy
  • 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