Class ReplaceProvenanceConstantByNonGroundTermNormalizer
- java.lang.Object
-
- it.unibz.inf.ontop.iq.transform.impl.DefaultRecursiveIQTreeVisitingTransformer
-
- it.unibz.inf.ontop.generation.normalization.impl.ReplaceProvenanceConstantByNonGroundTermNormalizer
-
- All Implemented Interfaces:
DialectExtraNormalizer,IQTreeTransformer,IQTreeVisitingTransformer
public class ReplaceProvenanceConstantByNonGroundTermNormalizer extends DefaultRecursiveIQTreeVisitingTransformer implements DialectExtraNormalizer
Prevents a bug observed with MySQL 5.7.15, where the provenance special constant was misused (causing a MINUS encoded with a LJ and filter is null not to work)
-
-
Field Summary
-
Fields inherited from class it.unibz.inf.ontop.iq.transform.impl.DefaultRecursiveIQTreeVisitingTransformer
iqFactory
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedReplaceProvenanceConstantByNonGroundTermNormalizer(IntermediateQueryFactory iqFactory, TermFactory termFactory, SubstitutionFactory substitutionFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IQTreetransform(IQTree tree, VariableGenerator variableGenerator)IQTreetransformLeftJoin(IQTree tree, LeftJoinNode rootNode, IQTree leftChild, IQTree rightChild)-
Methods inherited from class it.unibz.inf.ontop.iq.transform.impl.DefaultRecursiveIQTreeVisitingTransformer
transformAggregation, transformBinaryNonCommutativeNode, transformConstruction, transformDistinct, transformEmpty, transformExtensionalData, transformFilter, transformInnerJoin, transformIntensionalData, transformLeaf, transformNaryCommutativeNode, transformNonStandardBinaryNonCommutativeNode, transformNonStandardLeafNode, transformNonStandardNaryNode, transformNonStandardUnaryNode, transformOrderBy, transformSlice, transformTrue, transformUnaryNode, transformUnion, transformValues
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface it.unibz.inf.ontop.iq.transform.IQTreeVisitingTransformer
transform
-
-
-
-
Constructor Detail
-
ReplaceProvenanceConstantByNonGroundTermNormalizer
@Inject protected ReplaceProvenanceConstantByNonGroundTermNormalizer(IntermediateQueryFactory iqFactory, TermFactory termFactory, SubstitutionFactory substitutionFactory)
-
-
Method Detail
-
transform
public IQTree transform(IQTree tree, VariableGenerator variableGenerator)
- Specified by:
transformin interfaceDialectExtraNormalizer
-
transformLeftJoin
public IQTree transformLeftJoin(IQTree tree, LeftJoinNode rootNode, IQTree leftChild, IQTree rightChild)
- Specified by:
transformLeftJoinin interfaceIQTreeVisitingTransformer- Overrides:
transformLeftJoinin classDefaultRecursiveIQTreeVisitingTransformer
-
-