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 ()
-
description
- fMin float ()
-
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:EXPIRED
orstreams:RESET
.
-
Return Type
(anydata) Updated minimum value.
Returns a copy of the MinForever
aggregator.
-
Return Type
(Aggregator) A
Aggregator
object which representsMinForever
aggregator.
Return current state to be saved as a map of any
typed values.
-
Return Type
(map) A map of
any
typed values.