getSparseReactiveMetrics
Syntax
getSparseReactiveMetrics(engine)
Details
Retrieves the currently configured sparse stateful computation metrics table of the specified SparseReactiveStateEngine.
Parameters
engine is a STRING scalar or an object, specifying the sparse reactive stateful engine.
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
