Designing Intelligent Event Processor (IEP) Projects

Partitioned Window

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:

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.

ProcedureTo Create a Partitioned Window Operator

  1. Drag a Partitioned Window operator from the Palette to the Design View.

  2. Connect the output of an operator that has stream output to the input of the Partitioned Window operator.

  3. Double-click the Partitioned Window operator.

    The property editor opens. The attributes of the input schema are displayed in read-only mode.

  4. In the Size field, specify the number of events.

  5. In the Partition Key column, select one or more attributes.

  6. (Optional) Click the Documentation tab and supply notes on this component.

  7. Click OK.