getSparseReactiveMetrics
Syntax
getSparseReactiveMetrics(name)
Details
Retrieves the currently configured sparse state computation rules table of the specified SparseReactiveStateEngine.
Parameters
name is a STRING scalar indicating the name of the SparseReactiveStateEngine.
Returns
Returns a table (the metrics table) with columns keyColumn(s), formula,
outputMetricKey, representing the existing rules of the engine.
Examples
getSparseReactiveMetrics("demoengine")
| deviceID | formula | outputMetricKey |
|---|---|---|
| A001 | mavg(value,3) | A001_1 |
| A002 | mmax(value,3)-mmin(value,3) | A002_1 |
| A002 | msum(value,3) | A002_2 |
Related functions: createSparseReactiveStateEngine, addSparseReactiveMetrics, deleteSparseReactiveMetric
