public abstract class AggPruleBase extends Prule
| Modifier | Constructor and Description |
|---|---|
protected |
AggPruleBase(org.apache.calcite.plan.RelOptRuleOperand operand,
String description) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
create2PhasePlan(org.apache.calcite.plan.RelOptRuleCall call,
DrillAggregateRel aggregate) |
protected List<DrillDistributionTrait.DistributionField> |
getDistributionField(DrillAggregateRel rel,
boolean allFields) |
static org.apache.calcite.util.ImmutableBitSet |
remapGroupSet(org.apache.calcite.util.ImmutableBitSet groupSet)
Returns group-by keys with the remapped arguments for specified aggregate.
|
convert, isSingleModeany, convert, convertList, convertOperand, convertOperand, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, matches, none, onMatch, operand, operand, operand, operand, operand, operandJ, operandJ, some, toString, unorderedprotected AggPruleBase(org.apache.calcite.plan.RelOptRuleOperand operand,
String description)
protected List<DrillDistributionTrait.DistributionField> getDistributionField(DrillAggregateRel rel, boolean allFields)
protected boolean create2PhasePlan(org.apache.calcite.plan.RelOptRuleCall call,
DrillAggregateRel aggregate)
public static org.apache.calcite.util.ImmutableBitSet remapGroupSet(org.apache.calcite.util.ImmutableBitSet groupSet)
groupSet - ImmutableBitSet of aggregate rel node, whose group-by keys should be remapped.ImmutableBitSet instance with remapped keys.Copyright © 2021 The Apache Software Foundation. All rights reserved.