Class AddWindowFunction
- java.lang.Object
-
- org.apache.pulsar.functions.api.examples.AddWindowFunction
-
- All Implemented Interfaces:
java.util.function.Function<java.util.Collection<java.lang.Integer>,java.lang.Integer>
public class AddWindowFunction extends java.lang.Object implements java.util.function.Function<java.util.Collection<java.lang.Integer>,java.lang.Integer>Example Function that acts on a window of tuples at a time rather than per tuple basis.
-
-
Constructor Summary
Constructors Constructor Description AddWindowFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Integerapply(java.util.Collection<java.lang.Integer> integers)
-