Package org.apache.pulsar.functions.api
Interface WindowFunction<X,T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This is the interface of the windowed function api. The process method is called
for every triggered window.
-
Method Summary
Modifier and TypeMethodDescriptionprocess
(Collection<Record<X>> input, WindowContext context) Process the input.
-
Method Details
-
process
Process the input.- Returns:
- the output
- Throws:
Exception
-