- TIBCO BusinessEvents®
- Standard
- Temporal
- Statistic

# Temporal.Statistic

## Description

Numeric Temporal Functions

## Functions

Name | Signature and Synopsis
--- | ---
`avgOverTimeDouble` | `double avgOverTimeDouble(PropertyAtomDouble pad, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method calculates the average of samples of the property over a given time interval[stime, etime], all the times are in (milliseconds).
`avgOverTimeInt` | `double avgOverTimeInt(PropertyAtomInt pai, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method calculates the average of samples of the property over a given time interval[stime, etime], all the times are in (milliseconds).
`avgOverTimeLong` | `double avgOverTimeLong(PropertyAtomLong pal, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method calculates the average of samples of the property over a given time interval[stime, etime], all the times are in (milliseconds).
`maxOverTimeDouble` | `double maxOverTimeDouble(PropertyAtomDouble pad, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method returns the maximum value of samples of a PropertyAtomInt over a given time interval[stime, etime], all the times are in (milliseconds).
`maxOverTimeInt` | `int maxOverTimeInt(PropertyAtomInt pai, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method returns the maximum value of samples of a PropertyAtomInt over a given time interval[stime, etime], all the times are in (milliseconds).
`maxOverTimeLong` | `long maxOverTimeLong(PropertyAtomLong pal, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method returns the maximum value of samples of a PropertyAtomInt over a given time interval[stime, etime], all the times are in (milliseconds).
`minOverTimeDouble` | `double minOverTimeDouble(PropertyAtomDouble pad, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method returns the maximum value of samples of a PropertyAtomDouble over a given time interval[stime, etime], all the times are in (milliseconds).
`minOverTimeInt` | `int minOverTimeInt(PropertyAtomInt pai, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method returns the minimum value of samples of a PropertyAtomInt over a given time interval[stime, etime], all the times are in (milliseconds).
`minOverTimeLong` | `long minOverTimeLong(PropertyAtomLong pal, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method returns the minimum value of samples of a PropertyAtomLong over a given time interval[stime, etime], all the times are in (milliseconds).
`numMatchOverLast` | `int numMatchOverLast(PropertyAtom pa, Object matchValue, int last_n_times)` This method counts the number of object which match a specified value over the last n history entries.
`numMatchSince` | `int numMatchSince(PropertyAtom pa, Object matchValue, long time)` This method counts the number of object which match a specified value since the specified time.
`sumDouble` | `double sumDouble(PropertyAtomDouble pad, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method returns the sum of samples of the history of a property atom over a given time interval [stime, etime], all the times are in (milliseconds).
`sumInt` | `int sumInt(PropertyAtomInt pai, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method returns the sum of samples of the history of a property atom over a given time interval [stime, etime], all the times are in (milliseconds).
`sumLong` | `long sumLong(PropertyAtomLong pal, long stime, long etime, int sample_interval, boolean bound_by_stime)` This method returns the sum of samples of the history of a property atom over a given time interval [stime, etime] all the times are in (milliseconds).