Designing Intelligent Event Processor (IEP) Projects

Tuple Based Window

The Tuple Based Window operator converts an input stream to a relation based on a specified number of events.

Assume that you set the number of events to two. Each relation will consist of the most recent two events.

The input to the Tuple Based Window operator is a stream.

The output from the Tuple Based Window operator is a relation.

ProcedureTo Create a Tuple Based Window Operator

  1. Drag a Tuple Based 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 Tuple Based Window operator.

  3. Double-click the Tuple Based 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. (Optional) Click the Documentation tab and supply notes on this component.

  6. Click OK.