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 Summary
Constructors Constructor Description ConstantOptimizer(EvaluationStrategy strategy)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)
Applies generally applicable optimizations to the supplied query: variable assignments are inlined.
-
-
-
Constructor Detail
-
ConstantOptimizer
public ConstantOptimizer(EvaluationStrategy strategy)
-
-
Method Detail
-
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 interfaceQueryOptimizer
-
-