Class AggregationSimplifierImpl.AggregationSimplifyingTransformer
- java.lang.Object
-
- it.unibz.inf.ontop.iq.transform.impl.DefaultRecursiveIQTreeVisitingTransformer
-
- it.unibz.inf.ontop.iq.transformer.impl.RDFTypeDependentSimplifyingTransformer
-
- it.unibz.inf.ontop.iq.optimizer.impl.AggregationSimplifierImpl.AggregationSimplifyingTransformer
-
- All Implemented Interfaces:
IQTreeTransformer,IQTreeVisitingTransformer
- Enclosing class:
- AggregationSimplifierImpl
protected static class AggregationSimplifierImpl.AggregationSimplifyingTransformer extends RDFTypeDependentSimplifyingTransformer
Recursive
-
-
Field Summary
-
Fields inherited from class it.unibz.inf.ontop.iq.transform.impl.DefaultRecursiveIQTreeVisitingTransformer
iqFactory
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAggregationSimplifyingTransformer(VariableGenerator variableGenerator, OptimizationSingletons optimizationSingletons)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ImmutableTermextractRDFTermTypeTerm(ImmutableTerm rdfTerm)protected booleanisRDFFunctionalTerm(ImmutableTerm term)protected Optional<SPARQLAggregationFunctionSymbol.AggregationSimplification>simplifyAggregationFunctionalTerm(ImmutableFunctionalTerm aggregationFunctionalTerm, IQTree child, boolean hasGroupBy)IQTreetransformAggregation(IQTree tree, AggregationNode rootNode, IQTree child)-
Methods inherited from class it.unibz.inf.ontop.iq.transformer.impl.RDFTypeDependentSimplifyingTransformer
extractPossibleTypes, pushDownDefinitions, unwrapIfElseNull
-
Methods inherited from class it.unibz.inf.ontop.iq.transform.impl.DefaultRecursiveIQTreeVisitingTransformer
transformBinaryNonCommutativeNode, transformConstruction, transformDistinct, transformEmpty, transformExtensionalData, transformFilter, transformInnerJoin, transformIntensionalData, transformLeaf, transformLeftJoin, 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
-
AggregationSimplifyingTransformer
protected AggregationSimplifyingTransformer(VariableGenerator variableGenerator, OptimizationSingletons optimizationSingletons)
-
-
Method Detail
-
transformAggregation
public IQTree transformAggregation(IQTree tree, AggregationNode rootNode, IQTree child)
- Specified by:
transformAggregationin interfaceIQTreeVisitingTransformer- Overrides:
transformAggregationin classDefaultRecursiveIQTreeVisitingTransformer
-
simplifyAggregationFunctionalTerm
protected Optional<SPARQLAggregationFunctionSymbol.AggregationSimplification> simplifyAggregationFunctionalTerm(ImmutableFunctionalTerm aggregationFunctionalTerm, IQTree child, boolean hasGroupBy)
-
isRDFFunctionalTerm
protected boolean isRDFFunctionalTerm(ImmutableTerm term)
-
extractRDFTermTypeTerm
protected ImmutableTerm extractRDFTermTypeTerm(ImmutableTerm rdfTerm)
-
-