Class BeamBasicAggregationRule

java.lang.Object
org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptRule
org.apache.beam.sdk.extensions.sql.impl.rule.BeamBasicAggregationRule

public class BeamBasicAggregationRule extends org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptRule
Aggregation rule that doesn't include projection.

Doesn't support windowing, as we extract window information from projection node.

BeamAggregationRule supports projection and windowing.

  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptRule

    org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptRule.ConverterRelOptRuleOperand
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     

    Fields inherited from class org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptRule

    description, operands, relBuilderFactory
  • Constructor Summary

    Constructors
    Constructor
    Description
    BeamBasicAggregationRule(Class<? extends org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.core.Aggregate> aggregateClass, org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.tools.RelBuilderFactory relBuilderFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onMatch(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptRuleCall call)
     

    Methods inherited from class org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptRule

    any, convert, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, matches, none, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unordered

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • BeamBasicAggregationRule

      public BeamBasicAggregationRule(Class<? extends org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.core.Aggregate> aggregateClass, org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.tools.RelBuilderFactory relBuilderFactory)
  • Method Details

    • onMatch

      public void onMatch(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptRuleCall call)
      Specified by:
      onMatch in class org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptRule