Class QueryModelPruner
- java.lang.Object
-
- org.eclipse.rdf4j.sail.federation.optimizers.QueryModelPruner
-
- All Implemented Interfaces:
QueryOptimizer
public class QueryModelPruner extends Object implements QueryOptimizer
A query optimizer that prunes query model trees by removing superfluous parts and/or by reducing complex parts with simpler parts.- Author:
- Arjohn Kampman
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected class
QueryModelPruner.TreeSanitizer
-
Constructor Summary
Constructors Constructor Description QueryModelPruner()
-
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: path expressions are sorted from more to less specific.
-
-
-
Method Detail
-
optimize
public void optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)
Applies generally applicable optimizations: path expressions are sorted from more to less specific.- Specified by:
optimize
in interfaceQueryOptimizer
-
-