Class AddWindowFunction
java.lang.Object
org.apache.pulsar.functions.api.examples.AddWindowFunction
- All Implemented Interfaces:
Function<Collection<Integer>,Integer>
Example Function that acts on a window of tuples at a time rather than per tuple basis.
-
Constructor Details
-
AddWindowFunction
public AddWindowFunction()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<Collection<Integer>,Integer>
-