As you have without a doubt realized, time is an essential part of CQL. It dictates how the streams are computed, how the windows behave, and ultimately the continuous nature of Oracle CEP.
Oracle CEP supports two different timing models:
System time-stamped streams
Application time-stamped streams
In system time-stamped streams, the system automatically timestamps the events as the events arrive. The CQL processor does this as events arrive from upstream channels. This is the default modus operandi. In this mode, time is measured in nanoseconds.
In application time-stamped streams, it is the responsibility of the application to provide a timestamp. Placing the timestamp in an event property does this. In this mode, it is up to the application to define how time progresses, and time is measured in application time ticks. An application could determine that every one hour of wall-clock time equals to one application time tick, and so on. For example, consider an event whose ts
property...