Namespace spl.eventtime
This namespace contains components for handling event-time data.
Event-time is a simple model which supports streams processing where time is not derived from the system time of the machine Streams is running on, but from a time value associated with each tuple.
By default this namespace is in scope for SPL programs, so no explicit use statement is required to use them.
Functions
- getEventTime(T): Get the event time of the specified tuple.
- int64TicksFromTimestamp(timestamp, Sys.Resolution): Convert an SPL timestamp to a number of time units at a specified resolution.
- intervalEnd(): Get the end of the current timeInterval window.
- intervalStart(): Get the start of the current timeInterval window.
- paneIndex(): Returns the zero-based index of the trigger firing for the current timeInterval window.
- paneTiming(): Retrieves the PaneTiming of the current timeInterval window trigger.
- toTimestamp(int64, Sys.Resolution): Construct an SPL timestamp from a number of time units with the specified resolution.
- toTimestamp(uint64, Sys.Resolution): Construct an SPL timestamp from a number of time units with the specified resolution.
- uint64TicksFromTimestamp(timestamp, Sys.Resolution): Convert an SPL timestamp to a number of time units at a specified resolution.