Class QueryModelNormalizerOptimizer
java.lang.Object
org.eclipse.rdf4j.query.algebra.helpers.AbstractSimpleQueryModelVisitor<RuntimeException>
org.eclipse.rdf4j.query.algebra.evaluation.optimizer.QueryModelNormalizerOptimizer
- All Implemented Interfaces:
QueryOptimizer
,QueryModelVisitor<RuntimeException>
public class QueryModelNormalizerOptimizer
extends AbstractSimpleQueryModelVisitor<RuntimeException>
implements QueryOptimizer
A query optimizer that (partially) normalizes query models to a canonical form. Note: this implementation does not
yet cover all query node types.
- Author:
- Arjohn Kampman
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
meet
(Difference difference) void
void
meet
(Intersection intersection) void
void
void
void
protected void
Method called by all meet methods with aUnaryTupleOperator
node as argument.void
optimize
(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings) Methods inherited from class org.eclipse.rdf4j.query.algebra.helpers.AbstractSimpleQueryModelVisitor
meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meet, meetBinaryTupleOperator, meetBinaryValueOperator, meetCompareSubQueryValueOperator, meetNAryValueOperator, meetOther, meetSubQueryValueOperator, meetUnaryValueOperator, meetUnsupported, meetUpdateExpr
-
Constructor Details
-
QueryModelNormalizerOptimizer
public QueryModelNormalizerOptimizer()
-
-
Method Details
-
optimize
- Specified by:
optimize
in interfaceQueryOptimizer
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractSimpleQueryModelVisitor<RuntimeException>
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractSimpleQueryModelVisitor<RuntimeException>
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractSimpleQueryModelVisitor<RuntimeException>
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractSimpleQueryModelVisitor<RuntimeException>
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractSimpleQueryModelVisitor<RuntimeException>
-
meetUnaryTupleOperator
Description copied from class:AbstractSimpleQueryModelVisitor
Method called by all meet methods with aUnaryTupleOperator
node as argument.- Overrides:
meetUnaryTupleOperator
in classAbstractSimpleQueryModelVisitor<RuntimeException>
- Parameters:
node
- The node that is being visited.
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractSimpleQueryModelVisitor<RuntimeException>
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractSimpleQueryModelVisitor<RuntimeException>
-
meet
- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractSimpleQueryModelVisitor<RuntimeException>
-