Using the Partitioned Window Operator
See Also
The Partitioned Window operator converts an input stream to a relation based on one or more attributes that serve as the partition key.
Assume that you have the following scenario:
- The input stream contains census data.
- You select the LastName attribute.
- You set the number of events to 2.
Each relation will consist of the last two events that contain the LastName attribute.
The input to the Partitioned Window operator is a stream.
The output from the Partitioned Window operator is a relation.
To use the Partitioned Window operator:
- Drag a Partitioned Window operator from the Palette to the Design view.
- Connect the output of an operator that has stream output to the input of the Partitioned Window operator.
- Double-click the Partitioned Window operator. The property editor opens. The attributes of the input schema are displayed in read-only mode.
- In the Size field, specify the number of events.
- In the Partition Key column, select one or more attributes.
- (Optional) Click the Documentation tab and supply notes on this component.
- Click OK.
- See Also
-
- Using the Attribute Based Window Operator
- Using the Time Based Window Operator
- Using the Tuple Based Window Operator
-
Legal Notices