Class SlidingNumberAggregator
java.lang.Object
com.fluxtion.ext.streaming.api.window.SlidingNumberAggregator
public class SlidingNumberAggregator extends java.lang.Object implements Wrapper<java.lang.Number>
- Author:
- Greg Higgins [email protected]
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.fluxtion.ext.streaming.api.Stateful
Stateful.StatefulNumber<S>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description SlidingNumberAggregator()
-
Method Summary
Modifier and Type Method Description void
aggregate()
java.lang.Number
event()
The wrapped nodejava.lang.Class<java.lang.Number>
eventClass()
The type of the wrapped nodevoid
init()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.fluxtion.ext.streaming.api.Stateful
combine, deduct, setBucketCount
Methods inherited from interface com.fluxtion.ext.streaming.api.Wrapper
arg, arg, collect, console, defaultVal, filter, filter, forEach, forEach, get, group, group, id, isValidOnStart, map, map, map, map, map, map, map, map, map, map, notiferMerge, notifierOverride, notifyOnChange, publishAndReset, push, push, reset, resetAndPublish, resetNoPublish, validOnStart
-
Constructor Details
-
SlidingNumberAggregator
public SlidingNumberAggregator()
-
-
Method Details
-
aggregate
public void aggregate() -
event
public java.lang.Number event()Description copied from interface:Wrapper
The wrapped node -
eventClass
public java.lang.Class<java.lang.Number> eventClass()Description copied from interface:Wrapper
The type of the wrapped node- Specified by:
eventClass
in interfaceWrapper<java.lang.Number>
- Returns:
- wrapped node class
-
init
public void init()
-