public class ConstantOptimizer extends Object implements QueryOptimizer
Modifier and Type | Class and Description |
---|---|
protected class |
ConstantOptimizer.ConstantVisitor |
protected class |
ConstantOptimizer.VarNameCollector |
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
logger |
protected EvaluationStrategy |
strategy |
Constructor and Description |
---|
ConstantOptimizer(EvaluationStrategy strategy) |
Modifier and Type | Method and Description |
---|---|
void |
optimize(TupleExpr tupleExpr,
Dataset dataset,
BindingSet bindings)
Applies generally applicable optimizations to the supplied query: variable assignments are inlined.
|
protected static final org.slf4j.Logger logger
protected final EvaluationStrategy strategy
public ConstantOptimizer(EvaluationStrategy strategy)
public void optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)
optimize
in interface QueryOptimizer
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.