Operator naming conventions
Operators perform a specific, limited function and are available for programmer use in the toolkits. Along with streams, operators are the most fundamental concept in the Streams Processing Language (SPL).
For naming operators, use the following conventions:
- Operator names use a camel case convention with the first character in uppercase (FileSource).
- Operator names are typically a verb or a noun that characterize the transformation that is made by the operator, such as Filter, Sort, and Delay.
- Operator names can show specialization: they are used in the same circumstance, but they differ in how they accomplish it. For example, operators that end in Source fundamentally accomplish the same task of producing tuples from an external source. The TCPSource operator produces tuples from a TCP socket. The UDPSource operator produces tuples from a UDP socket. The FileSource operator produces tuples from a file.