Class ConstantOptimizer

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

@Deprecated(forRemoval=true, since="4.1.0") public class ConstantOptimizer extends Object implements QueryOptimizer
Deprecated, for removal: This API element is subject to removal in a future version.
A query optimizer that optimizes constant value expressions.
Author:
James Leigh, Arjohn Kampman
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    protected class 
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected class 
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final org.slf4j.Logger
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected final EvaluationStrategy
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Applies generally applicable optimizations to the supplied query: variable assignments are inlined.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • logger

      protected static final org.slf4j.Logger logger
      Deprecated, for removal: This API element is subject to removal in a future version.
    • strategy

      protected final EvaluationStrategy strategy
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • ConstantOptimizer

      public ConstantOptimizer(EvaluationStrategy strategy)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • optimize

      public void optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Applies generally applicable optimizations to the supplied query: variable assignments are inlined.
      Specified by:
      optimize in interface QueryOptimizer