Temporal Functions and Their Parameters
The set of Standard functions that come with TIBCO BusinessEvents includes functions that allow you to perform calculations on numeric values sampled over time.
These functions are called temporal functions and they work exclusively with concept properties that store numeric values. Temporal functions make use of the history ring buffer to sample a property’s values over time.
Note: Use of a temporal function with a concept that has a history size of 0 may cause a runtime exception.
All temporal functions include these parameters, illustrated in Temporal Functions Parameters:
- stime
- The time from which you want to begin sampling values (the start time) measured in milliseconds since 00:00:00 UTC on January 1, 1970.
- etime
- The time at which you want to stop sampling values (the end time) measured in milliseconds since 00:00:00 UTC on January 1, 1970.
- bound_by_stime
- A flag indicating whether the start-time is flexible:
- True indicates that if the start time you provide is earlier than the timestamp for the oldest available value, you want to perform the calculation starting with the oldest available value.
- False indicates that if the start time you provide is earlier than the timestamp for the oldest available value, you want to abort the calculation.
Copyright © TIBCO Software Inc. All rights reserved.