Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# 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.

Figure 64: Temporal Functions Parameters

All temporal functions include these parameters, illustrated in Temporal Functions and Their Parameters:

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.

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.