Object -
streams
:
MinForever
The aggregator to keep the minimum value received so far. It is similar to Min aggregator, but it keeps the minimum
value it received so far, forever.
Methods
Updates the current minimum value and return the updated minimum value.
Returns a copy of the MinForever aggregator.
Return current state to be saved as a map of any typed values.
Restores the saved state which is passed as a map of any typed values.
Fields
- iMin int? (default ())
-
description
- fMin float? (default ())
-
description
Updates the current minimum value and return the updated minimum value.
Parameters
- value anydata
-
Value being checked whether it is lesser than the current minimum value.
- eventType EventType
-
Type of the incoming event
streams:CURRENT,streams:EXPIREDorstreams:RESET.
-
Return Type
(anydata) Updated minimum value.
Returns a copy of the MinForever aggregator.
-
Return Type
(Aggregator) A
Aggregatorobject which representsMinForeveraggregator.
Return current state to be saved as a map of any typed values.
-
Return Type
(map) A map of
anytyped values.