Operators

Operators are the fundamental building blocks of stream applications. Typically, operators process tuples in incoming streams and produce output streams as a result.

Operators consume and produce streams through ports. Input ports consume one or more streams, whereas output ports produce a stream. Additionally, an operator may have any number of input and output ports.

An operator processes data from an input port in one of the following ways:

  • As each tuple is received
  • When a window is ready