static MutableAggregate of(MutableRel input, boolean indicator, ImmutableBitSet groupSet, ImmutableList<ImmutableBitSet> groupSets, List<AggregateCall> aggCalls) { RelDataType rowType = Aggregate.deriveRowType(input.cluster.getTypeFactory(), input.getRowType(), indicator, groupSet, groupSets, aggCalls); return new MutableAggregate(input, rowType, indicator, groupSet, groupSets, aggCalls); }
/** * Creates a MutableAggregate. * * @param input Input relational expression * @param groupSet Bit set of grouping fields * @param groupSets List of all grouping sets; null for just {@code groupSet} * @param aggCalls Collection of calls to aggregate functions */ public static MutableAggregate of(MutableRel input, ImmutableBitSet groupSet, ImmutableList<ImmutableBitSet> groupSets, List<AggregateCall> aggCalls) { RelDataType rowType = Aggregate.deriveRowType(input.cluster.getTypeFactory(), input.rowType, false, groupSet, groupSets, aggCalls); return new MutableAggregate(input, rowType, groupSet, groupSets, aggCalls); }
/** * Creates a MutableAggregate. * * @param input Input relational expression * @param groupSet Bit set of grouping fields * @param groupSets List of all grouping sets; null for just {@code groupSet} * @param aggCalls Collection of calls to aggregate functions */ public static MutableAggregate of(MutableRel input, ImmutableBitSet groupSet, ImmutableList<ImmutableBitSet> groupSets, List<AggregateCall> aggCalls) { RelDataType rowType = Aggregate.deriveRowType(input.cluster.getTypeFactory(), input.rowType, false, groupSet, groupSets, aggCalls); return new MutableAggregate(input, rowType, groupSet, groupSets, aggCalls); }
protected RelDataType deriveRowType() { return deriveRowType(getCluster().getTypeFactory(), getInput().getRowType(), indicator, groupSet, groupSets, aggCalls); }
protected RelDataType deriveRowType() { return deriveRowType(getCluster().getTypeFactory(), getInput().getRowType(), indicator, groupSet, groupSets, aggCalls); }