Sybase CEP Engine will retain rows in order to perform calculations or comparisons across these rows.
Getting Started: Maintaining State
Maintaining state enables you to perform aggergate calculations. There are four ways to maintain the state in the Sybase CEP Engine.
Maintaining State
Perform calculations or comparisons across rows. Replace the CCL statements that filter rows with statements that create a window.