Search in sources :

Example 1 with ExtractGroupByDecorVariablesRule

use of org.apache.hyracks.algebricks.rewriter.rules.ExtractGroupByDecorVariablesRule in project asterixdb by apache.

the class RuleCollections method buildInitialTranslationRuleCollection.

public static final List<IAlgebraicRewriteRule> buildInitialTranslationRuleCollection() {
    List<IAlgebraicRewriteRule> translationRules = new LinkedList<>();
    translationRules.add(new TranslateIntervalExpressionRule());
    translationRules.add(new ExtractGroupByDecorVariablesRule());
    return translationRules;
}
Also used : ExtractGroupByDecorVariablesRule(org.apache.hyracks.algebricks.rewriter.rules.ExtractGroupByDecorVariablesRule) IAlgebraicRewriteRule(org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRule) TranslateIntervalExpressionRule(org.apache.asterix.optimizer.rules.temporal.TranslateIntervalExpressionRule) LinkedList(java.util.LinkedList)

Aggregations

LinkedList (java.util.LinkedList)1 TranslateIntervalExpressionRule (org.apache.asterix.optimizer.rules.temporal.TranslateIntervalExpressionRule)1 IAlgebraicRewriteRule (org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRule)1 ExtractGroupByDecorVariablesRule (org.apache.hyracks.algebricks.rewriter.rules.ExtractGroupByDecorVariablesRule)1