Class KStreamWindowAggregate<K,V,Agg,W extends Window>
- java.lang.Object
-
- org.apache.kafka.streams.kstream.internals.KStreamWindowAggregate<K,V,Agg,W>
-
- All Implemented Interfaces:
KStreamAggProcessorSupplier<K,Windowed<K>,V,Agg>
,ConnectedStoreProvider
,ProcessorSupplier<K,V>
public class KStreamWindowAggregate<K,V,Agg,W extends Window> extends Object implements KStreamAggProcessorSupplier<K,Windowed<K>,V,Agg>
-
-
Constructor Summary
Constructors Constructor Description KStreamWindowAggregate(Windows<W> windows, String storeName, Initializer<Agg> initializer, Aggregator<? super K,? super V,Agg> aggregator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enableSendingOldValues()
Processor<K,V>
get()
Return a newProcessor
instance.KTableValueGetterSupplier<Windowed<K>,Agg>
view()
Windows<W>
windows()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.kafka.streams.processor.ConnectedStoreProvider
stores
-
-
-
-
Constructor Detail
-
KStreamWindowAggregate
public KStreamWindowAggregate(Windows<W> windows, String storeName, Initializer<Agg> initializer, Aggregator<? super K,? super V,Agg> aggregator)
-
-
Method Detail
-
get
public Processor<K,V> get()
Description copied from interface:ProcessorSupplier
Return a newProcessor
instance.- Specified by:
get
in interfaceProcessorSupplier<K,V>
- Returns:
- a new
Processor
instance
-
enableSendingOldValues
public void enableSendingOldValues()
- Specified by:
enableSendingOldValues
in interfaceKStreamAggProcessorSupplier<K,V,Agg,W extends Window>
-
-