Accumulate
- Once we have the game events in Niagara, we select the “interesting”subset and update the current state of each league.
- The interesting events may well vary between leagues but usually include statistics like hits for batters, or games won for pitchers.
- A leagues’ state is updated for each event using the accumulate operator.
- Accumulate is a version of Kristin’s incredibly handy Merge operator!