Search in sources :

Example 1 with InlineUnnestFunctionRule

use of org.apache.asterix.optimizer.rules.InlineUnnestFunctionRule in project asterixdb by apache.

the class RuleCollections method buildTypeInferenceRuleCollection.

public static final List<IAlgebraicRewriteRule> buildTypeInferenceRuleCollection() {
    List<IAlgebraicRewriteRule> typeInfer = new LinkedList<>();
    typeInfer.add(new InlineUnnestFunctionRule());
    typeInfer.add(new InferTypesRule());
    typeInfer.add(new CheckFilterExpressionTypeRule());
    return typeInfer;
}
Also used : InlineUnnestFunctionRule(org.apache.asterix.optimizer.rules.InlineUnnestFunctionRule) InferTypesRule(org.apache.hyracks.algebricks.rewriter.rules.InferTypesRule) IAlgebraicRewriteRule(org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRule) CheckFilterExpressionTypeRule(org.apache.asterix.optimizer.rules.CheckFilterExpressionTypeRule) LinkedList(java.util.LinkedList)

Aggregations

LinkedList (java.util.LinkedList)1 CheckFilterExpressionTypeRule (org.apache.asterix.optimizer.rules.CheckFilterExpressionTypeRule)1 InlineUnnestFunctionRule (org.apache.asterix.optimizer.rules.InlineUnnestFunctionRule)1 IAlgebraicRewriteRule (org.apache.hyracks.algebricks.core.rewriter.base.IAlgebraicRewriteRule)1 InferTypesRule (org.apache.hyracks.algebricks.rewriter.rules.InferTypesRule)1