protected RelNode makeRel(RelOptCluster cluster, RelTraitSet traitSet, RelBuilder relBuilder, RelNode input, RexProgram program) { Preconditions.checkArgument(program.getCondition() == null, "WindowedAggregateRel cannot accept a condition"); return LogicalWindow.create(cluster, traitSet, relBuilder, input, program); } }
protected RelNode makeRel(RelOptCluster cluster, RelTraitSet traitSet, RelBuilder relBuilder, RelNode input, RexProgram program) { Preconditions.checkArgument(program.getCondition() == null, "WindowedAggregateRel cannot accept a condition"); return LogicalWindow.create(cluster, traitSet, relBuilder, input, program); } }
LogicalWindow.create(traitSet, child, constants, intermediateRowType, groups);
LogicalWindow.create(traitSet, child, constants, intermediateRowType, groups);
LogicalWindow.create(window.getTraitSet(), projectBelowWindow, window.constants, outputBuilder.build(), groups);
LogicalWindow.create(window.getTraitSet(), projectBelowWindow, window.constants, outputBuilder.build(), groups);
final LogicalWindow newWindow = LogicalWindow.create(window.getTraitSet(), newInput, newConstants, newRowType, newGroups); return result(newWindow, mapping);
final MutableWindow window = (MutableWindow) node; final RelNode child = fromMutable(window.getInput(), relBuilder); return LogicalWindow.create(child.getTraitSet(), child, window.constants, window.rowType, window.groups);
final MutableWindow window = (MutableWindow) node; final RelNode child = fromMutable(window.getInput(), relBuilder); return LogicalWindow.create(child.getTraitSet(), child, window.constants, window.rowType, window.groups);