public class BeamAggregateProjectMergeRule
extends org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.rules.AggregateProjectMergeRule
AggregateProjectMergeRule
. In the
case when an underlying IO supports project push-down it is more efficient to not merge Project
with an Aggregate
, leaving it for the BeamIOPUshDownRule
.org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.rules.AggregateProjectMergeRule.Config
org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelRule.Done, org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelRule.MatchHandler<R extends 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.RelRule.OperandBuilder, org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelRule.OperandDetailBuilder<R extends org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.RelNode>, org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelRule.OperandTransform
Modifier and Type | Field and Description |
---|---|
static org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.rules.AggregateProjectMergeRule |
INSTANCE |
Constructor and Description |
---|
BeamAggregateProjectMergeRule(java.lang.Class<? extends org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.core.Aggregate> aggregateClass,
java.lang.Class<? extends org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.core.Project> projectClass,
org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.tools.RelBuilderFactory relBuilderFactory) |
Modifier and Type | Method and Description |
---|---|
void |
onMatch(org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.plan.RelOptRuleCall call) |
apply
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
public static final org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.rules.AggregateProjectMergeRule INSTANCE
public BeamAggregateProjectMergeRule(java.lang.Class<? extends org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.core.Aggregate> aggregateClass, java.lang.Class<? extends org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.rel.core.Project> projectClass, org.apache.beam.vendor.calcite.v1_28_0.org.apache.calcite.tools.RelBuilderFactory relBuilderFactory)