Class Window

All Implemented Interfaces:
Cloneable, RelOptNode, RelNode
Direct Known Subclasses:
Bindables.BindableWindow, EnumerableWindow, LogicalWindow

public abstract class Window
extends SingleRel
A relational expression representing a set of window aggregates.

A Window can handle several window aggregate functions, over several partitions, with pre- and post-expressions, and an optional post-filter. Each of the partitions is defined by a partition key (zero or more columns) and a range (logical or physical). The partitions expect the data to be sorted correctly on input to the relational expression.

Each Window.Group has a set of RexOver objects.

Created by ProjectToWindowRule.