Analytics Builder 10.9.0 | Using Analytics Builder for Cumulocity IoT | Block Reference | Aggregate | Counter
 
Counter
apama.analyticskit.blocks.core.Counter
Gives a count of the total inputs and repeated inputs.
If two consecutive input values have different types, they will not be evaluated as repeat values. All other evaluations for if two values are equal to each other follow the same rules as EPL. For more information, see the following section in the Apama documentation: Developing Apama Applications > EPL Reference > Types.
Input Port Details
Name
Description
Type
Value
The input to be counted.
any
Reset
Reset the counters.
boolean
Output Port Details
Name
Description
Type
Count
The total count of all the inputs.
float
Number Same
The current count of repeated inputs with the same value.
On a change of value, this is reset to one.
float