Param clause
The param
clause contains code snippets
that are supplied to the operator at invocation time.
For example, the clause
param match: Bid.item
== Ask.item && Bid.price >= Ask.price;
supplies a Boolean
expression as the match
parameter to an operator,
such as Join
. At run time, the operator executes
the expression whenever needed for its behavior. For each time the
operator fires, the expression might execute zero, one, or multiple times; depending
on the operator. But if it executes, it executes after the logic clause
and before the output clause. Expressions are just one of a total
of five kinds of parameter: - A comma-separated list of stream attribute names
- A comma-separated list of expressions
- A function name
- An operator name
- A type