Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 18 Functions : Temporal Functions and Their Parameters

Temporal Functions and Their Parameters
The set of Built-In > 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.
Figure 4 Temporal Functions Parameters
All temporal functions include these parameters, illustrated in Figure 4:
property — The property for which you want to sample values.
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.
sample_rate — The number of milliseconds between samples.
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
Copyright © TIBCO Software Inc. All Rights Reserved