Class AggregationSplitterImpl.AggregationUnionLifterTransformer
- java.lang.Object
-
- it.unibz.inf.ontop.iq.transform.impl.DefaultRecursiveIQTreeVisitingTransformer
-
- it.unibz.inf.ontop.iq.optimizer.impl.AggregationSplitterImpl.AggregationUnionLifterTransformer
-
- All Implemented Interfaces:
IQTreeTransformer,IQTreeVisitingTransformer
- Enclosing class:
- AggregationSplitterImpl
protected static class AggregationSplitterImpl.AggregationUnionLifterTransformer extends DefaultRecursiveIQTreeVisitingTransformer
Assumes that the tree is normalized
-
-
Field Summary
-
Fields inherited from class it.unibz.inf.ontop.iq.transform.impl.DefaultRecursiveIQTreeVisitingTransformer
iqFactory
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAggregationUnionLifterTransformer(CoreSingletons coreSingletons, VariableGenerator variableGenerator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IQTreeliftUnion(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<IQTree>> groups, Optional<ConstructionNode> childConstructionNode, Optional<DistinctNode> distinctDescendantNode, Optional<ConstructionNode> subConstructionDescendantNode, AggregationNode initialAggregationNode, it.unibz.inf.ontop.com.google.common.collect.ImmutableMultiset<IQTree> unionChildren)IQTreetransformAggregation(IQTree tree, AggregationNode rootNode, IQTree child)-
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
-
AggregationUnionLifterTransformer
protected AggregationUnionLifterTransformer(CoreSingletons coreSingletons, VariableGenerator variableGenerator)
-
-
Method Detail
-
transformAggregation
public IQTree transformAggregation(IQTree tree, AggregationNode rootNode, IQTree child)
- Specified by:
transformAggregationin interfaceIQTreeVisitingTransformer- Overrides:
transformAggregationin classDefaultRecursiveIQTreeVisitingTransformer
-
liftUnion
protected IQTree liftUnion(it.unibz.inf.ontop.com.google.common.collect.ImmutableList<it.unibz.inf.ontop.com.google.common.collect.ImmutableSet<IQTree>> groups, Optional<ConstructionNode> childConstructionNode, Optional<DistinctNode> distinctDescendantNode, Optional<ConstructionNode> subConstructionDescendantNode, AggregationNode initialAggregationNode, it.unibz.inf.ontop.com.google.common.collect.ImmutableMultiset<IQTree> unionChildren)
-
-