public abstract class ProjectToWindowRule extends RelOptRule
Project
into sections which contain windowed
aggregate functions and sections which do not.
The sections which contain windowed agg functions become instances of
LogicalWindow.
If the LogicalCalc does not contain
any windowed agg functions, does nothing.
There is also a variant that matches
Calc rather than Project.
| Modifier and Type | Field and Description |
|---|---|
static ProjectToWindowRule |
INSTANCE
Instance of the rule that applies to a
Calc that contains
windowed aggregates and converts it into a mixture of
LogicalWindow and Calc. |
static ProjectToWindowRule |
PROJECT
Instance of the rule that can be applied to a
Project and that produces, in turn,
a mixture of LogicalProject
and LogicalWindow. |
description, operandsany, convert, convert, convertList, equals, equals, getOperand, getOperands, getOutConvention, getOutTrait, hashCode, matches, none, onMatch, operand, operand, operand, operand, operand, some, toString, unorderedpublic static final ProjectToWindowRule INSTANCE
Calc that contains
windowed aggregates and converts it into a mixture of
LogicalWindow and Calc.public static final ProjectToWindowRule PROJECT
Project and that produces, in turn,
a mixture of LogicalProject
and LogicalWindow.Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.