oldAggCall.adaptTo(newProject, aggArgs, filterArg, oldGroupKeyCount, newGroupKeyCount));
oldAggCall.adaptTo(newProject, aggArgs, filterArg, oldGroupKeyCount, newGroupKeyCount));
oldAggCall.adaptTo(newProject, aggArgs, filterArg, oldGroupKeyCount, newGroupKeyCount));
oldAggCall.adaptTo(newProject, aggArgs, filterArg, oldGroupKeyCount, newGroupKeyCount));
: aggCall.filterArg + groupCount; newAggCalls.add( aggCall.adaptTo(joinOutputProject, argList, filterArg, aggregate.getGroupCount(), groupCount));
: aggCall.filterArg + groupCount; newAggCalls.add( aggCall.adaptTo(joinOutputProject, argList, filterArg, aggregate.getGroupCount(), groupCount));
oldAggCall.adaptTo( newProject, aggArgs, filterArg, oldGroupKeyCount, newGroupKeyCount));
oldAggCall.adaptTo(newProject, aggArgs, filterArg, oldGroupKeyCount, newGroupKeyCount));
oldAggCall.adaptTo(newProject, aggArgs, filterArg, oldGroupKeyCount, newGroupKeyCount));
oldAggCall.adaptTo(newProject, aggArgs, filterArg, oldGroupKeyCount, newGroupKeyCount));
for (AggregateCall aggCall : aggregate.getAggCallList()) { newAggCalls.add( aggCall.adaptTo(input, aggCall.getArgList(), aggCall.filterArg, groupCount, newGroupCount));
for (AggregateCall aggCall : aggregate.getAggCallList()) { newAggCalls.add( aggCall.adaptTo(input, aggCall.getArgList(), aggCall.filterArg, groupCount, newGroupCount));
if (!aggCall.left.isDistinct()) { AggregateCall newAggCall = aggCall.left.adaptTo(aggregate.getInput(), aggCall.left.getArgList(), aggCall.left.filterArg, aggregate.getGroupCount(), fullGroupSet.cardinality());
if (!aggCall.left.isDistinct()) { AggregateCall newAggCall = aggCall.left.adaptTo(aggregate.getInput(), aggCall.left.getArgList(), aggCall.left.filterArg, aggregate.getGroupCount(), fullGroupSet.cardinality());
: aggCall.filterArg + groupCount; newAggCalls.add( aggCall.adaptTo(joinOutputProject, argList, filterArg, aggregate.getGroupCount(), groupCount));
: aggCall.filterArg + groupCount; newAggCalls.add( aggCall.adaptTo(joinOutputProject, argList, filterArg, aggregate.getGroupCount(), groupCount));
for (Pair<AggregateCall, String> aggCall : aggregate.getNamedAggCalls()) { if (!aggCall.left.isDistinct()) { AggregateCall newAggCall = aggCall.left.adaptTo( aggregate.getInput(), aggCall.left.getArgList(),
if (fieldSet.contains(ImmutableBitSet.of(aggCall.e.getArgList()))) { final AggregateCall splitCall = splitter.split(aggCall.e, mapping); call1 = splitCall.adaptTo(joinInput, splitCall.getArgList(), splitCall.filterArg, oldGroupKeyCount, newGroupKeyCount); } else {
if (fieldSet.contains(ImmutableBitSet.of(aggCall.e.getArgList()))) { final AggregateCall splitCall = splitter.split(aggCall.e, mapping); call1 = splitCall.adaptTo(joinInput, splitCall.getArgList(), splitCall.filterArg, oldGroupKeyCount, newGroupKeyCount); } else {
if (fieldSet.contains(ImmutableBitSet.of(aggCall.e.getArgList()))) { final AggregateCall splitCall = splitter.split(aggCall.e, mapping); call1 = splitCall.adaptTo( joinInput, splitCall.getArgList(), splitCall.filterArg, oldGroupKeyCount, newGroupKeyCount);