Package | Description |
---|---|
org.apache.storm.streams | |
org.apache.storm.streams.processors |
Modifier and Type | Method and Description |
---|---|
Stream<T> |
Stream.reduce(Reducer<T> reducer)
Performs a reduction on the elements of this stream, by repeatedly applying the reducer.
|
PairStream<K,V> |
PairStream.reduceByKey(Reducer<V> reducer)
Performs a reduction on the values for each key of this stream by repeatedly applying the reducer.
|
PairStream<K,V> |
PairStream.reduceByKeyAndWindow(Reducer<V> reducer,
Window<?,?> window)
Returns a new stream where the values that arrive within a window having the same key will be reduced by repeatedly applying the
reducer.
|
Constructor and Description |
---|
ReduceByKeyProcessor(Reducer<V> reducer) |
ReduceProcessor(Reducer<T> reducer) |
Copyright © 2023 The Apache Software Foundation. All rights reserved.