Class QueryModelNormalizer
- java.lang.Object
-
- org.eclipse.rdf4j.query.algebra.helpers.AbstractQueryModelVisitor<RuntimeException>
-
- org.eclipse.rdf4j.query.algebra.evaluation.impl.QueryModelNormalizer
-
- All Implemented Interfaces:
QueryOptimizer
,QueryModelVisitor<RuntimeException>
@Deprecated(forRemoval=true, since="4.1.0") public class QueryModelNormalizer extends AbstractQueryModelVisitor<RuntimeException> implements QueryOptimizer
Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.0. UseQueryModelNormalizerOptimizer
instead.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
Constructors Constructor Description QueryModelNormalizer()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
meet(And and)
Deprecated, for removal: This API element is subject to removal in a future version.void
meet(Difference difference)
Deprecated, for removal: This API element is subject to removal in a future version.void
meet(Filter node)
Deprecated, for removal: This API element is subject to removal in a future version.void
meet(Intersection intersection)
Deprecated, for removal: This API element is subject to removal in a future version.void
meet(Join join)
Deprecated, for removal: This API element is subject to removal in a future version.void
meet(LeftJoin leftJoin)
Deprecated, for removal: This API element is subject to removal in a future version.void
meet(Or or)
Deprecated, for removal: This API element is subject to removal in a future version.void
meet(Union union)
Deprecated, for removal: This API element is subject to removal in a future version.protected void
meetUnaryTupleOperator(UnaryTupleOperator node)
Deprecated, for removal: This API element is subject to removal in a future version.Method called by all meet methods with aUnaryTupleOperator
node as argument.void
optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)
Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class org.eclipse.rdf4j.query.algebra.helpers.AbstractQueryModelVisitor
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, meet, meetBinaryTupleOperator, meetBinaryValueOperator, meetCompareSubQueryValueOperator, meetNAryValueOperator, meetNode, meetOther, meetSubQueryValueOperator, meetUnaryValueOperator, meetUpdateExpr
-
-
-
-
Method Detail
-
optimize
public void optimize(TupleExpr tupleExpr, Dataset dataset, BindingSet bindings)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
optimize
in interfaceQueryOptimizer
-
meet
public void meet(Join join)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractQueryModelVisitor<RuntimeException>
-
meet
public void meet(LeftJoin leftJoin)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractQueryModelVisitor<RuntimeException>
-
meet
public void meet(Union union)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractQueryModelVisitor<RuntimeException>
-
meet
public void meet(Difference difference)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractQueryModelVisitor<RuntimeException>
-
meet
public void meet(Intersection intersection)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractQueryModelVisitor<RuntimeException>
-
meetUnaryTupleOperator
protected void meetUnaryTupleOperator(UnaryTupleOperator node)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:AbstractQueryModelVisitor
Method called by all meet methods with aUnaryTupleOperator
node as argument. Forwards the call toAbstractQueryModelVisitor.meetNode(org.eclipse.rdf4j.query.algebra.QueryModelNode)
by default.- Overrides:
meetUnaryTupleOperator
in classAbstractQueryModelVisitor<RuntimeException>
- Parameters:
node
- The node that is being visited.
-
meet
public void meet(Filter node)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractQueryModelVisitor<RuntimeException>
-
meet
public void meet(Or or)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractQueryModelVisitor<RuntimeException>
-
meet
public void meet(And and)
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
meet
in interfaceQueryModelVisitor<RuntimeException>
- Overrides:
meet
in classAbstractQueryModelVisitor<RuntimeException>
-
-