Package org.apache.kafka.streams.kstream
Interface Initializer<VAgg>
- Type Parameters:
VAgg- aggregate value type
public interface Initializer<VAgg>
The
Initializer interface for creating an initial value in aggregations.
Initializer is used in combination with Aggregator.- See Also:
-
Method Summary
-
Method Details
-
apply
VAgg apply()Return the initial value for an aggregation.- Returns:
- the initial value for an aggregation
-