Designing Intelligent Event Processor (IEP) Projects

Time Based Window

The Time Based Window operator converts an input stream to a relation based on a specified period of time.

Assume that you set the period of time to five seconds. Each relation will consist of all events that arrived in the last five seconds.

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

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

You can combine the Time Based Window operator with a subsequent Relation Output operator to provide a timestamp record for the records retained.

ProcedureTo Create a Time Based Window Operator

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

  3. Double-click the Time Based Window operator.

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

  4. In the Size field and drop-down menu, specify the period of time.

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

  6. Click OK.